Once set up, your Claude agents can create issues, update statuses, manage projects, and search across your Linear workspace without leaving the terminal.
How it works
Merge Agent Handler handles the connection between Claude Code and Linear's API. You install the Merge CLI, run a one-time login, and register the MCP server with a single command. Agent Handler manages your Linear OAuth credentials and routes API calls on your behalf so you don't store tokens locally or handle token refresh yourself.
Here's the command that registers the connection:
merge setup claude-code
Prerequisites
Before getting started, you'll need the following:
Open a Claude Code session and run a test query like: "Find all unassigned P1 issues in the current sprint and summarize what's blocking each one."
The first time you invoke a Linear tool, a Magic Link will appear to complete connector authentication.
{{this-blog-only-cta}}
Linear MCP FAQ
In case you have any more questions on setting up and using a Linear MCP server in Claude Code, we’ve addressed several more questions below:
What can your agent do with a Linear MCP server?
Here are just a few common use cases:
Create and update issues: Quickly log new bugs/feature requests and keep them current by updating titles, descriptions, priority, labels, and due dates as work evolves
Assign issues to team members: Route work to the right owner (or reassign as priorities shift) so accountability and handoffs stay clear
Move issues through status workflows: Keep execution in sync by transitioning issues across your team’s workflow states (e.g., Triage → In Progress → In Review → Done) as progress happens
Search issues by project, label, or assignee: Pull up exactly the set of issues you need (e.g., “all P0 bugs in Project X assigned to the on-call”) to unblock planning and execution
Retrieve cycle (sprint) progress: Summarize what’s on track vs. at risk by checking cycle scope, completed work, and remaining issues at any point in the sprint
Create and manage projects: Set up projects, update milestones/timelines, and maintain project status so the roadmap reflects reality without manual upkeep
Why should I use Merge Agent Handler's Linear MCP server?
Using the connector’s 30+ tools, your agents can operate autonomously across the entire project management lifecycle.
Here’s additional context:
Full issue lifecycle: Not just <code class="blog_inline-code">get_issues</code> but create, update, archive, filter by identifier, and paginate. Agents can triage, reassign, reprioritize, and close issues without human intervention
Project updates are unique: Linear's project update feature (health status, progress notes) is specific to Linear and often overlooked. The connector supports create, update, archive, and unarchive on project updates, meaning agents can automate weekly status reporting
Cycle support: Agents can read sprint data via <code class="blog_inline-code">list_cycles</code>, which opens up use cases like summarizing sprint progress or flagging overdue issues mid-cycle
Comment resolution: <code class="blog_inline-code">resolve_comment</code> and <code class="blog_inline-code">unresolve_comment</code> mirror a workflow that engineering teams actually use to track whether feedback was addressed
Team management: <code class="blog_inline-code">create_team</code> and <code class="blog_inline-code">update_team</code> means agents can do onboarding automation, not just day-to-day task management
Why should I connect to a Linear MCP server with Claude Code?
In simple terms, Linear is where engineering work lives, and Claude Code is where engineers already are. So connecting them means your agent can act on your backlog without your engineers switching contexts.
Jon Gitlin
Senior Content Marketing Manager
@Merge
Jon Gitlin is the Managing Editor of Merge's blog. He has several years of experience in the integration and automation space; before Merge, he worked at Workato, an integration platform as a service (iPaaS) solution, where he also managed the company's blog. In his free time he loves to watch soccer matches, go on long runs in parks, and explore local restaurants.
Read more
AI-powered issue resolution is now available in Merge Unified
Product
7 best practices for authentication in AI agents
AI
Introducing the Universal Context Layer: a company brain that works with every AI tool and agent