
线性MCP融合
进行中
3 years
Works with Finder
0
Github Watches
0
Github Forks
0
Github Stars
Linear MCP Server
This project provides an MCP server for interacting with the Linear API, enabling integration with MCP clients like Cline, IDE extensions, and other AI tools. It provides tools for managing Linear issues, projects, and teams via the Model Context Protocol.
This package is available on npm: @touchlab/linear-mcp-integration
Current Status:
- Personal Access Token (PAT) authentication is implemented and tested.
- Core functionality for managing issues, projects, teams, and users via PAT has been tested.
- OAuth 2.0 flow exists in the code but is untested and likely non-functional.
Attribution
This project is based on cline/linear-mcp. The logic is largely the same, but key parts of the internals have been modified after testing.
NPM Package
Setup Guide
1. Authentication (Required)
This server requires a Linear Personal Access Token (PAT).
- Go to your Linear workspace settings: Account > Security & access.
- Under the Personal API keys section, click New API key.
- Give the key a descriptive label (e.g., "MCP Server Key"). For Permissions select Full Access. For team access select All teams you have access to
- Copy the generated key immediately (it won't be shown again).
- You will need to provide this key to the server using the
LINEAR_ACCESS_TOKEN
environment variable when running it (see Step 2).
2. Running the Server
You can run the server directly using npx
without cloning the repository, or install it globally.
Option A: Using npx
(Recommended)
This method runs the server directly from the npm registry without global installation. Configure your MCP client (like Cline, Cursor, Claude, etc) to run the server using npx
and pass the PAT via environment variables:
// Example MCP Client Configuration (e.g., Cline, Cursor, Claude)
{
"mcpServers": {
"linear": {
"command": "npx",
"args": ["@touchlab/linear-mcp-integration"],
"env": {
"LINEAR_ACCESS_TOKEN": "lin_api_your_personal_access_token"
}
}
}
}
Option B: Global Installation (Less Common)
If you prefer, you can install the package globally:
npm install -g @touchlab/linear-mcp-integration
Then, you can run it directly from your terminal (you still need to provide the environment variable):
LINEAR_ACCESS_TOKEN=YOUR_PAT
(Note: Global installation is generally less preferred for server processes unless you have a specific need.)
3. Authentication Methods Details
- Personal Access Token (PAT) - Required & Tested: This is the primary and tested authentication method. Follow the steps in Section 1.
-
OAuth Flow (Untested / Non-Functional): The code includes handlers for OAuth (
linear_auth
,linear_auth_callback
), but this flow has not been tested and requires further development to be considered functional. Contributions welcome!
Available Tools
The server currently supports the following tools (tested with PAT authentication unless noted):
-
Authentication (OAuth - Untested):
-
linear_auth
: Initiate OAuth flow (Untested) -
linear_auth_callback
: Handle OAuth callback (Untested)
-
-
Issues:
-
linear_create_issue
: Create a single issue. -
linear_create_issues
: Create multiple issues in bulk. -
linear_search_issues
: Search issues (filter by title currently). -
linear_delete_issue
: Delete a single issue.
-
-
Projects:
-
linear_create_project_with_issues
: Create a project and associated issues. -
linear_get_project
: Get project details by ID. -
linear_search_projects
: Search projects by exact name match.
-
-
Teams:
-
linear_get_teams
: Get details for all teams.
-
-
Users:
-
linear_get_user
: Get information about the authenticated user.
-
(Note: Bulk delete and bulk update functionality has been removed.)
Development (For Contributors)
If you want to run the MCP server locally first run these commands:
# Clone the repository
# git clone https://github.com/touchlab/linear-mcp-integration.git
# cd linear-mcp-integration
# Install dependencies
npm install
# Build the server
npm run build
# Start the server (requires LINEAR_ACCESS_TOKEN in .env or environment)
npm start
Then update your MCP configuration to point to the built index.js
.
// Example MCP Client Configuration (e.g., Cline, Cursor, Claude)
{
"mcpServers": {
"linear": {
"command": "node",
"args": ["/absolute/path/to/your/linear-mcp-integration/build/index.js"],
"env": {
"LINEAR_ACCESS_TOKEN": "lin_api_your_personal_access_token"
}
}
}
}
Your client should now be able to access your MCP server.
Contributing
This fork of Cline's version is maintained by Touchlab.
Contributions are welcome, especially for improving or fully implementing the OAuth 2.0 flow. Please feel free to open issues or pull requests on the touchlab/linear-mcp-integration repository.
相关推荐
Flock是一个基于工作流程的低音平台,可快速构建聊天机器人,抹布和协调多代理团队,由Langgraph,Langchain,Langchain,Fastapi和Nextjs提供支持。(羊群工作流工作流的低代码平台,rag rag rag 用于快速构建聊天机器人、 rag temant Agent fastem temantfaster和muti-agent agagent应用
😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack
Reviews

user_EvSN3E6z
As an avid user of the linear-mcp-integration by touchlab, I am thoroughly impressed with its seamless integration capabilities. This product has significantly streamlined our workflow, making project management more efficient and coherent. It's an essential tool for anyone looking to enhance their MCP application experience. Highly recommended!

user_6qDF0g1Q
I've been using the linear-mcp-integration by touchlab and it's simply phenomenal. The seamless integration enhances productivity and streamlines workflows effortlessly. Kudos to the team for creating such a user-friendly and efficient product! Highly recommend for anyone looking to optimize their processes.

user_RzscfmNu
As a devoted user of the linear-mcp-integration by touchlab, I am thoroughly impressed with its seamless integration capabilities and user-friendly interface. This product has significantly streamlined my workflow and increased my productivity. Highly recommended for anyone looking to enhance their MCP applications.

user_c0XtdATo
As a loyal user of the Linear-MCP-Integration by Touchlab, I can confidently say it's a game-changer in streamlining my workflow. The seamless integration and intuitive interface significantly boost productivity. Highly recommended for anyone looking to optimize their MCP experience!

user_izXLgYEo
I recently started using the linear-mcp-integration by touchlab, and it has completely transformed my workflow. This integration is seamless and has significantly improved my productivity. The interface is user-friendly, and the functionality is robust, catering to all my needs efficiently. Highly recommend this for anyone looking to streamline their tasks and manage projects more effectively.

user_2MfNr71y
As a dedicated user of the linear-mcp-integration by Touchlab, I find it incredibly efficient and easy to use. The seamless integration enhances productivity and the user interface is intuitive. The support from Touchlab is also top-notch, making the overall experience delightful. Highly recommend it to anyone looking to streamline their MCP applications!

user_YyrdiBmM
As a loyal user of the Linear MCP Integration by Touchlab, I have to say this product is a game-changer. Its seamless integration with Linear enhances productivity and streamlines workflows effortlessly. The interface is intuitive, and the efficiency boost is remarkable. Highly recommend it to anyone looking to improve their project management capabilities!

user_2jl6T0oW
As a dedicated user of the linear-mcp-integration by touchlab, I must say it has greatly streamlined my workflow. The seamless integration and user-friendly interface save me a lot of time. This tool is essential for anyone looking to enhance productivity with MCP applications. Highly recommended!