Skip to main content

A Linear API integration for MCP

Project description

Linear MCP

A Linear API integration for MCP.

Installation

Using pipx (Recommended for Global Installation)

If you want to install the package globally and use it as a command-line tool, you can use pipx:

# MacOS
brew install pipx

# Linux
apt install pipx

# Set up PATH
pipx ensurepath

Then, install the linear-mcp command globally using pipx:

pipx install -e . --force

After installation, you can run the tool from anywhere using:

linear-mcp --linear-api-key "..."

Cursor Setup

If you have installed the linear-mcp command globally, you can configure an MCP server in Cursor by creating a new MCP server with the following command:

linear-mcp --linear-api-key "..."

You may have to globally path the linear-mcp command. Execute which linear-mcp to determine the full path to the command, for example:

/Users/USER/.local/bin/linear-mcp --linear-api-key "..."

Windsurf Setup

If you have installed the linear-mcp command globally, you can create a Custom MCP server with configuration like the following:

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

Using Docker

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

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

Development Setup

  1. Clone the repository:
git clone https://github.com/context-labs/linear-mcp
cd linear-mcp
  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 .

Development: Local Installation Using Virtual Environment

  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 the package:
# Install in development mode with all development dependencies
pip install -e ".[dev]"

# Or install in production 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.1.tar.gz (9.3 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.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: linear_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 9.3 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.1.tar.gz
Algorithm Hash digest
SHA256 ba1373a21937155c54ad7d0db7b52babfe7c1e38297dc02c456943a467724f9e
MD5 b099d3c6c595fe06c1c781980a3a3e01
BLAKE2b-256 230646dd14a9ff7568dec52b6d21a7fae34603f1c756d4592327d74492c29e09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: linear_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ea11a7aea26a89181e35b7c1b89eaf13d947b84bc636e3c6f2ae4f6b8084e5da
MD5 23ed95b8b0a3dac96ac4ef35eec23517
BLAKE2b-256 c3e9492db51da052ba9836916bfd56537d713f6a35684db4740444bea4b8fe24

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