Linear

Linear

一个模型上下文协议服务器,使 AI 助手能够与 Linear 项目管理系统交互,允许用户通过自然语言检索、创建和更新议题、项目和团队。

Category
访问服务器

Tools

linear_getIssueById

Get a specific issue by ID or identifier (e.g., ABC-123)

linear_duplicateIssue

Duplicate an issue

linear_getIssueHistory

Get the history of changes made to an issue

linear_getViewer

Get information about the currently authenticated user

linear_getOrganization

Get information about the current Linear organization

linear_getUsers

Get a list of users in the Linear organization

linear_getLabels

Get a list of issue labels from Linear

linear_getTeams

Get a list of teams from Linear

linear_getWorkflowStates

Get workflow states for a team

linear_getProjects

Get a list of projects from Linear

linear_createProject

Create a new project in Linear

linear_updateProject

Update an existing project in Linear

linear_addIssueToProject

Add an existing issue to a project

linear_getProjectIssues

Get all issues associated with a project

linear_getCycles

Get a list of all cycles

linear_getActiveCycle

Get the currently active cycle for a team

linear_addIssueToCycle

Add an issue to a cycle

linear_getIssues

Get a list of recent issues from Linear

linear_searchIssues

Search for issues with various filters

linear_createIssue

Create a new issue in Linear

linear_updateIssue

Update an existing issue in Linear

linear_createComment

Add a comment to an issue in Linear

linear_addIssueLabel

Add a label to an issue in Linear

linear_removeIssueLabel

Remove a label from an issue in Linear

linear_assignIssue

Assign an issue to a user

linear_subscribeToIssue

Subscribe to issue updates

linear_convertIssueToSubtask

Convert an issue to a subtask

linear_createIssueRelation

Create relations between issues (blocks, is blocked by, etc.)

linear_archiveIssue

Archive an issue

linear_setIssuePriority

Set the priority of an issue

linear_transferIssue

Transfer an issue to another team

linear_getComments

Get all comments for an issue

README

MCP Linear

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

MCP Linear npm version smithery badge

<a href="https://glama.ai/mcp/servers/@tacticlaunch/mcp-linear"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@tacticlaunch/mcp-linear/badge" /> </a>

功能

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

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

示例提示

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

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

安装

获取您的 Linear API Token

要使用 MCP Linear,您需要一个 Linear API token。 获取方式如下:

  1. 登录到您的 Linear 帐户:linear.app
  2. 点击组织头像(在左上角)
  3. 选择 Settings(设置)
  4. 在左侧边栏中导航到 Security & access(安全与访问)
  5. Personal API Keys(个人 API 密钥)下,点击 New API Key(新建 API 密钥)
  6. 为您的密钥命名(例如,MCP Linear Integration
  7. 复制生成的 API token 并安全地存储它 - 您将无法再次看到它!

通过 Smithery 安装(推荐)

  • 为 Cursor 安装 MCP Linear:
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: ~/.cursor/mcp.json
  • Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Claude VSCode Extension: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
  • GoMCP: ~/.config/gomcp/config.yaml

手动运行

前提条件

  • Node.js (v18+)
  • NPM 或 Yarn
  • Linear API token
# 全局安装
npm install -g @tacticlaunch/mcp-linear

# 或者克隆并在本地安装
git clone https://github.com/tacticlaunch/mcp-linear.git
cd mcp-linear
npm install
npm link  # 使该包在全局可用

运行服务器

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

mcp-linear --token YOUR_LINEAR_API_TOKEN

或者在您的环境中设置 token 并在没有参数的情况下运行:

export LINEAR_API_TOKEN=YOUR_LINEAR_API_TOKEN
mcp-linear

可用工具

有关可用工具和计划功能的完整列表,请参见 TOOLS.md

开发

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

链接

tacticlaunch/cursor-memory-bank - 如果您是一名希望通过 Cursor 增强工作流程的开发人员,请考虑尝试一下。

许可证

该项目已获得 MIT 许可证的许可 - 有关详细信息,请参见 LICENSE 文件。

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选