linear-mcp-server
MCP server for integrating Linear with Claude Code and other MCP clients. Enables issue management, project planning, and status tracking through a set of tools.
README
Linear MCP Server
MCP (Model Context Protocol) server for integrating Linear with Claude Code and other MCP clients.
Features
- Issue Management: Create, update, and query Linear issues
- Project Planning: Create projects and break them down into milestones
- Status Tracking: Update issue status through workflow states
- Progress Updates: Add comments and progress notes to issues
- Team Context: Query team information and workflow states
Installation
This project uses uv for dependency management.
# Install dependencies
uv sync
# Or with pip
pip install -e .
Configuration
-
Get your Linear API key:
- Go to Linear Settings > Account > Security & Access
- Create a new Personal API key
- Choose appropriate permissions (Read, Write, Create issues, Create comments)
-
Create
.envfile:cp .env.example .env # Edit .env and add your LINEAR_API_KEY
Usage with Claude Code
Add to your Claude Code configuration (~/.claude/config.json or project .claude/mcp-servers.json):
{
"mcpServers": {
"linear": {
"command": "uv",
"args": ["run", "linear-mcp-server"],
"cwd": "/Users/devonshurick/dev/personal/linear-mcp-server",
"env": {
"LINEAR_API_KEY": "lin_api_xxxxxxxxxxxx"
}
}
}
}
Or use environment variables:
{
"mcpServers": {
"linear": {
"command": "uv",
"args": ["run", "linear-mcp-server"],
"cwd": "/Users/devonshurick/dev/personal/linear-mcp-server"
}
}
}
Then set LINEAR_API_KEY in your .env file.
Available Tools
Issue Management
-
linear_create_issue- Create a new issue- Parameters:
title,description,team_id, optional:project_id,state_id,priority,assignee_id
- Parameters:
-
linear_update_issue- Update an existing issue- Parameters:
issue_id, optional:state_id,title,description,priority
- Parameters:
-
linear_list_issues- List issues for a team- Parameters:
team_id, optional:status_filter,assignee_id,limit
- Parameters:
-
linear_add_comment- Add a comment to an issue- Parameters:
issue_id,body
- Parameters:
Team & Workflow
-
linear_get_teams- List available teams -
linear_get_workflow_states- Get workflow states for a team- Parameters:
team_id
- Parameters:
Projects (Coming Soon)
linear_create_project- Create a new project with milestoneslinear_list_projects- List projects
Development
# Install with dev dependencies
uv sync --extra dev
# Run tests
uv run pytest
# Format code
uv run black .
# Lint
uv run ruff check .
Architecture
src/linear_mcp/
├── __init__.py
├── server.py # MCP server implementation
├── linear_client.py # Linear GraphQL API client
└── tools.py # Tool definitions for MCP
Use Cases
-
Task Execution with Progress Tracking
- Claude receives task → Creates Linear issue → Works on task → Updates issue with progress → Marks done
-
Project Planning
- User describes goal → Claude creates project → Breaks into milestones → Creates task issues → Links dependencies
-
Dynamic Prioritization
- Claude reviews backlog → Analyzes priorities → Proposes changes → Updates issues after approval
Linear API Reference
- Linear GraphQL API
- API Schema
- Rate Limits: 1,500 requests/hour per API key
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.