L

Linear MCP服务器

@samcfinan/linear-mcp-server
0 Stars 32 次浏览 samcfinan 更新于 2026-08-23

通过模型上下文协议使用 Linear API 简化项目管理,允许用户通过创建、查看、更新和优先级排序等功能管理计划、项目、问题及其相互关系。

该服务暂未提供标准配置,请参考 README 手动接入

服务介绍

Linear MCP 服务器

一个用于 Linear APIModel Context Protocol 服务器。

旨在比现有的 Linear MCP 服务器功能更丰富,并通过 Claude 进行全面的项目管理。

这是基于 https://github.com/jerhadf/linear-mcp-server 并增加了更多功能。

特性:

  • 计划
  • 项目
  • 问题
  • 关系
  • 优先级

安装

将服务器配置添加到 Claude 桌面应用程序中。

注意:Claude 与 nvm 环境兼容性不佳。请确保使用 Node 的绝对路径来引用其版本。

{
  "mcpServers": {
    "linear": {
      "command": "/Users/USERNAME/.nvm/versions/node/v22.13.0/bin/node",
      "args": [
        "--experimental-strip-types",
        "/absolute/path/to/repo/index.ts"
      ],
      "env": {
        "LINEAR_API_KEY": "your_linear_api_key_here"
      }
    }
  }
}

可用工具

项目管理

  • create-project - 创建一个新的 Linear 项目
  • view-project - 通过 ID 查看一个 Linear 项目
  • update-project - 更新一个 Linear 项目

计划管理

  • create-initiative - 创建一个新的 Linear 计划
  • view-initiative - 通过 ID 查看一个 Linear 计划
  • update-initiative - 更新一个 Linear 计划

问题管理

  • create-issue - 创建一个新的 Linear 问题
  • view-issue - 通过 ID 查看一个 Linear 问题
  • update-issue - 更新一个 Linear 问题
  • search-issues - 搜索 Linear 问题

问题关系

  • create-issue-relation - 在两个问题之间创建关系(阻塞、重复等)
  • view-issue-relations - 查看给定问题的所有关系
  • delete-issue-relation - 删除两个问题之间的关系

示例

User:
Break the Implement Contact API Endpoints issue into multiple issues, one for each endpoint

Claude:
I'll break down the API endpoints issue into separate issues for each endpoint and create the appropriate relationships.


View result from create-issue from linear (local)


View result from create-issue from linear (local)


View result from create-issue from linear (local)


View result from create-issue from linear (local)


View result from create-issue from linear (local)

Now let's create the relationships between these new issues and the existing ones. First, they all depend on the TypeScript Models issue:


View result from create-issue-relation from linear (local)


View result from create-issue-relation from linear (local)


View result from create-issue-relation from linear (local)


View result from create-issue-relation from linear (local)


View result from create-issue-relation from linear (local)

I've created five separate issues for each endpoint and set up their relationships:

GET /contacts (List) - d1aae514
GET /contacts/:id (Single) - 01850d5d
POST /contacts (Create) - 2e0f2b75
PUT /contacts/:id (Update) - d22b143d
DELETE /contacts/:id (Delete) - dde30779
All of these endpoints depend on the TypeScript Models issue (2c38c6ee) being completed first.

The UI Components issue (dd214884) and Search/Filter issue (81a33a29) now should depend on the completion of these endpoint issues, particularly the GET endpoints.

Would you like me to:

Create those additional relationships with the UI Components?
Add any specific cross-dependencies between the endpoints themselves?
Break down any of these endpoint issues into more granular tasks?

相关 MCP 服务