Linear模协
一种集成了Linear的模型上下文协议服务器,使人工智能助手能够创建、更新、搜索和评论项目管理及问题跟踪中的问题。
服务介绍
Linear MCP
一个为 Linear 提供问题跟踪和项目管理工具的 Model Context Protocol (MCP) 服务器。
配置
前往 Linear 安全设置 并创建一个 API 密钥:

然后,使用 LINEAR_API_KEY 环境变量进行配置:
# Add to your .env file
LINEAR_API_KEY=lin_api_xxxxxxxxxxxx
# Or export as environment variable
export LINEAR_API_KEY=lin_api_xxxxxxxxxxxx
运行服务器
uvx --from git+https://github.com/vinayak-mehta/linear-mcp linear-mcp
Docker
docker build -t linear-mcp:latest .
docker run -it --rm -e LINEAR_API=lin_api_xxxxxx linear-mcp:latest
要在 Claude Desktop 中使用它,看起来会是这样:
"linear-mcp-server": {
"command": "docker",
"args": [
"run",
"-it",
"--rm",
"-e",
"LINEAR_API_KEY=lin_api_xxxxxx",
"linear-mcp-server:latest"
]
}
资源
Linear MCP 提供以下类型的资源访问:
| 资源 | 描述 | 示例 URI |
|---|---|---|
| Issue | 特定 Linear 问题的详细信息 | linear-issue:///a1b2c3d4 |
| Team Issues | 某个特定团队的所有问题 | linear-team:///ENG/issues |
| User Issues | 分配给用户的任务 | linear-user:///me/assigned |
| Organization | 关于您的 Linear 组织的详细信息 | linear-organization: |
| Viewer | 认证用户的信息 | linear-viewer: |
工具
| 工具 | 描述 |
|---|---|
linear_create_issue |
使用标题、描述和其他属性创建一个新的 Linear 问题 |
linear_update_issue |
更新现有问题的属性 |
linear_search_issues |
使用灵活的过滤条件搜索问题 |
linear_get_user_issues |
检索分配给特定用户的问题 |
linear_add_comment |
向现有问题添加评论 |
示例提示
创建新问题
Create a bug ticket: "Login screen disappears like magic tricks at a birthday party!" Priority: HIGH, Team: Engineering
更新问题
Upgrade ENG-123 to "shooting star" priority! Users are excited! Change status to "Racing to the finish line!"
搜索问题
Find all Frontend tasks with "authentication" that are patiently waiting for their moment to shine
检索用户任务
What exciting challenges await me today in Linear?
添加评论
Add to DEV-456: "Temporarily paused while the API does its beauty routine. Back on it next sprint with fresh energy!"
组织概览
Show me our amazing team structure so I can appreciate all the talented people making this happen
许可证
Apache 2.0