# Linear

> Linear is an open-source MCP server for productivity. Search, create and update Linear issues, projects, comments and labels from an MCP client. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Linux, macOS, Windows, Self-hosted, API
- **Repository:** https://github.com/magurelabs/magoneai-mcp/tree/HEAD/connectors/linear
- **MCP Registry name:** io.github.magurelabs/linear
- **Categories:** [productivity](https://ai-powered.com/categories/productivity), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

This connector comes from the magoneai-mcp repository, a set of MCP servers for third-party APIs built on the official Python SDK and originally written for Magure's MagOneAI agent platform. Linear is one of 25 connectors there, and it can run anywhere, not just inside that platform.

It needs only a Linear API key, passed as an X-Linear-Api-Key request header or read from a credentials file. The quickstart runs it from a source checkout with `MCP_MODE=local python -m connectors.linear` and serves Streamable HTTP at 127.0.0.1:8000/mcp; there is no stdio transport yet. A `get_viewer` tool returns the account the key belongs to, which is a quick way to confirm the setup.

The registry also publishes a Docker image, magureai/mcp-linear, whose default mode expects a shared service token rather than per-user keys.

## Features

- **Issue management:** Search, create and update Linear issues.
- **Projects and comments:** Work with projects and add comments to issues.
- **Label handling:** Create and apply labels.
- **Header-based credentials:** Send the Linear key per request or load it from a JSON credentials file.
- **Docker image:** Run the published magureai/mcp-linear image instead of a source checkout.

## Good for

- Let an assistant triage and file Linear issues
- Update issue status and comments from a chat
- Look up project and label data while planning
- Embed Linear access in a multi-step agent workflow

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add linear --env MCP_SERVICE_TOKEN='<MCP_SERVICE_TOKEN>' -- docker run -i --rm -e MCP_SERVICE_TOKEN docker.io/magureai/mcp-linear:2.0.0
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "linear": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_SERVICE_TOKEN",
        "docker.io/magureai/mcp-linear:2.0.0"
      ],
      "env": {
        "MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "linear": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_SERVICE_TOKEN",
        "docker.io/magureai/mcp-linear:2.0.0"
      ],
      "env": {
        "MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "linear": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_SERVICE_TOKEN",
        "docker.io/magureai/mcp-linear:2.0.0"
      ],
      "env": {
        "MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "linear": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_SERVICE_TOKEN",
        "docker.io/magureai/mcp-linear:2.0.0"
      ],
      "env": {
        "MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add linear --env MCP_SERVICE_TOKEN='<MCP_SERVICE_TOKEN>' -- docker run -i --rm -e MCP_SERVICE_TOKEN docker.io/magureai/mcp-linear:2.0.0
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.linear]
command = "docker"
args = ["run", "-i", "--rm", "-e", "MCP_SERVICE_TOKEN", "docker.io/magureai/mcp-linear:2.0.0"]
env = { MCP_SERVICE_TOKEN = "<MCP_SERVICE_TOKEN>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "linear": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_SERVICE_TOKEN",
        "docker.io/magureai/mcp-linear:2.0.0"
      ],
      "env": {
        "MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e MCP_SERVICE_TOKEN='<MCP_SERVICE_TOKEN>' linear docker -- run -i --rm -e MCP_SERVICE_TOKEN docker.io/magureai/mcp-linear:2.0.0

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "linear": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_SERVICE_TOKEN",
        "docker.io/magureai/mcp-linear:2.0.0"
      ],
      "env": {
        "MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "linear": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_SERVICE_TOKEN",
        "docker.io/magureai/mcp-linear:2.0.0"
      ],
      "env": {
        "MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "linear": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_SERVICE_TOKEN",
        "docker.io/magureai/mcp-linear:2.0.0"
      ],
      "env": {
        "MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "linear": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_SERVICE_TOKEN",
        "docker.io/magureai/mcp-linear:2.0.0"
      ],
      "env": {
        "MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "linear": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_SERVICE_TOKEN",
        "docker.io/magureai/mcp-linear:2.0.0"
      ],
      "env": {
        "MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "linear": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_SERVICE_TOKEN",
        "docker.io/magureai/mcp-linear:2.0.0"
      ],
      "env": {
        "MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "linear": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_SERVICE_TOKEN",
        "docker.io/magureai/mcp-linear:2.0.0"
      ],
      "env": {
        "MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "linear": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_SERVICE_TOKEN",
        "docker.io/magureai/mcp-linear:2.0.0"
      ],
      "env": {
        "MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 1 tool only read data. From the server's own tool labels and tool names; not verified by us.

- `get_viewer` (name suggests: reads): Returns the account the Linear API key belongs to.

## FAQ

### What credential does Linear need?

A Linear API key, sent as the X-Linear-Api-Key header.

### Does Linear support stdio?

No. The README says there is no stdio transport yet, so point your client at the Streamable HTTP URL.

### Which Python version is required?

Python 3.11 or later.

### Is there a container image?

Yes, docker.io/magureai/mcp-linear:2.0.0 is listed in the MCP registry.

### Is Linear free?

Yes. Linear is open source, so you can use and self-host it for free.

### How do I add Linear to Claude Code?

Run this command in your terminal: claude mcp add linear --env MCP_SERVICE_TOKEN='<MCP_SERVICE_TOKEN>' -- docker run -i --rm -e MCP_SERVICE_TOKEN docker.io/magureai/mcp-linear:2.0.0

### What are the best alternatives to Linear?

The closest alternatives to Linear are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/linear-3
