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.3.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.3-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: linear_mcp-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 5a19914c7fa97161709c2b0881e6f9e6b40be46b73fa4c2db29457bcd441d12f
MD5 0c884fdb10ab47a9a8f8a38e1d8bc6aa
BLAKE2b-256 7bb0f0caf5159e2565bb3ec80fd568573b45a2ca8748a8c4a3eb899492700326

See more details on using hashes here.

File details

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

File metadata

  • Download URL: linear_mcp-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a46b4aa0262855cc7c2054a7fd6cdfc8394fb87085415a67fab51fc932a07722
MD5 a06f37fd1e7ec6880d2c6f7088e3087a
BLAKE2b-256 5533056a8122c5340b219ba5bf993c15ce56964ae218da5e4a349558bda20d9c

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