Skip to content
MCP server

Linear

Search, create and update Linear issues, projects, comments and labels from an MCP client

Linear is an open-source MCP server for productivity. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Open source
Platforms
Linux, macOS, Windows
Runs
Remotely
What it can do
Read-only
Version
2.0.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a 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

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

Or share it with your project

Add to .mcp.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 Code setup guide

Add to claude_desktop_config.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.

Claude Desktop setup guide

Add to ~/.cursor/mcp.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.

Cursor setup guide

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.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>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "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>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.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.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.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.

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "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.

    Junie

    Add to ~/.junie/mcp/mcp.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.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.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.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • MCP_MODEAuth mode. The image defaults to platform; hosted and local need more settings, see docs/configuration.md.
  • MCP_SERVICE_TOKENShared secret callers send as X-Service-Token in platform mode.

About Linear

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.

Tools this server provides (1)

Taken from the project documentation; the running server may differ.

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_viewerName suggests: reads
Returns the account the Linear API key belongs to.

What it does

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

Pricing

Open source

Free to run; you need your own Linear API key

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

How AIPoweredBot checks servers