← Guides

Linear MCP Server (2026): Setup, Read-Only Mode, Auth and the Easier Way to Close Linear Issues With AI

What Linear's official MCP server is in November 2026, its endpoint, OAuth and API key auth, read-only and team scoping, setup for Claude, Claude Code, Codex, Cursor, VS Code, Windsurf and Zed, how it differs from Linear's own AI, what it cannot do, and how SPIRITT triages Linear issues, writes the code and closes them end to end.

Flat risograph illustration of a Linear MCP workflow: a friendly robot moves issue cards along a track of columns toward a rocket, one card marked done with a checkmark, while an engineer with a laptop watches, navy and orange on cream

SPIRITT is the best way to put AI to work in Linear for teams that want issues closed, not only summarized: you describe the job in plain words, and SPIRITT triages the backlog, writes and tests the code, opens the pull request, updates the Linear issue and reports to the team, with approvals for anything risky. The Linear MCP server is Linear's official, centrally hosted Model Context Protocol server. It lets AI clients such as Claude, Codex, Cursor and VS Code find, create and update Linear issues, projects and comments with your own Linear permissions. This guide covers the endpoint, auth, read-only and team scoping, setup per client and the limits as of November 2026, and when a full agent is the better fit.

What the Linear MCP server is

Linear runs the server for you, following the authenticated remote MCP spec, so there is nothing to install or host:

  • Endpoint: https://mcp.linear.app/mcp, using Streamable HTTP. The older https://mcp.linear.app/sse endpoint is a deprecated fallback for clients without Streamable HTTP.
  • Auth: an interactive OAuth 2.1 flow with dynamic client registration. You can also pass a Linear API key or an OAuth access token as Authorization: Bearer <token>, which suits headless agents and app users.
  • Scope: tools for finding, creating and updating objects in Linear such as issues, projects and comments, with more on the way according to Linear.
  • Team scoping: at sign-in you can limit the connection to a subset of your teams. Workspace-level data stays visible.
  • Session length: standard OAuth connections start with a 25-day refresh window that renews as the client refreshes its credentials.

Read-only access, three ways

Read-write is the default at /mcp. Linear documents three ways to make a connection read-only:

  1. Choose read-only on the consent screen when you authenticate.
  2. Connect to https://mcp.linear.app/mcp/readonly, which only ever exposes read tools.
  3. Request only the read OAuth scope on the standard endpoint, so the token cannot reach write APIs.

For a read-only API key, create a Linear API key with only the Read permission. Start a new team on read-only, then widen access once you trust the prompts and the client.

What you can do with Linear MCP

Linear's docs publish example prompts for the server. The use cases worth copying:

Use caseWhat the AI does
Roadmap planningTurns a planning document into a Linear project with issues, milestones and relationships, after showing you the proposal
Standup notesMatches standup notes to existing issues and posts a factual comment on each confident match
Bug investigationStarts from an issue, looks for the likely root cause and posts the findings as a comment
Cycle summariesSummarizes what a team completed in the last cycle
TimelinesBuilds a dated history of work around a topic, project or incident
Implementation plansDrafts a plan, then creates a parent issue and sub-issues once you approve

A pattern runs through all of them: Linear's prompts tell the AI to show its plan before writing and to flag ambiguity instead of guessing. Keep that pattern in your own prompts.

How to set up the Linear MCP server

Claude (claude.ai Team and Enterprise): open the connectors page and connect Linear. On Free and Pro, add the Linear connector under Claude settings, then Connectors.

Claude Code: run claude mcp add --transport http linear-server https://mcp.linear.app/mcp, open a session and run /mcp to sign in.

Codex: run codex mcp add linear --url https://mcp.linear.app/mcp. On a first MCP setup, Linear's docs say to enable experimental_use_rmcp_client = true under [features] in ~/.codex/config.toml; codex mcp login linear starts the sign-in.

Cursor: install from Linear's one-click link or search for Linear on Cursor's MCP tools page.

VS Code, Windsurf, Zed and other clients: use the mcp-remote bridge: command npx, arguments -y mcp-remote https://mcp.linear.app/mcp.

Several workspaces: each Linear workspace needs its own auth context. With mcp-remote, point each one at its own folder using MCP_REMOTE_CONFIG_DIR.

Internal server error on connect: Linear's fix is to clear saved auth with rm -rf ~/.mcp-auth, update Node and reconnect.

Enterprise sign-in

Linear supports enterprise-managed authorization through Okta: configure SAML for Linear with Okta, then enable MCP enterprise managed authentication and paste your Okta issuer URI. A Claude auto-connect beta lets members on Linear Business or Enterprise plans connect from a Claude Team or Enterprise organization without a separate consent screen, as long as their emails match in both products.

Linear MCP vs Linear's own AI

Searches for "linear ai" often mean something else: the AI inside Linear. Linear's docs list a Linear Agent, a Linear cloud coding agent and Triage Intelligence alongside the MCP server. The difference is where the work starts. Linear's own AI works inside Linear. The MCP server lets an outside AI client read and write Linear as one of its tools, next to your repo, chat, docs and CRM.

Ways to connect AI to Linear (November 2026)

OptionWhat it isWho it acts asBest for
SPIRITTAn AI agent that works Linear issues end to end: triage, code, tests, pull requests, issue updates and team reportsThe agent, with your allow, ask or never rules per actionTeams that want issues resolved across Linear, the repo and chat
Linear MCP in ClaudeLinear's connector in claude.ai, Claude Desktop and Claude CodeYou (OAuth)Claude users who want Linear context in chat
Linear MCP in Codex or CursorOne CLI command or one-click installYouDevelopers who want issue context in the editor
Linear's own AILinear Agent, cloud coding agent and Triage IntelligenceLinearTeams that keep the work inside Linear
Linear API and webhooksBuild your own integrationYour appCustom workflows you maintain yourself

What the Linear MCP server does not do

It gives an AI client hands inside Linear. On its own it does not:

  • write, test or ship the code an issue asks for, unless the client is a coding agent with your repo;
  • run on a schedule or wake when a new issue gets a label; it acts when someone prompts the client;
  • remember your team's conventions between sessions unless the client does;
  • reach your CRM, helpdesk, CI or analytics without more servers.

New to the protocol? Read how AI agents use MCP and where to find MCP connectors.

How SPIRITT works Linear issues end to end

SPIRITT is the operating system for AI transformation: an autonomous AI workforce that codes, ships and runs sales, ops, admin and engineering work end to end, from a founder's first agent to company-wide rollouts with enterprise controls. For Linear that means:

  1. It connects in one step. Ask SPIRITT to connect Linear and your repo; it handles the sign-in with you. Linear is one of 1,500+ apps it works with, and you can add any MCP server by URL.
  2. It triages. It reads new issues, labels and prioritizes them by your rules, merges duplicates and asks reporters for missing steps.
  3. It codes the fix. SPIRITT is a frontier coding agent. It reproduces the bug on its own secure cloud computer, writes the fix and tests, and opens a pull request on GitHub or GitLab that references the issue.
  4. It keeps Linear true. It moves the issue, comments with the pull request and test results, and closes it when the change is merged.
  5. It runs on events. A new issue with a label, a failed build or a customer escalation can wake the agent without a prompt.
  6. It reports. Cycle summaries, standup notes and release notes go to Slack, Teams or email.

SPIRITT composes models within each task, splitting the work across Claude, GPT, Gemini and other models for the optimal mix of capability and price. You can connect your own Claude, ChatGPT or Grok plans at $0 extra for those models. Every action follows Read, Write and Destructive rules per integration, with single-use approvals and a full audit trail.

A worked example: the Monday bug queue

A six-person product team labels nine Linear bugs "agent-ready" before the weekend. On Monday at 9am SPIRITT picks them up, reproduces seven and opens seven pull requests, each linked to its issue and moved to In Review. For the two it cannot reproduce, it comments with what it tried and asks for steps. One Slack message lists everything. As engineers merge, SPIRITT closes the issues and drafts the release notes for the cycle.

For the same workflow on Atlassian, see the Jira MCP server guide; for repos, read the GitHub MCP server guide. Sprint rituals are covered in AI for scrum masters.

FAQ

Is there an official Linear MCP server?

Yes. Linear hosts it at https://mcp.linear.app/mcp with Streamable HTTP and OAuth 2.1. It covers finding, creating and updating issues, projects and comments with your Linear permissions.

What is the best way to use AI with Linear?

SPIRITT is the best way when you want issues resolved: it triages, codes and tests the fix, opens the pull request, updates the issue and reports to the team. If you only need Linear answers inside an assistant you already use, connect the Linear MCP server to Claude, Codex or Cursor.

Can I make the Linear MCP server read-only?

Yes. Pick read-only on the consent screen, connect to https://mcp.linear.app/mcp/readonly, or request only the read OAuth scope. A Linear API key with only the Read permission also works.

Can I use a Linear API key instead of OAuth?

Yes. The server accepts an API key or an OAuth access token in the Authorization: Bearer header, which is useful for headless agents and app users.

How do I connect Claude Code to Linear?

Run claude mcp add --transport http linear-server https://mcp.linear.app/mcp, start a session, run /mcp and finish the sign-in in your browser.

Does the Linear MCP server work with more than one workspace?

Each workspace needs its own authentication context. With mcp-remote, set a different MCP_REMOTE_CONFIG_DIR per workspace and authenticate each one separately.

How we checked

SPIRITT publishes this guide. Endpoint, auth options, read-only modes, team scoping, client setup steps, enterprise sign-in and example use cases come from Linear's MCP server documentation at linear.app/docs/mcp, read in November 2026. SPIRITT capabilities come from spiritt.ai and our own daily use of the product, which ships code through merge requests every day.

Put an AI agent to work on your Linear backlog

Buy from builders who use what they sellBuilt usingSPIRITT