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
- Clone the repository:
git clone https://github.com/context-labs/linear-mcp
cd linear-mcp
- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install build dependencies:
pip install -r requirements-build.txt
- Install development dependencies:
pip install -r requirements-dev.txt
- Install the package in development mode:
pip install -e .
Development: Local Installation Using Virtual Environment
- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install build dependencies:
pip install -r requirements-build.txt
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11b084ce01e3d1029c770ff4ff542d4e084bba1972b5100c9acbe0722a56f6c3
|
|
| MD5 |
8b6bfdfce870d6bbef9f8aee77a3b102
|
|
| BLAKE2b-256 |
c003f7b7b3ebea795c347dc88a0cc8154930e93db8869101317dcca4a4d61693
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e3d188000a4552bbde5303defc0363eb1842dc3ff71c0b82f05fa25fc37a333
|
|
| MD5 |
b753c872cd6a113dd32ec18f80daf52a
|
|
| BLAKE2b-256 |
70a26ec97ff8adf0e9f286c9e9fc85b9c5bc01ac05292027475feccd8c2299af
|