MCP Linear - AI助手与Linear集成

MCP Linear - AI助手与Linear集成

通过自然语言让AI助手与Linear项目管理系统交互,支持检索、创建和更新问题、项目及团队。

快速入门

安装

推荐使用 Smithery 安装:

  • Cursor 用户运行:npx -y @smithery/cli install @tacticlaunch/mcp-linear --client cursor
  • Claude Desktop 用户运行:npx -y @smithery/cli install @tacticlaunch/mcp-linear --client claude

手动配置

  1. 获取 Linear API Token:
    • 登录 linear.app,进入 Settings > Security & access > Personal API Keys 创建。
  2. 在 MCP 配置文件中添加以下内容:
{
  "mcpServers": {
    "linear": {
      "command": "npx",
      "args": ["-y", "@tacticlaunch/mcp-linear"],
      "env": {
        "LINEAR_API_TOKEN": "<YOUR_TOKEN>"
      }
    }
  }
}

配置文件路径:

  • Cursor: ~/.cursor/mcp.json

运行

安装后运行命令:mcp-linear --token YOUR_LINEAR_API_TOKEN 或设置环境变量后直接运行 mcp-linear