Linear

by tacticlaunch
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Enables interaction with Linear's GraphQL API, allowing querying and mutation operations for project management data.

  • Provides tools for interacting with Linear's GraphQL API, enabling AI assistants to retrieve issues, projects, and teams data, create and update issues, change issue status, assign issues to team members, add comments, and create projects and teams.

MCP 线性

Linear GraphQL API 的模型上下文协议 (MCP) 服务器实现,使 AI 助手能够与 Linear 项目管理系统进行交互。

特征

MCP Linear 通过实现 MCP 协议,弥合了 AI 助手和 Linear(项目管理工具)之间的差距。这允许:

  • 从 Linear 检索问题、项目、团队和其他数据
  • 创建和更新问题
  • 更改问题状态
  • 将问题分配给团队成员
  • 添加评论
  • 创建项目和团队

示例提示

连接后,您可以使用如下提示:

  • “显示我所有的 Linear 问题”
  • “在前端团队中创建一个名为‘修复登录错误’的新问题”
  • “将问题 FE-123 的状态更改为‘进行中’”
  • “将问题 BE-456 分配给 John Smith”
  • “向问题 UI-789 添加一条评论:‘这个问题需要在周五之前修复’”

安装

获取线性 API 令牌

要使用 MCP Linear,您需要一个 Linear API 令牌。获取方法如下:

  1. 登录您的 Linear 帐户(地址: linear.app)
  2. 点击组织头像(在左上角)
  3. 选择**“设置”**
  4. 导航至左侧边栏中的**“安全和访问”**
  5. **“个人 API 密钥”下,单击“新建 API 密钥”**
  6. 给你的密钥起一个名字(例如, MCP Linear Integration
  7. 复制生成的 API 令牌并安全存储 - 您将无法再次看到它!

通过Smithery安装(推荐)

  • 要安装 MCP Linear for Cursor:
npx -y @smithery/cli install @tacticlaunch/mcp-linear --client cursor
  • 要为 Claude Desktop 安装 MCP Linear:
npx -y @smithery/cli install @tacticlaunch/mcp-linear --client claude

手动配置

将以下内容添加到您的 MCP 设置文件:

{ "mcpServers": { "linear": { "command": "npx", "args": ["-y", "@tacticlaunch/mcp-linear"], "env": { "LINEAR_API_TOKEN": "<YOUR_TOKEN>" } } } }

客户端特定的配置位置

  • 游标: ~/.cursor/mcp.json
  • Claude 桌面: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Claude VSCode 扩展: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
  • GoMCP: ~/.config/gomcp/config.yaml

手动运行

先决条件

  • Node.js(v18+)
  • NPM 或 Yarn
  • 线性 API 令牌
# Install globally npm install -g @tacticlaunch/mcp-linear # Or clone and install locally git clone https://github.com/tacticlaunch/mcp-linear.git cd mcp-linear npm install npm link # Makes the package available globally

运行服务器

使用您的 Linear API 令牌运行服务器:

mcp-linear --token YOUR_LINEAR_API_TOKEN

或者在您的环境中设置令牌并运行而不带参数:

export LINEAR_API_TOKEN=YOUR_LINEAR_API_TOKEN mcp-linear

可用工具

请参阅TOOLS.md以获取可用工具和计划功能的完整列表。

发展

有关如何在本地开发的更多信息,请参阅DEVELOPMENT.md

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

MCP 服务器使 AI 助手能够通过自然语言与 Linear 项目管理系统进行交互,从而允许用户检索、创建和更新问题、项目和团队。

  1. Features
    1. Example prompts
      1. Installation
        1. Getting Your Linear API Token
        2. Installing via Smithery (Recommended)
        3. Manual Configuration
        4. Manual run
      2. Available Tools
        1. Development
          1. License
            ID: r0jy9qy35n