Install
$ agentstack add mcp-ronanathebanana-claude-linear-gh-starter ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
⚡ Linear × Claude × GitHub
🔗 Linear + GitHub + Claude Workflow
Just say "Let's get to work on DEV-123" and watch the magic happen ✨
Issues are friends, not food. 🐟
[](https://claude.ai) [](https://linear.app) [](https://github.com)
📖 Overview
Just talk to Claude. Everything else happens automatically.
Say "Let's get to work on DEV-123" and watch Claude:
- 📡 Fetch the issue from Linear
- 📝 Analyze requirements and create a task breakdown
- 💬 Post the analysis back to Linear (your team sees it immediately)
- 🌿 Create a feature branch
- ✍️ Make an initial commit
- 🚀 Push to GitHub and update Linear status
Then keep coding. As you push commits, merge PRs, and deploy to production, Linear updates automatically. No clicking, no context switching, no "did you update the ticket?" Slack pings.
This is a 2-way integration: Claude reads from Linear (via MCP), creates task analysis locally, and posts back to Linear. Your team sees Claude's work. GitHub Actions handle status updates automatically as code moves through your workflow (optional - you can use Claude commands without GitHub Actions).
The setup wizard walks you through a 15-minute installation that configures everything: Linear MCP integration (OAuth-based, no API key required!), optional GitHub Actions workflows, commit message validation, auto-assignment rules, and team configuration. Choose from pre-built profiles (Startup, Small Team, Enterprise) or customize every detail to match your workflow.
Perfect for teams who:
- Want to ship code, not update tickets
- Need workflow automation without the complexity
- Use Linear for issue tracking and GitHub for code
- Want AI-powered task analysis and summaries
[🚀 Quick Start](#-quick-start) • [⚡ Commands](COMMAND-CHEATSHEET.md) • [✨ Features](#-key-features) • [📖 Documentation](docs/) • [💬 Support](#-support)
✨ Key Features
💬 Conversational Workflow
- 🗣️ Natural Commands — Just say "Let's get to work on DEV-123"
- 📡 2-Way Sync — Claude reads from Linear, posts analysis back
- 🤖 AI Task Analysis — Detailed breakdowns posted to Linear automatically
- 🌿 Auto Branch Creation — Feature branches with proper naming
- ⚡ Zero Manual Work — No clicking, no context switching
- 🔐 MCP-First — OAuth-based setup, no API key creation required!
🔄 Automated Updates
- ✅ Auto Status Sync — Issues flow through workflow as code moves
- 👥 Smart Assignment — Auto-assign reviewers, QA leads, stakeholders
- 🌿 Branch Detection — Monitors git activity and syncs with Linear
- 📋 Audit Trail — Complete history in Linear
- ⚙️ Flexible Setup — Use GitHub Actions or Claude commands only
⚡ Developer Experience
- ⏱️ 5-Minute Setup — Interactive wizard handles everything
- 🛡️ Pre-Flight Validation — Catches 95% of issues before install
- 🔒 Safe Installation — All changes on review branch first
- 🎨 Flexible Profiles — Startup, small team, or enterprise workflows
🔐 Security & Compliance
- 🔑 Secrets Management — API keys in GitHub Secrets, never in code
- 🛡️ Branch Protection — Works with protected branches
- 📚 Auto-Generated Docs — Complete workflow docs for your team
- ✅ Full Traceability — All updates logged and traceable
💡 Use Cases
| Team Type | Branch Strategy | Status Stages | Setup Time | |-----------|----------------|---------------|------------| | 🚀 Startup (1-3 devs) | main only | 2 statuses | ~2 min | | 👥 Small Team (3-10 devs) | main + staging | 4 statuses | ~4 min | | 🏢 Enterprise (10+ devs) | main + staging + prod | 4+ statuses | ~6 min |
🚀 Quick Start
Three commands. Five minutes. You're done.
# 1. Clone this repo
git clone https://github.com/ronanathebanana/claude-linear-gh-starter.git
# 2. Start Claude Code in the cloned repo
cd claude-linear-gh-starter && claude
# 3. Run the setup wizard
/setup-linear
The wizard asks where to install, then handles everything: environment checks, Linear connection, GitHub Actions setup, and team configuration. Test it with the generated issue, merge the branch, and you're live.
Need help? The wizard includes pre-flight checks and auto-fixes common issues. If something's missing (like GitHub CLI), it'll tell you exactly what to install.
🔄 Upgrading Existing Installation
Already using v1.0.0? Upgrade to v1.1.0 to get new features:
# Navigate to your project (where .linear-workflow.json exists)
cd your-project
# Start Claude Code
claude
# Re-run the setup wizard
/setup-linear
The wizard will detect your existing installation and offer to upgrade:
What's New in v1.1.0:
- ✨ Commit Reference Options — Choose Related/Closes/Fixes for commit messages
- ✨ Linear Magic Word Warnings — Detects conflicts with Linear automations
- ✨ Optional GitHub Actions — Use MCP-only workflow if preferred
- 🐛 Workflow Syntax Fix — Automatically fixes branches configuration bug
- 🔧 MCP-First Setup — No API key required during installation
Upgrade Process:
- Detects your v1.0.0 installation
- Shows changelog and what will change
- Creates backups automatically
- Adds new config fields with defaults
- Fixes workflow file syntax if needed
- Preserves all your existing settings
Safe & Non-Breaking: All changes are backed up, and your configuration is preserved.
⚡ Commands Reference
After setup, use 20 powerful slash commands or just talk naturally to Claude:
Quick Command Examples
Get help:
/linear-help # Show all available commands
Create issues (bottom-up workflow):
/bug-linear Login timeout too short
/feature-linear Add user profile page
/improvement-linear Optimize database queries
Start & manage work:
/start-issue DEV-123
/my-work-linear # See your active/paused/blocked issues
/team-work-linear # See team's work
/high-priority-linear # Show urgent items
When blocked or need help:
/feedback-linear Should this support mobile?
/get-feedback-linear # Check if questions answered
/blocked-linear Waiting for API deployment
/pause-linear End of day
Create relationships:
/create-blocker-linear Database indexes needed
/create-subtask-linear Add login form UI
Deliver work:
/progress-update
/create-pr
/create-release-approval v1.2.0 # Production release approval
Maintain & diagnose:
/workflow-status # Check workflow health
/cleanup-branches # Clean up merged/stale branches
Or Just Talk Naturally
"Let's get to work on DEV-123"
"What am I working on?"
"Show me high priority issues"
"I found a bug - mobile menu doesn't close"
"Create a blocker for this"
"Ready for review"
[→ Full Command Cheat Sheet](COMMAND-CHEATSHEET.md) - Complete guide with examples for all 21 commands
📋 Prerequisites
Before diving in, make sure you have:
Requirement Version Purpose
🔧 Git Latest Repository management
🐙 GitHub CLI Latest GitHub API access
📦 Node.js 16+ MCP server runtime
📊 Linear Account N/A Issue tracking (OAuth, no API key needed)
🏠 GitHub Repository N/A Code hosting
Quick Install:
# macOS
brew install gh node
# Linux (Debian/Ubuntu)
sudo apt install gh nodejs
# Windows
choco install gh nodejs
# Authenticate with GitHub
gh auth login
🔄 How It Works
The Magic: Just Talk to Claude
Instead of manually creating branches, writing analysis docs, and updating Linear, just say what you want to do:
┌─────────────────────────────────────────────────────────────┐
│ 💬 You: "Let's get to work on DEV-123" │
└─────────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────────┐
│ 🤖 Claude automatically: │
├─────────────────────────────────────────────────────────────┤
│ │
│ 1. 📡 Fetches issue from Linear (via MCP) │
│ "DEV-123: Add user authentication to dashboard" │
│ │
│ 2. 📝 Analyzes requirements & creates task document │
│ • Breaks down acceptance criteria │
│ • Identifies files to modify │
│ • Notes potential blockers │
│ • Saves to /docs/issues/DEV-123/ │
│ │
│ 3. 💬 Posts analysis back to Linear (2-way sync!) │
│ "Claude's Task Analysis: [summary]" │
│ ← Your team sees this in Linear immediately │
│ │
│ 4. 🌿 Creates feature branch │
│ feature/DEV-123-add-user-authentication │
│ │
│ 5. ✍️ Makes initial commit with issue reference │
│ "feat: Initialize user authentication │
│ │
│ Related: DEV-123" │
│ ← Git hook validates issue ID format │
│ │
│ 6. 🚀 Pushes to GitHub │
│ ← GitHub Actions updates Linear status to "In Progress" │
│ │
└─────────────────────────────────────────────────────────────┘
That's it. You're now working on the issue with:
- ✅ Full context from Linear
- ✅ Detailed task analysis document
- ✅ Feature branch created
- ✅ Initial commit made
- ✅ Linear updated and team notified
- ✅ Ready to start coding
The Automation: Status Updates Throughout Development
Once Claude sets you up, GitHub Actions keeps Linear in sync automatically as your code moves through the workflow:
🌿 Push to feature branch
↓
GitHub Actions → Linear status: "In Progress"
🔀 Merge PR to main
↓
GitHub Actions → Linear status: "Code Review"
Auto-assigns reviewer (if configured)
🧪 Merge to staging
↓
GitHub Actions → Linear status: "QA Testing"
Auto-assigns QA lead (if configured)
🚀 Deploy to production
↓
GitHub Actions → Linear status: "Done"
Your commit messages become your ticket updates. No clicking, no manual status changes, no context switching.
⚙️ Configuration
📊 Workflow Profiles
Choose from pre-configured profiles during setup:
🚀 Startup Profile
- Branches:
mainonly - Statuses: In Progress → Done
- Best for: Solo devs, rapid prototyping
- Setup time: ~2 minutes
👥 Small Team Profile
- Branches:
main+staging - Statuses: In Progress → Code Review → QA → Done
- Best for: Teams of 3-10 developers
- Setup time: ~4 minutes
🏢 Enterprise Profile
- Branches:
main+staging+prod - Statuses: Full workflow with gates
- Best for: Large teams, regulated industries
- Setup time: ~6 minutes
👥 Auto-Assignment
Configure automatic assignment when status changes:
{
"autoAssignment": {
"enabled": true,
"preserveOriginal": true,
"assignments": {
"reviewRequired": {
"userId": "reviewer-user-id",
"userName": "Joe Bloggs"
}
}
}
}
Benefits:
- ✅ Reviewers notified automatically when PR ready
- ✅ QA team alerted when code reaches staging
- ✅ Clear ownership at each stage
- ✅ Original assignee retained for visibility
📝 Commit Reference Options
Customize how Linear issues are referenced in commits:
{
"formats": {
"issueReference": "related",
"issueReferenceKeyword": "Related"
}
}
Available Options:
- Related: (Recommended) —
Related: DEV-123- Flexible, no automation conflicts - Closes: —
Closes: DEV-123- May trigger Linear magic word automations - Fixes: —
Fixes: DEV-123- May trigger Linear magic word automations
⚠️ Linear Magic Words: If you enable Linear's built-in automation for "Closes" or "Fixes", those keywords will trigger Linear's status updates in addition to GitHub Actions. The wizard detects this and warns you about potential conflicts. Use "Related:" to avoid conflicts and let GitHub Actions control all status updates.
🔧 Optional GitHub Actions
Choose whether to enable GitHub Actions automation:
{
"githubActions": {
"enabled": false,
"apiKeyConfigured": false
}
}
Two Modes:
- GitHub Actions Enabled — Automatic status updates on push/merge (requires LINEARAPIKEY)
- MCP-Only Mode — Use Claude commands for all updates (no API key needed)
Perfect for:
- Teams where not everyone can create Linear API keys
- Organizations with strict API key policies
- Users who prefer manual control via Claude commands
✅ Validation & Testing
The setup includes comprehensive validation:
🛡️ Pre-Flight Checks
- Environment validation before installation
- GitHub authentication scope verification
- Repository access confirmation
- Branch protection rule analysis
🧪 Installation Testing
- Commit message hook validation (7 automated tests)
- Linear API connectivity check
- GitHub Actions workflow syntax validation
- Repository permission verification
- Configuration file validation
🎯 Pattern Validation
- Issue ID patterns tested against actual Linear issues
- Auto-detection of team-specific formats
- Mismatch warnings with auto-fix suggestions
📚 Documentation
Complete guides available in /docs:
| 📖 Guide | Description | |-------|-------------| | [Prerequisites](docs/prerequisites.md) | System requirements and installation | | [Linear Setup](docs/linear-setup.md) | Workspace configuration and API access | | [GitHub Setup](docs/github-setup.md) | Repository secrets and permissions | | [MCP Setup](docs/mcp-setup.md) | Claude AI integration via MCP | | [Auto-Assignment](docs/auto-assignment.md) | Team member assignment configuration | | [Troubleshooting](docs/troubleshooting.md) | Common issues and solutions |
🔧 Troubleshooting
❌ Linear API Not Connecting
Symptoms: Status updates not appearing in Linear
Solutions:
# Verify API key exists
gh secret list | grep LINEAR_API_KEY
# Test connection
node install/scripts/validate-secrets.js
# Check workflow logs
gh run list --workflow=linear-status-update.yml
❌ GitHub Actions Not Running
Symptoms: Workflow doesn't trigger on push/merge
Solutions:
# Verify workflow file exists
ls .github/workflows/linear-status-update.yml
# Check recent runs
gh run list
# Validate workflow syntax
gh workflow list
❌ GitHub Actions Workflow Syntax Error
Symptoms: Error: "you may only define one of branches and branches-ignore for a single event"
Cause: v1.0.0 had a syntax bug in the workflow file
Solution:
# Upgrade to v1.1.0 (automatically fixes the bug)
cd your-project && claude
/setup-linear # Select "Upgrade to latest version"
# Or manually fix in .github/workflows/linear-status-update.yml:
# Replace:
# branches:
# - '**'
# - '!main'
# With:
# branches-ignore:
# - 'main'
❌ Commit Hook Rejecting Messages
Symptoms: Git commits fail with validation error
Solutions:
# Test hook installation
node install/scripts/test-git-hook.js
# Verify issue pattern
cat .linear-workflow.json | grep issuePattern
# Check hook permissions
ls -la .git/hooks/commit-msg
[→ Full Troubleshooting Guide](docs/troubleshooting.md)
🗑️ Uninstalling
If you need to remove the Linear workf
…
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: ronanathebanana
- Source: ronanathebanana/claude-linear-gh-starter
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.