Configure MCP-server-linear for seamless Linear API access and AI integration
mcp-server-linear is an MCP (Model Context Protocol) server designed to serve as a vital bridge between client applications, including AI assistants like Claude Desktop and Continue, and the Linear API. This server ensures standardized access to various Linear resources such as issues, projects, initiatives, and teams through a consistent interface. By leveraging MCP protocol, it enables seamless integration with a wide array of tools and workflows.
mcp-server-linear offers robust features that cater specifically to the needs of AI applications integrated via MCP:
The architecture of mcp-server-linear is designed to align closely with MCP standards to ensure compatibility and interoperability:
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Linear API]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
This diagram illustrates the flow of an AI application interaction with Linear through mcp-server-linear. The client initiates a request through the MCP protocol, which is then processed by the server and forwarded to the necessary API endpoints.
To get started, follow these steps for installation and configuration:
You can run the MCP server directly using npx
without installing it globally:
LINEAR_API_KEY=your_api_key_here npx -y @mkusaka/mcp-server-linear
Ensure you have set the environment variables correctly to configure your setup.
Imagine a scenario where an AI-powered bug tracking system uses mcp-server-linear. A developer issues a new feature request through Claude Desktop. This request is then seamlessly routed from the desktop client to the MCP server, which in turn interacts with Linear to create a new issue.
cline
or other compatible extensions to initiate communication with mcp-server-linear.create_issue
), which creates the issue in Linear.In another use case, mcp-server-linear can be used to enhance project management within AI workflows by integrating with other tools such as Continue and Cursor. For instance, a user might want to update the priority of an ongoing project from Continue:
mcp-server-linear supports integration with various MCP clients such as:
To set up cline
for mcp-server-linear, follow these steps:
{
"mcpServers": {
"linear": {
"command": "npx",
"args": ["-y", "@mkusaka/mcp-server-linear"],
"env": {
"LINEAR_API_KEY": "your_linear_api_key"
},
"disabled": false,
"autoApprove": []
}
}
}
For cursor
, the configuration is similar:
{
"mcpServers": {
"linear": {
"command": "npx",
"args": ["-y", "@mkusaka/mcp-server-linear"],
"env": {
"LINEAR_API_KEY": "your_linear_api_key"
},
"disabled": false,
"autoApprove": []
}
}
}
This setup ensures that both Cline and Cursor can leverage the functionalities provided by mcp-server-linear.
MCP Protocol supports broad compatibility across different MCP clients. The following matrix illustrates the current status:
MCP Client | Issues | Projects | Initiatives | Teams |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | ✅ |
Continue | ✅ | ✅ | ❌ | ✅ |
Cursor | ❌ | ✅ | ❌ | ✅ |
LINEAR_API_KEY
for secure access.export LINEAR_API_KEY=your_api_key_here
Alternatively, you can use OAuth for added security:
export LINEAR_OAUTH_CLIENT_ID=your_oauth_client_id
export LINEAR_OAUTH_CLIENT_SECRET=your_oauth_client_secret
For enhanced development and debugging, run the MCP server with the inspector:
LINEAR_API_KEY=your_api_key_here mcp-inspector /path/to/mcp-server-linear/dist/index.js
Or using npx
directly:
LINEAR_API_KEY=your_api_key_here npx -y @modelcontextprotocol/inspector @mkusaka/mcp-server-linear
Q: How do I integrate mcp-server-linear with Continue? A: Follow the integration steps for Cline, as Continue uses MCP in a similar way.
Q: Can I use both API key and OAuth authentication together? A: Yes, if you configure both, OAuth will take precedence but can coexist without conflicting.
Q: Is mcp-server-linear compatible with other Linear-based tools like Linear Manager? A: While designed for MCP clients, it works alongside other Integration Tools via the standardized protocol.
Q: How do I ensure secure authentication when using OAuth?
A: Store LINEAR_OAUTH_CLIENT_ID
and LINEAR_OAUTH_CLIENT_SECRET
securely in your environment variables or configuration files.
Q: Can this server be scaled for enterprise use cases? A: Absolutely, scalability is a key aspect of the design with comprehensive error handling and robust API responses.
By following this documentation, developers can unlock the full potential of mcp-server-linear in driving innovative and efficient workflows between their AI applications and Linear.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods