Linear hosts its official MCP server at https://mcp.linear.app/mcp. In Claude Code, run claude mcp add --transport http linear-server https://mcp.linear.app/mcp, then /mcp to sign in through OAuth. Codex, Cursor, Claude and the ChatGPT desktop app use the same URL, and there’s no API key to create unless you want one.
We checked every command on 16 November 2026 against Linear’s MCP docs, Linear’s changelog and each client’s own MCP docs. Linear ships MCP changes every few weeks, and tool names in older guides are already out of date.
Which endpoint: /mcp, /mcp/readonly or /sse?
| Endpoint | What it is | Use it for |
|---|---|---|
https://mcp.linear.app/mcp | Streamable HTTP, read and write | Every new setup |
https://mcp.linear.app/mcp/readonly | Only read tools | Summaries, triage, any agent that shouldn’t change issues |
https://mcp.linear.app/sse | The old SSE transport, deprecated | Nothing new; Linear’s FAQ keeps it only as a WSL fallback |
On 5 February 2026 Linear wrote that it is “fully removing SSE support” and would roll out deprecation errors over two months. If an old config points at /sse, change it to /mcp. Claude Code’s docs mark SSE deprecated too.
Sign-in is OAuth 2.1 with dynamic client registration: the client registers itself and opens your browser. Requesting only the read scope on /mcp also gives read-only access.
How do I add the Linear MCP server to Claude Code?
claude mcp add --transport http --scope user linear-server https://mcp.linear.app/mcp
In a session, type /mcp, choose linear-server and approve in the browser. From a plain shell, claude mcp login linear-server runs the same flow, and --no-browser prints the URL for SSH sessions (Claude Code MCP docs). --scope user keeps the server in every project; the default local scope ties it to the current directory.
If you already connected Linear in claude.ai and Claude Code is logged in with that account, the connector shows up in /mcp by itself.
A read-only twin next to the full server is one more line:
claude mcp add --transport http --scope user linear-readonly https://mcp.linear.app/mcp/readonly
How do I connect Linear to Codex and the ChatGPT desktop app?
codex mcp add linear --url https://mcp.linear.app/mcp
Linear says Codex then prompts you to log in; if it doesn’t, run codex mcp login linear. The entry lands in ~/.codex/config.toml:
[mcp_servers.linear]
url = "https://mcp.linear.app/mcp"
Linear’s page also tells first-time MCP users to add experimental_use_rmcp_client = true under [features]. OpenAI’s current Codex MCP docs don’t mention that flag, so try without it and add it only if an older Codex refuses the URL.
The ChatGPT desktop app and the Codex IDE extension read the same file, so one codex mcp add covers all three. In the desktop app’s UI it’s Settings, MCP servers, Add server, Streamable HTTP, paste the URL, save, Restart, then Authenticate. ChatGPT in the browser doesn’t read local config. There, Linear’s ChatGPT connector covers search and deep research for Plus and Pro users outside the EEA, Switzerland and the UK, and for Team, Enterprise and Edu.
Cursor, Claude desktop and VS Code
Cursor. Use the one-click install on Linear’s docs page, or search Linear on Cursor’s MCP tools page. By hand, in ~/.cursor/mcp.json:
{ "mcpServers": { "linear": { "url": "https://mcp.linear.app/mcp" } } }
Cursor’s docs say it signs in with the authorization code flow and PKCE, and renews expired tokens with a refresh token when the server issues one.
Claude desktop and claude.ai. Linear’s docs: on Free and Pro, add the Linear connector from Claude’s settings, Connectors; on Team and Enterprise, connect it from the connectors page. Anthropic’s help calls the path Customize, Connectors in current builds. Linear Business and Enterprise workspaces on Claude Team or Enterprise can turn on Claude auto-connect (beta), which skips the sign-in for members whose emails match.
VS Code, Windsurf, Zed and the rest. Linear’s docs route these through the mcp-remote bridge:
{
"mcpServers": {
"linear": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.linear.app/mcp"]
}
}
}
What tools does the Linear MCP server have?
Linear’s docs describe tools for “finding, creating, and updating objects in Linear like issues, projects, and comments” and don’t publish a full list. The changelog names them as they change:
| Area | What the changelog says |
|---|---|
| Issues | list_issues, which filters by completedAt since 5 Nov 2026; save_issue, which replaced create_issue and update_issue on 26 Feb 2026; issue relations (blocking, related, duplicate) since 22 Jan 2026 |
| Comments | list_comments, paginated since 24 Mar 2026, covering archived issues since 11 Jun 2026 |
| Projects and planning | save_project; initiatives, initiative updates, project milestones, project updates and project labels since 5 Feb 2026 |
| Documents | save_document, under a project, team, initiative or cycle |
| Teams and people | list_teams and get_team; assigning by part of a name since 22 Oct 2026 |
| Customer requests | list_customer_needs (8 Oct 2026) and save_customer_need |
| Releases | releases, release notes and their issues since 2 Jul 2026 |
| ChatGPT | search and fetch |
If a prompt or skill you copied calls create_issue, it predates February. Trust the tool list your client shows after connecting, and ask the agent which Linear tools it has before you build a long prompt around them.
Troubleshooting: auth loops, /sse and internal server errors
| Problem | Fix |
|---|---|
| “Internal server error” on connect | rm -rf ~/.mcp-auth clears mcp-remote’s saved auth; reconnect, and update Node if it’s old |
| Signed in to the wrong workspace | Reconnecting doesn’t switch it. Give each workspace its own auth folder: MCP_REMOTE_CONFIG_DIR=~/.mcp-auth/workspace-a npx mcp-remote https://mcp.linear.app/mcp |
| Claude Code keeps asking you to sign in | The same name may exist in two scopes with different URLs, and sign-ins are stored per endpoint. claude mcp list shows the conflict; claude mcp remove linear-server --scope <scope> drops one |
| Browser shows a connection error after you approve | Paste the full callback URL from the address bar into Claude Code’s prompt |
| Errors that mention SSE | Change /sse to /mcp |
| A Bearer header is rejected | Claude Code reports the server as failed instead of falling back to OAuth. Check the key, or remove the header to use OAuth |
| Connection dropped mid-session | Disconnect and reconnect it in the client’s MCP settings; Linear says this doesn’t touch your data or auth |
Linear fixed two OAuth bugs this spring: a redirect page that hung in browsers other than Safari (2 April 2026), and connections that dropped after about a day (16 April 2026). If you gave up on the server before then, try it again.
How do I keep Linear MCP output from filling the context?
Issue lists eat the most context. Claude Code warns when one tool result passes 10,000 tokens and cuts it at 25,000 by default; MAX_MCP_OUTPUT_TOKENS=50000 claude raises the cap. Narrow requests work better:
- Ask narrowly, filtered by team, assignee, state or dates.
list_issuestakescompletedAtvalues like-P7D, and results come in pages, so “the first 20” is a real request. - Point agents that only read at
/mcp/readonly, which loads fewer tool definitions. - In Codex, keep the tools you use with
enabled_toolsunder[mcp_servers.linear]. - Claude Code loads MCP tool definitions on demand by default (tool search), so a large server costs little until it’s used.
If several agents work on Linear issues at once, Claude Code worktrees covers keeping their checkouts apart. For Todoist, the same walkthrough is in Todoist MCP server setup.
When do you need an API key or a community server?
The official server takes a key too. Linear’s FAQ says it accepts an OAuth token or API key as Authorization: Bearer <token>. Create a personal key under Settings, Account, Security & Access (Linear docs); you can restrict it to Read, Write, Admin, Create issues or Create comments, and to specific teams. A Read-only key is the simplest read-only agent:
claude mcp add --transport http linear-server https://mcp.linear.app/mcp --header "Authorization: Bearer your-api-key"
Headers suit CI, where nobody can click through OAuth, and several workspaces, one key each. Linear doesn’t publish limits for the MCP server; its GraphQL API allows 2,500 requests an hour per user with API keys, shared across all of that user’s keys, and 5,000 with OAuth apps.
Community servers call the GraphQL API with your key. The author of jerhadf/linear-mcp-server, which many 2025 guides recommend, has deprecated it in favour of the official server. @tacticlaunch/mcp-linear is maintained (v1.4.6, 13 November 2026) and reads LINEAR_API_TOKEN:
claude mcp add --env LINEAR_API_TOKEN=your-api-key --transport stdio linear -- npx -y @tacticlaunch/mcp-linear
Reach for one when you need something the official server lacks, such as the workspace webhook and OAuth app tools in tacticlaunch’s server, or code you can read and pin to a version.
Linear issues on the same list as everything else
Linear’s server tells an agent about Linear, but your work also sits in mail and Slack. Sharpy is a free AI to-do list for Mac that puts it on one list. Issues assigned to you in Linear come onto it, next to tasks from Gmail, Slack, GitHub and the text on your screen. A task closes by itself when the issue closes or the pull request merges. Tick a Linear task done in Sharpy and it closes in Linear; finish it in Linear and it closes in Sharpy.
Sharpy’s own MCP server gives Claude Code, Codex, Cursor and the ChatGPT desktop app that whole list, so “what’s next?” covers more than one tracker. On a task, Sharpy can also hand the work to Claude Code or Codex. The agent works on its own in its branch and opens a pull request; you decide whether to merge, and the task closes when you do (Sharpy for engineers).
We haven’t verified that a task an agent marks done over Sharpy’s MCP also closes in Linear, and Sharpy’s MCP has no tools that act in connected apps. Keep Linear’s server for creating and editing issues.
Sharpy runs on macOS 14 or later, on Macs with Apple silicon, and the app has to be running for agents to reach it. It reads screen text through macOS Accessibility, with no video and no keystrokes, and sends the relevant text through its server to cloud AI models. Download Sharpy for Mac.






