by anoncam
A Model Context Protocol (MCP) server for Linear, providing AI assistants with access to Linear's project management capabilities.
Linear MCP Server is a Model Context Protocol (MCP) server specifically designed for Linear, a popular project management tool. It enables AI assistants to interact with and manage various aspects of Linear projects, initiatives, issues, users, teams, and states.
To use Linear MCP Server, you need Node.js 18 or later and a Linear API key. After cloning the repository and installing dependencies, you can configure your Linear API key in a .env
file. The server can be run in command-line (stdio) mode for CLI tools or as an HTTP server with Server-Sent Events (SSE) for remote connections. There's also a development mode with automatic reloading. For integration with Claude Desktop, specific configuration steps are provided to connect the server.
Q: What are the prerequisites for running Linear MCP Server? A: Node.js 18 or later and a Linear API key.
Q: How do I provide my Linear API key?
A: Create a .env
file in the project root with LINEAR_API_KEY=your_linear_api_key_here
.
Q: Can I run the server as an HTTP service?
A: Yes, you can run it using node dist/index.js http
. The default port is 3000, which can be configured via the SERVER_PORT
environment variable.
Q: How can I test the server?
A: You can test it using the MCP Inspector by running npx @modelcontextprotocol/inspector stdio -- npm start
or by connecting to your HTTP server in the MCP Inspector's browser interface.
Q: What Linear resources can I access through this server? A: You can access issues, teams, projects, users, initiatives, roadmaps, milestones, documents, integrations, and organization-level details, including specialized resources for team and project-specific data.
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.
Discover more MCP servers with similar functionality and use cases
by jerhadf
A server that integrates Linear's project management system with the Model Context Protocol (MCP) to allow LLMs to interact with Linear.
by taazkareem
clickup-mcp-server is an AI-powered Model Context Protocol (MCP) server that integrates ClickUp project management with AI applications. It enables AI agents to interact with ClickUp tasks and workspace elements through a standardized protocol, facilitating natural language-based workspace management and automation.
by its-dart
Enables AI assistants to manage tasks and documents in Dart through a Model Context Protocol server, exposing prompts, resource templates, and tool endpoints for streamlined interaction.
by tacticlaunch
MCP Linear is a Model Context Protocol (MCP) server implementation for the Linear GraphQL API that enables AI assistants to interact with Linear project management systems using natural language.
by useshortcut
Provides Model Context Protocol (MCP) tools that let AI assistants query and modify Shortcut data such as stories, epics, iterations, users, and documents.
by phuc-nt
MCP Atlassian Server connects AI agents to Atlassian Jira and Confluence, enabling them to query data and perform actions within these platforms. It simplifies interactions with Atlassian tools, reducing context-switching for users.
by tonyzorin
A Model Context Protocol (MCP) server implementation for JetBrains YouTrack, allowing AI assistants to interact with YouTrack issue tracking system.
by sakce
Enables MCP clients to interact with Monday.com boards, items, updates, and documents.
by kelvin6365
A Model Context Protocol (MCP) server that enables LLMs to interact with Plane.so, allowing them to manage projects and issues through Plane's API.