Linear MCP Server
平台与服务by emmett-deen
将 Claude 连接到 Linear 项目管理系统,便捷地检索、创建并管理 issues 与 projects,提升协作效率。
什么是 Linear MCP Server?
将 Claude 连接到 Linear 项目管理系统,便捷地检索、创建并管理 issues 与 projects,提升协作效率。
核心功能 (32 个工具)
linear_getViewerGet information about the currently authenticated user
linear_getOrganizationGet information about the current Linear organization
linear_getUsersGet a list of users in the Linear organization
linear_getLabelsGet a list of issue labels from Linear
linear_getTeamsGet a list of teams from Linear
linear_getWorkflowStatesGet workflow states for a team
linear_getProjectsGet a list of projects from Linear
linear_createProjectCreate a new project in Linear
linear_updateProjectUpdate an existing project in Linear
linear_addIssueToProjectAdd an existing issue to a project
linear_getProjectIssuesGet all issues associated with a project
linear_getCyclesGet a list of all cycles
linear_getActiveCycleGet the currently active cycle for a team
linear_addIssueToCycleAdd an issue to a cycle
linear_getIssuesGet a list of recent issues from Linear
linear_getIssueByIdGet a specific issue by ID or identifier (e.g., ABC-123)
linear_searchIssuesSearch for issues with various filters
linear_createIssueCreate a new issue in Linear
linear_updateIssueUpdate an existing issue in Linear
linear_createCommentAdd a comment to an issue in Linear
linear_addIssueLabelAdd a label to an issue in Linear
linear_removeIssueLabelRemove a label from an issue in Linear
linear_assignIssueAssign an issue to a user
linear_subscribeToIssueSubscribe to issue updates
linear_convertIssueToSubtaskConvert an issue to a subtask
linear_createIssueRelationCreate relations between issues (blocks, is blocked by, etc.)
linear_archiveIssueArchive an issue
linear_setIssuePrioritySet the priority of an issue
linear_transferIssueTransfer an issue to another team
linear_duplicateIssueDuplicate an issue
linear_getIssueHistoryGet the history of changes made to an issue
linear_getCommentsGet all comments for an issue
README
Linear MCP Server
A Model Context Protocol (MCP) server implementation for the Linear GraphQL API that enables AI assistants to interact with Linear project management systems.
Features
- Access to Linear's GraphQL API through MCP tools
- Authentication via Linear API key
- Retrieve and modify data related to users, teams, projects, and issues
- Create, update and comment on issues
- Add and remove labels
- Create projects
- Comprehensive documentation of available tools
Installation
Installing via Smithery (Recommended)
To install Linear MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @emmett.deen/linear-mcp-server --client claude
Manual Configuration
After installation, add the following to your MCP settings file:
{
"mcpServers": {
"linear": {
"command": "npx",
"args": ["-y", "@emmett.deen/linear-mcp-server"],
"env": {
"LINEAR_API_KEY": "your_linear_api_key_here"
}
}
}
}
Client-Specific Configuration Locations
- Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json - Claude VSCode Extension:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json - GoMCP:
~/.config/gomcp/config.yaml
Manual Installation
- Clone the repository
git clone https://github.com/yourusername/Linear-MCP-Server.git
cd Linear-MCP-Server
- Install dependencies
npm install
- Build the project
npm run build
- Create a
.envfile with your Linear API token
LINEAR_API_KEY=your_linear_api_key_here
- Start the server
npm start
Available Tools
See TOOLS.md for a complete list of available tools and planned features.
Overview
Linear-MCP-Server bridges the gap between Claude (AI assistant) and Linear (project management tool) by implementing the MCP protocol. This allows Claude to:
- Retrieve issues, projects, teams, and other data from Linear
- Create and update issues
- Change issue status
- Assign issues to team members
- Add comments
- Create projects and teams
The server uses Linear's GraphQL API and authenticates via user tokens (not OAuth) for simplicity.
Getting Started
Prerequisites
- Node.js (v18+)
- NPM or Yarn
- Linear API token
Installation
# Install globally
npm install -g @emmett.deen/linear-mcp-server
# Or clone and install locally
git clone https://github.com/yourusername/Linear-MCP-Server.git
cd Linear-MCP-Server
npm install
npm link # Makes the package available globally
Running the Server
Run the server with your Linear API token:
linear-mcp-server --token YOUR_LINEAR_API_TOKEN
Or set the token in your environment and run without arguments:
export LINEAR_API_TOKEN=YOUR_LINEAR_API_TOKEN
linear-mcp-server
Using with Claude Desktop
To use this MCP server with Claude Desktop:
- Enable Developer Mode in Claude Desktop (from the menu bar)
- Go to Settings > Developer options
- Click "Add Server"
- Configure with the following settings:
- Name: Linear MCP Server
- Type: Local Process
- Command: linear-mcp-server
- Arguments: --token YOUR_LINEAR_API_TOKEN
Alternatively, manually edit the config file:
{
"mcp": {
"servers": [
{
"name": "Linear MCP Server",
"transport": {
"type": "stdio",
"command": "linear-mcp-server",
"args": ["--token", "YOUR_LINEAR_API_TOKEN"]
}
}
]
}
}
- Save the config
- Restart Claude Desktop (quit completely and reopen)
- You should now see Linear MCP Server available as a tool in Claude
Example Claude Prompts
Once connected to Claude Desktop, you can use prompts like:
- "Show me all my Linear issues"
- "Create a new issue titled 'Fix login bug' in the Frontend team"
- "Change the status of issue FE-123 to 'In Progress'"
- "Assign issue BE-456 to John Smith"
- "Add a comment to issue UI-789: 'This needs to be fixed by Friday'"
Development
To develop locally:
# Clone the repository
git clone https://github.com/yourusername/Linear-MCP-Server.git
cd Linear-MCP-Server
# Install dependencies
npm install
# Run in development mode
npm run dev -- --token YOUR_LINEAR_API_TOKEN
Extending the Server
To add new tools to the server:
- Follow the implementation guide in the TOOLS.md document
- Make sure to follow the established code structure in the
src/directory - Update the documentation to reflect your changes
Developing and Contributing
Setup Development Environment
- Clone the repository
git clone https://github.com/yourusername/Linear-MCP-Server.git
cd Linear-MCP-Server
- Install dependencies
npm install
- Start in development mode
npm run dev
Publishing to npm
To publish this package to npm:
- Update the version in package.json
npm version patch # or minor, or major
- Build the project
npm run build
- Make sure you've already logged in to npm
npm login
- Publish to npm
npm publish --access public
- For Smithery registry, you'll need to work with the Smithery team to get your server listed in their catalog.
License
This project is licensed under the MIT License - see the LICENSE file for details.
常见问题
Linear MCP Server 是什么?
将 Claude 连接到 Linear 项目管理系统,便捷地检索、创建并管理 issues 与 projects,提升协作效率。
Linear MCP Server 提供哪些工具?
提供 32 个工具,包括 linear_getViewer、linear_getOrganization、linear_getUsers 等。
相关 Skills
MCP构建
by anthropics
聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。
✎ 想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。
Slack动图
by anthropics
面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。
✎ 帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。
接口设计评审
by alirezarezvani
审查 REST API 设计是否符合行业规范,自动检查命名、HTTP 方法、状态码与文档覆盖,识别破坏性变更并给出设计评分,适合评审接口方案和版本迭代前把关。
✎ 做API和架构方案时,它能帮你提前揪出接口设计问题并对齐最佳实践,评审视角系统,团队协作更省心。
相关 MCP Server
Slack 消息
编辑精选by Anthropic
Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。
✎ 这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。
by netdata
io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。
✎ 这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。
by d4vinci
Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。
✎ 这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。