Linear MCP Server Setup: Claude, Cursor, Codex & Read-Only Mode
Nikhil Tiwari
MCP Playground
TL;DR
- Official endpoint:
https://mcp.linear.app/mcpover Streamable HTTP. The old/sseURL is a deprecated fallback. - Read-only endpoint:
https://mcp.linear.app/mcp/readonlyonly exposes read tools. Start there. - Auth: OAuth 2.1 with dynamic client registration, or a Linear API key as a bearer token.
- Claude Code:
claude mcp add --transport http linear-server https://mcp.linear.app/mcp, then/mcpto log in. - Login lasts: a 25-day refresh window for standard OAuth connections.
Linear runs one of the cleanest official MCP servers around. It is hosted, it uses standard OAuth, and it has something most vendors skip: a separate read-only endpoint.
Most Linear MCP guides were written when the server lived at /sse. That URL still answers, but Linear now lists it as a deprecated fallback. New setups should use /mcp.
This guide covers the current Linear MCP server setup for every major client, how auth works, when to use read-only mode, and how to check the connection before you let an agent touch your backlog.
What the Linear MCP Server Does
Linear’s docs describe it as tools for finding, creating and updating objects in Linear, such as issues, projects and comments. In practice that means an agent can read your backlog, file and update issues, and post comments, with the same permissions you have.
You can also scope the connection to specific teams when you connect. If you only want the agent near one team’s issues, choose that during setup.
For a side-by-side with Jira, Asana and others, see project management MCP servers compared. For the tool list as it appears when you connect, see the Linear MCP server page.
Linear MCP Server URLs
| Endpoint | Use it for |
|---|---|
https://mcp.linear.app/mcp | The default. Read and write, Streamable HTTP. |
https://mcp.linear.app/mcp/readonly | Read tools only. Best for reporting, triage summaries and first tests. |
https://mcp.linear.app/sse | Deprecated fallback for older clients. Avoid for new setups. |
How Linear MCP Authentication Works
Interactive clients use OAuth 2.1 with dynamic client registration. You don’t create an OAuth app in advance: the client registers itself, opens a browser, and you approve access.
Non-interactive use is simpler. The server accepts a Linear API key or an OAuth token in the Authorization: Bearer header, so a script or CI job can connect without a browser.
Create API keys in Linear under Settings, then API. Give each agent its own key, so you can revoke one without breaking the others. If you build your own MCP server and want the same pattern, my MCP OAuth guide covers both sides.
Set Up Linear MCP in Claude, Claude Code, Cursor, Codex and VS Code
Claude (desktop and claude.ai)
- Free and Pro: in Claude Desktop, go to Settings, then Connectors, and add Linear.
- Team and Enterprise: an admin adds Linear from the Connectors page on claude.ai.
Claude Code
The /mcp command opens the OAuth login in your browser. For read-only, swap the URL for https://mcp.linear.app/mcp/readonly.
Cursor
Install Linear from the deep link in Linear’s docs, or search for it on Cursor’s MCP tools page. My Cursor MCP setup guide covers where Cursor stores the config and how project and global files merge.
Codex
Linear’s docs say to enable experimental_use_rmcp_client = true under [features] in your Codex config.
VS Code, Windsurf, Zed and other clients
For these, Linear’s docs use the mcp-remote bridge, which runs locally over stdio and forwards to the remote server:
Linear MCP Read-Only Mode: the Safe Way to Start
An agent with write access to Linear can close issues, reassign work and post comments under your name. Read-only removes that risk while you learn how the model behaves.
- Connect to
https://mcp.linear.app/mcp/readonly. Write tools are never exposed. - Or choose read-only on the OAuth consent screen.
- Or request only the
readscope.
The URL route is the strongest, because the write tools aren’t in the tool list at all. A model can’t call a tool it never sees.
When you do move to read-write, turn on tool approval in your client for anything that changes state.
Test the Linear MCP Server Before You Wire It In
Before you add Linear to an agent, check the connection and the tool list on their own. It separates “Linear rejected my token” from “my agent framework is broken”.
- Create a Linear API key.
- Open the MCP server tester and paste
https://mcp.linear.app/mcp/readonly. - Put
Bearer your-api-keyin the auth header field and connect. - Check the tool list, then call a read tool, such as listing your teams.
To see how different models use the tools, run the same prompt in MCP Agent Studio with Claude, GPT and Gemini. Backlog questions that need several calls in a row are where they differ most.
Connect Linear MCP in your browser
Paste the read-only URL and an API key, list the tools and call them. Free.
Prompts That Work Well With Linear MCP
- “What’s in progress in the current cycle for the Platform team, and what’s blocked?”
- “List unassigned bugs created this week and group them by area.”
- “Summarise everything my team closed in the last seven days, with links.”
- “Draft three issues from these meeting notes, but show me before you create them.”
The last one is a good habit with any write-capable server. Ask for a plan first, then approve the writes.
Linear MCP Troubleshooting
- Login loops or 401s: the client may not support OAuth 2.1 with dynamic registration. Use the
mcp-remotebridge, or send an API key as a bearer token. - Write tools missing: check that you didn’t connect to
/mcp/readonlyor approve read-only on the consent screen. - Some teams invisible: the connection may be scoped to specific teams. Reconnect and pick the teams you need.
- Logged out after a few weeks: standard OAuth connections have a 25-day refresh window. Reconnect.
- Old tutorial says SSE: switch the URL to
/mcpand the transport to HTTP.
Bottom line
Use https://mcp.linear.app/mcp, start on the read-only endpoint, and use OAuth for people and API keys for agents. Check the connection on its own before you build anything on top of it.
FAQ: Linear MCP Server
Sources
Written by Nikhil Tiwari
15+ years in product development. AI enthusiast building developer tools that make complex technologies accessible to everyone.
Free MCP Tools (no install)
Build, compare & ship MCP agents
Connect any MCP server, run evals on it, compare 90+ models side-by-side, deploy hosted servers, and save reusable agents you can export as an API — all in your browser.