VM

vinayak-mehta/linear-mcp

部署与 DevOps

本页由 AI 翻译,技术细节请以原文为准。 查看原文

6 stars 4 forks 质量 58 趋势 0Apache-2.0

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

概览

用于Linear的模型上下文协议(MCP)服务器,为问题跟踪和项目管理提供工具. 转到线性安全设置并创建 API 密钥 : 然后,用 LINEAR API KEY env 变量配置它 : 用在克洛德桌面上,它看起来是这样的: 线性MCP提供下列资源类型的访问:

概述(AI 翻译)

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

□ 配置

转到线性安全设置并创建 API 密钥 :

然后,用 LINEAR_API_KEY 嵌入变量配置它 :

□ 运行服务器

{\fn华文楷体\fs16\1cHE0E0E0}多克

用在克洛德桌面上,它看起来是这样的:

□ 资源

线性MCP提供下列资源类型的访问:

  • 资源 * * 说明 * * 实例 URI * * * |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- QQ 发行QQ 特定线性问题的细节 QQ linear-issue:///a1b2c3d4. QQ 团队问题 QQ 特定团队的所有问题 linear-team:///ENG/issues QQ QQ 用户问题 QQ 分配给用户的问题 QQ linear-user:///me/assigned QQ [T4] 有关你线性组织的详情 QQ查看器 QQ关于认证用户的信息 QQlinear-viewer: QQ

□ 工具

  • 工具 * * 描述 * * |-|-|-. QQ linear_create_issue 创建有标题,描述等属性的新线性问题 QQ QQ linear_update_issue 更新现有问题属性 QQ linear_search_issues 使用灵活过滤标准的搜索问题

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Linear MCP

A Model Context Protocol (MCP) server for Linear, providing tools for issue tracking and project management.

Configuration

Go to Linear security settings and create an API key:

Then, configure it with the LINEAR_API_KEY env variable:

# Add to your .env file
LINEAR_API_KEY=lin_api_xxxxxxxxxxxx

# Or export as environment variable
export LINEAR_API_KEY=lin_api_xxxxxxxxxxxx

Running the Server

uvx --from git+https://github.com/vinayak-mehta/linear-mcp linear-mcp

Docker

docker build -t linear-mcp:latest .
docker run -it --rm -e LINEAR_API=lin_api_xxxxxx linear-mcp:latest

And to use this in Claude Desktop, it would look like this:

    "linear-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-it",
        "--rm",
        "-e",
        "LINEAR_API_KEY=lin_api_xxxxxx",
        "linear-mcp-server:latest"
      ]
    }

Resources

Linear MCP provides access to the following resource types:

Resource Description Example URI
Issue Details of a specific Linear issue linear-issue:///a1b2c3d4
Team Issues All issues for a specific team linear-team:///ENG/issues
User Issues Issues assigned to a user linear-user:///me/assigned
Organization Details about your Linear organization linear-organization:
Viewer Information about the authenticated user linear-viewer:

Tools

Tool Description
linear_create_issue Create a new Linear issue with title, description, and other attributes
linear_update_issue Update an existing issue’s properties
linear_search_issues Search issues using flexible filtering criteria
linear_get_user_issues Retrieve issues assigned to a specific user
linear_add_comment Add a comment to an existing issue

Example Prompts

Creating a New Issue

Create a bug ticket: "Login screen disappears like magic tricks at a birthday party!" Priority: HIGH, Team: Engineering

Updating an Issue

Upgrade ENG-123 to "shooting star" priority! Users are excited! Change status to "Racing to the finish line!"

Searching for Issues

Find all Frontend tasks with "authentication" that are patiently waiting for their moment to shine

Retrieving User Tasks

What exciting challenges await me today in Linear?

Adding a Comment

Add to DEV-456: "Temporarily paused while the API does its beauty routine. Back on it next sprint with fresh energy!"

Organization Overview

在 GitHub 查看完整 README

安装

docker run -it --rm -e LINEAR_API_KEY=lin_api_xxxxxx linear-mcp-server:latest
新手?先看 mcpskill.org 教程 →