Skip to main content

Another Linear MCP Server

Project description

Linear MCP

Another Linear MCP Server

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

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",
        "...",
        "--team_name",
        "..."
      ]
    }
  }
}

Development

Using Docker

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

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

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 .

Releases

This repository is published to PyPI using GitHub Actions.

This happens automatically when you push to the main branch.

If you do not bump the verison in pyproject.toml, the release will fail.

Prior to merging to main, it is also a good idea to install the package globally on your local machine:

pipx install -e . --force

... and then use the mcp inspector to test all the resources, tools, etc.:

npx @modelcontextprotocol/inspector linear-mcp --linear-api-key ... --team_name ...

Because a transport stdio cannot write to standard out, there is file based logging. By default, the server writes to linear_api.log, whose location varies depending on how the server was installed / started.

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.7.tar.gz (10.0 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.7-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: linear_mcp-0.1.7.tar.gz
  • Upload date:
  • Size: 10.0 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.7.tar.gz
Algorithm Hash digest
SHA256 5570ee96f633aff832227b69d86b80b0e3e267bfc6c4aca8257c7fa5a76dcc59
MD5 d6c89672a9d4d7a022cd67dde06c698d
BLAKE2b-256 0e15d28f6c6cea561171dc22dc8e7301afe3c0ab75cbfba88f526c3931620bef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: linear_mcp-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 9.8 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 643cf6a23c2b2aa54345518674b6875a8afb1a2f172ec1205063aa2e0e5dc392
MD5 e90c69f9a17dd5d542f99c474cf8b9af
BLAKE2b-256 3da15f951f8c03755f2282ad3d8605646d6ddf0de39dee0ebb641e00a65e9c25

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