Linear MCP Server simplifies managing Linear issues projects and teams via secure API integration
The Linear MCP Server is an infrastructure designed to facilitate seamless integration between popular AI applications and the Linear project management tool via Model Context Protocol (MCP). By leveraging MCP, this server ensures that AI applications like Claude Desktop, Continue, Cursor, and others can access and manipulate data from Linear with ease. The server supports a wide range of operations, making it ideal for developers working on sophisticated AI workflows and integrations.
The Linear MCP Server offers several essential features and corresponding MCP capabilities that enable robust integration:
The MCP protocol is implemented to ensure seamless communication between the server and various AI applications. Each API call is translated into a standardized MCP request, making it easier for both developers and AI applications to interact with Linear.
The architecture of the Linear MCP Server is designed to be scalable and robust:
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
graph TD
A[Linear Issues] --> B[Server State Management]
B --> C[Database Backend]
C --> D[Cache Layer]
D --> E[MCP Protocol Handler]
F[Elastic Search] --> G[Metadata & Labels Management]
G --> H[Team Data & Workflow States]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
To get started, follow these steps to set up and run the Linear MCP Server:
Clone the Repository
git clone https://github.com/linear-mcp-server/project.git
cd project
Install Dependencies
npm install
Configure ENV Variables
cp .env.example .env
The MCP Server supports two primary authentication methods:
Go to Linear settings and create a personal access token.
Add the token to your .env
file:
LINEAR_ACCESS_TOKEN=your_personal_access_token
Create an OAuth application at https://linear.app/settings/api/applications.
Configure OAuth environment variables in .env
:
LINEAR_CLIENT_ID=your_oauth_client_id
LINEAR_CLIENT_SECRET=your_oauth_client_secret
LINEAR_REDIRECT_URI=http://localhost:3000/callback
Build the server
npm run build
Start the server
npm start
graph LR
A[AI Application] -->|Create Issue| B[MCP Client]
B --> C[MCP Protocol]
C --> D[Linear MCP Server]
D --> E[Project Management API Call]
E --> F[Database Backend Update]
F --> G[Detailed Project Information Returned]
G --> H[Issue Associated with Project]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#f8d7da
The server is compatible with the following MCP clients:
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ✅ | Full Support |
Cursor | ❌ | ✅ | ❌ | Tools Only |
The following MCP clients can be fully integrated into the Linear MCP Server, enhancing the overall functionality and performance of AI applications.
{
"mcpServers": {
"linear": {
"command": "node",
"args": ["/path/to/linear-mcp/build/index.js"],
"env": {
"LINEAR_ACCESS_TOKEN": "your_personal_access_token"
},
"disabled": false,
"autoApprove": []
}
}
}
Question: How does the server handle bulk operations efficiently?
Question: Can I integrate other AI applications with this server?
Question: How does the server ensure data security during authentication?
Question: Can I test OAuth functionality with this setup?
Question: What are the performance bottlenecks in the current implementation?
Install Dependencies
npm install
Run Tests
npm test
Integration Testing
npm run test:integration
Build the Server
npm run build
The Linear MCP Server is part of the broader Model Context Protocol ecosystem, which includes other tools and resources like:
By integrating the Linear MCP Server into AI applications, you enhance their ability to manage data from various sources, leading to more efficient and productive workflows.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods