问题追踪与项目管理协议

Linear MCP是一个用于Linear的问题追踪和项目管理的模型上下文协议服务器,提供创建、更新、搜索问题等功能。

  • by vinayak-mehta
  • Python
  • 本地部署
  • 6 星标
  • 更新于
在 GitHub 查看 vinayak-mehta/linear-mcp

使用说明

线性MCP

Linear的模型上下文协议(MCP)服务器,提供问题跟踪和项目管理工具。

配置

首选 线性安全设置 并创建API密钥:

然后,使用配置 LINEAR_API_KEY env变量:

# 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 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
问题 特定线性问题的详细信息 linear-issue:///a1b2c3d4
团队问题 特定团队的所有问题 linear-team:///ENG/issues
用户问题 分配给用户的问题 linear-user:///me/assigned
组织 关于您的线性组织的详细信息 linear-organization:
查看器 有关已验证用户的信息 linear-viewer:

工具

工具 说明
linear_create_issue 使用标题、描述和其他属性创建新的线性问题
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