by anoncam
Provides AI assistants with direct access to Linear's project management resources—issues, projects, teams, users, roadmaps, and more—through the Model Context Protocol.
Enables AI assistants to read and manipulate Linear entities such as issues, projects, teams, users, roadmaps, documents, initiatives, and other core resources via MCP calls.
npx -y linear-mcp
(or clone the repo and run npm install
).env
file containing your Linear API key:
LINEAR_API_KEY=your_linear_api_key_here
npm run build
npm start # or: node dist/index.js stdio
node dist/index.js http # listens on PORT (default 3000)
linear://teams/{teamId}/issues
, linear://projects/{projectId}/documents
.LOG_LEVEL
and SERVER_PORT
environment variables.Q: Do I need a Linear API key?
A: Yes, LINEAR_API_KEY
is required and must have sufficient permissions for the actions you intend to perform.
Q: Which Node version is supported? A: Node.js 18 or later.
Q: Can I run the server behind a reverse proxy? A: Absolutely. The HTTP mode listens on a configurable port (default 3000) and works with any standard proxy.
Q: How do I change the logging level?
A: Set the LOG_LEVEL
environment variable (debug
, info
, warn
, error
).
Q: Is there a way to test the server locally? A: Use the MCP Inspector:
npx @modelcontextprotocol/inspector stdio -- npm start
A Model Context Protocol (MCP) server for Linear, providing AI assistants with access to Linear's project management capabilities.
Clone the repository:
git clone https://github.com/yourusername/linear-mcp.git
cd linear-mcp
Install dependencies:
npm install
Create a .env
file with your Linear API key:
LINEAR_API_KEY=your_linear_api_key_here
Build the project:
npm run build
To run the server with stdio transport (for use with CLI tools that support MCP):
npm start
Or:
node dist/index.js stdio
To run the server as an HTTP service with Server-Sent Events (SSE):
node dist/index.js http
This will start an HTTP server on port 3000 (configurable via PORT environment variable).
To run in development mode with automatic reloading:
npm run dev
To use this server with Claude Desktop:
Build the project:
npm run build
In Claude Desktop, go to Settings → Advanced → MCP Configuration.
Add the following configuration (adjust paths to match your installation):
{
"mcpServers": {
"linear": {
"command": "node",
"args": [
"/path/to/linear-mcp/dist/index.js"
],
"env": {
"LINEAR_API_KEY": "your_linear_api_key_here"
}
}
}
}
Save the configuration and restart Claude Desktop.
Alternatively, you can copy the provided claude-desktop-config.json
file and modify the paths to match your installation.
The server provides access to all major Linear entities as resources:
linear://issues
and linear://issues/{id}
linear://teams
and linear://teams/{id}
linear://projects
and linear://projects/{id}
linear://users
and linear://users/{id}
linear://initiatives
and linear://initiatives/{id}
linear://roadmaps
and linear://roadmaps/{id}
linear://milestones
and linear://milestones/{id}
linear://documents
and linear://documents/{id}
linear://integrations
and linear://integrations/{id}
linear://organization
linear://teams/{teamId}/issues
- Issues for a specific teamlinear://users/{userId}/issues
- Issues assigned to a specific userlinear://projects/{projectId}/issues
- Issues in a specific projectlinear://teams/{teamId}/states
- Workflow states for a teamlinear://teams/{teamId}/labels
- Labels for a teamlinear://teams/{teamId}/cycles
- Cycles for a teamlinear://teams/{teamId}/members
- Members of a teamlinear://teams/{teamId}/documents
- Documents for a teamlinear://projects/{projectId}/documents
- Documents for a projectlinear://projects/{projectId}/initiative
- Initiative associated with a projectlinear://initiatives/{initiativeId}/projects
- Projects associated with an initiativelinear://milestones/{milestoneId}/projects
- Projects for a milestonelinear://organization/subscription
- Organization subscription detailslinear://organization/auth-services
- Organization authentication serviceslinear://integration-services
- Available integration servicesThe server provides tools for:
Issue Management
Project Management
Initiative Management
Search Capabilities
The server provides prompt templates for:
Issue Related
Project Related
Test with the MCP Inspector:
npx @modelcontextprotocol/inspector stdio -- npm start
Or, if running in HTTP mode, open the MCP Inspector in your browser and connect to your server's URL.
LINEAR_API_KEY
(required): Your Linear API keySERVER_PORT
(optional): Port for HTTP server (default: 3000)LOG_LEVEL
(optional): Logging level (default: info)MIT
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "linear": { "command": "npx", "args": [ "-y", "linear-mcp" ], "env": { "LINEAR_API_KEY": "<YOUR_API_KEY>" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.