# Linear MCP Server Setup: Claude, Cursor, Codex & Read-Only Mode

> Set up Linear’s official MCP server in Claude, Claude Code, Cursor, Codex and VS Code. The current endpoint (not /sse), OAuth vs API keys, the read-only URL, and how to test it first.

**Source:** https://mcpplaygroundonline.com/blog/linear-mcp-server-setup  
**Author:** Nikhil Tiwari  
**Published:** 2026-12-01  
**Category:** Server Guides  
**Reading time:** 6 min read  
**Topics:** linear mcp, linear mcp server, linear mcp setup, linear mcp claude code, linear mcp cursor, linear mcp url, linear mcp read only, mcp.linear.app

---

TL;DR

-   **Official endpoint:** `https://mcp.linear.app/mcp` over Streamable HTTP. The old `/sse` URL is a deprecated fallback.
-   **Read-only endpoint:** `https://mcp.linear.app/mcp/readonly` only 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 `/mcp` to log in.
-   **Login lasts:** a 25-day refresh window for standard OAuth connections.

Table of Contents

1.  [What the Linear MCP server does](#what)
2.  [Linear MCP server URLs](#endpoints)
3.  [How Linear MCP authentication works](#auth)
4.  [Set up Linear MCP in Claude, Claude Code, Cursor, Codex and VS Code](#setup)
5.  [Read-only mode: the safe way to start](#readonly)
6.  [Test the Linear MCP server before you wire it in](#test)
7.  [Prompts that work well with Linear MCP](#prompts)
8.  [Linear MCP troubleshooting](#troubleshooting)
9.  [FAQ](#faq)

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](/blog/project-management-mcp-servers). For the tool list as it appears when you connect, see the [Linear MCP server page](/mcp-servers/linear).

## 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](/blog/mcp-server-oauth-authentication-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

Terminal

```
claude mcp add --transport http linear-server https://mcp.linear.app/mcp
# then, inside Claude Code:
/mcp
```

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](/blog/cursor-mcp-setup-guide) covers where Cursor stores the config and how project and global files merge.

### Codex

Terminal

```
codex mcp add linear --url https://mcp.linear.app/mcp
```

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:

mcp.json

```
{
  "mcpServers": {
    "linear": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.linear.app/mcp"]
    }
  }
}
```

## 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.

1.  Connect to `https://mcp.linear.app/mcp/readonly`. Write tools are never exposed.
2.  Or choose read-only on the OAuth consent screen.
3.  Or request only the `read` scope.

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”.

1.  Create a Linear API key.
2.  Open the [MCP server tester](/mcp-test-server) and paste `https://mcp.linear.app/mcp/readonly`.
3.  Put `Bearer your-api-key` in the auth header field and connect.
4.  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](/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.

[Test any MCP server free →](/mcp-test-server) [Linear MCP server page](/mcp-servers/linear)

## 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-remote` bridge, or send an API key as a bearer token.
-   **Write tools missing:** check that you didn’t connect to `/mcp/readonly` or 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 `/mcp` and 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

**What is the Linear MCP server URL?+**

https://mcp.linear.app/mcp over Streamable HTTP. Linear also runs a read-only endpoint at https://mcp.linear.app/mcp/readonly. The older https://mcp.linear.app/sse endpoint is a deprecated fallback, so use /mcp for new setups.

**How does the Linear MCP server authenticate?+**

Interactively, it uses OAuth 2.1 with dynamic client registration, so you do not register an OAuth app first. For scripts and agents, you can send a Linear API key or an OAuth token as Authorization: Bearer instead of the browser flow.

**How do I add the Linear MCP server to Claude Code?+**

Run claude mcp add --transport http linear-server https://mcp.linear.app/mcp, then type /mcp inside Claude Code and complete the OAuth login in your browser.

**Can I give an AI read-only access to Linear?+**

Yes, three ways: connect to https://mcp.linear.app/mcp/readonly, which only exposes read tools; choose read-only on the OAuth consent screen; or request only the read scope. Read-only is the safest way to start.

**How do I use Linear MCP in VS Code, Windsurf or Zed?+**

Linear’s docs use the mcp-remote bridge for these: command npx with args -y mcp-remote https://mcp.linear.app/mcp. Cursor can install it from a deep link or from its MCP tools page.

**How long does a Linear MCP login last?+**

Linear’s docs give standard OAuth connections a 25-day refresh window. If a client goes unused for longer, expect to log in again.

### Sources

-   [Linear docs: MCP server](https://linear.app/docs/mcp)
-   [Linear developers](https://linear.app/developers)
-   [mcp-remote on GitHub](https://github.com/geelen/mcp-remote)
-   [MCP specification: authorization](https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization)

## Frequently asked questions

### What is the Linear MCP server URL?

https://mcp.linear.app/mcp over Streamable HTTP. Linear also runs a read-only endpoint at https://mcp.linear.app/mcp/readonly. The older https://mcp.linear.app/sse endpoint is a deprecated fallback, so use /mcp for new setups.

### How does the Linear MCP server authenticate?

Interactively, it uses OAuth 2.1 with dynamic client registration, so you do not register an OAuth app first. For scripts and agents, you can send a Linear API key or an OAuth token as Authorization: Bearer <token> instead of the browser flow.

### How do I add the Linear MCP server to Claude Code?

Run claude mcp add --transport http linear-server https://mcp.linear.app/mcp, then type /mcp inside Claude Code and complete the OAuth login in your browser.

### Can I give an AI read-only access to Linear?

Yes, three ways: connect to https://mcp.linear.app/mcp/readonly, which only exposes read tools; choose read-only on the OAuth consent screen; or request only the read scope. Read-only is the safest way to start.

### How do I use Linear MCP in VS Code, Windsurf or Zed?

Linear’s docs use the mcp-remote bridge for these: command npx with args -y mcp-remote https://mcp.linear.app/mcp. Cursor can install it from a deep link or from its MCP tools page.

### How long does a Linear MCP login last?

Linear’s docs give standard OAuth connections a 25-day refresh window. If a client goes unused for longer, expect to log in again.


---

_Canonical page: https://mcpplaygroundonline.com/blog/linear-mcp-server-setup — MCP Playground (mcpplaygroundonline.com), the free browser-based tool for testing MCP servers and building AI agents._
