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

Uploaded Python 3

File details

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

File metadata

  • Download URL: linear_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 8.9 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.0.tar.gz
Algorithm Hash digest
SHA256 11b084ce01e3d1029c770ff4ff542d4e084bba1972b5100c9acbe0722a56f6c3
MD5 8b6bfdfce870d6bbef9f8aee77a3b102
BLAKE2b-256 c003f7b7b3ebea795c347dc88a0cc8154930e93db8869101317dcca4a4d61693

See more details on using hashes here.

File details

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

File metadata

  • Download URL: linear_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e3d188000a4552bbde5303defc0363eb1842dc3ff71c0b82f05fa25fc37a333
MD5 b753c872cd6a113dd32ec18f80daf52a
BLAKE2b-256 70a26ec97ff8adf0e9f286c9e9fc85b9c5bc01ac05292027475feccd8c2299af

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