Skip to main content

A Linear API integration for MCP

Project description

Linear MCP

A Linear API integration for MCP.

Quickstart

1. Get Linear API Key

Obtain a Linear API Key from your Linear Account: https://linear.app/YOUR-ORG-NAME-HERE/settings/account/security

2. Install pipx

# MacOS
brew install pipx

# Linux
apt install pipx

# (All environments) Set up PATH
pipx ensurepath

Cursor

Create a command MCP server with the following command:

pipx run linear-mcp --linear-api-key ...

You can also manually specify the team_id to say on tool calls: --team_id ...

Windsurf

In Windsurf settings, add a Custom MCP server with configuration like the following:

{
  "mcpServers": {
    "linear": {
      "command": "pipx",
      "args": [
        "run",
        "linear-mcp",
        "--linear-api-key",
        "..."
      ]
    }
  }
}

Development

Using Docker

# Build the image
docker build -t linear-mcp .

# Run the container
docker run -it --rm -e LINEAR_API_KEY=... linear-mcp

Using pipx

To build the pipx package locally, run:

pipx install -e . --force

Using Virtual Environments

  1. Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install build dependencies:
pip install -r requirements-build.txt
  1. Install development dependencies:
pip install -r requirements-dev.txt
  1. Install the package in development mode:
pip install -e .

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linear_mcp-0.1.2.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

linear_mcp-0.1.2-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file linear_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: linear_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for linear_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f598e99c1e6fe4bf1b309471f6cb06c63666e6fe9e591a48ecd954f7d4213838
MD5 8b749d298e82c9273f3f5fe6be70b369
BLAKE2b-256 95e1e031337608babe0c786206096926b8ab0cd3632b35198a5d10c053691894

See more details on using hashes here.

File details

Details for the file linear_mcp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: linear_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for linear_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 540f30f2b1e29e8d5700e94094b7e477ef1b193ad238f0b696d95d57c4751e4e
MD5 a686075ba397f46e30de98929b636c26
BLAKE2b-256 e4314fafd3bf6199f02fc53bcf56d19a2bf12b7c954591c43eda8a2702050a28

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page