Skip to main content
Glama
Linear MCP Server

Linear MCP Server

线性 MCP

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

配置

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

线性安全设置

然后,使用LINEAR_API_KEY环境变量进行配置:

# Add to your .env file
LINEAR_API_KEY=lin_api_xxxxxxxxxxxx

# Or export as environment variable
export LINEAR_API_KEY=lin_api_xxxxxxxxxxxx

Related MCP server: MCP Linear App

运行服务器

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

要在 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

Available Tools

5 tools
linear_add_commentB

Add a comment to an issue.

Args:
    issue_id: Issue ID to comment on
    body: Comment text (markdown supported)
    create_as_user: Custom username
    display_icon_url: Custom avatar URL

Inputs: issue_id (required), body (required), create_as_user, display_icon_url. Returns: result

linear_create_issueB

Create a new Linear issue.

Args:
    title: Issue title
    team_id: Team ID to create issue in
    description: Issue description (markdown supported)
    priority: Priority level (1=urgent, 4=low)
    status: Initial status name

Inputs: title (required), team_id (required), description, priority, +1 more. Returns: result

linear_get_user_issuesB

Get issues assigned to a user.

Args:
    user_id: User ID (omit for authenticated user)
    include_archived: Include archived issues
    limit: Max results (default: 50)

Inputs: user_id, include_archived, limit. Returns: result

linear_search_issuesB

Search issues with flexible filtering.

Args:
    query: Text to search in title/description
    team_id: Filter by team
    status: Filter by status
    assignee_id: Filter by assignee
    labels: Filter by labels
    priority: Filter by priority
    estimate: Filter by estimate points
    include_archived: Include archived issues
    limit: Max results (default: 10)

Inputs: query, team_id, status, assignee_id, +5 more. Returns: result

linear_update_issueB

Update an existing Linear issue.

Args:
    id: Issue ID to update
    title: New title
    description: New description
    priority: New priority (1=urgent, 4=low)
    status: New status name

Inputs: id (required), title, description, priority, +1 more. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: add_comment, create_issue, get_user_issues, search_issues, and update_issue target specific operations with no overlap. The descriptions reinforce these distinctions, making misselection unlikely.

    Naming Consistency5/5

    All tools follow a consistent 'linear_verb_noun' pattern (e.g., linear_add_comment, linear_create_issue). This predictable naming scheme enhances readability and agent usability without any deviations.

    Tool Count4/5

    With 5 tools, the count is reasonable for a Linear issue management server, covering core operations. It feels slightly thin but not inadequate, as key functions like create, read, update, and search are present.

    Completeness4/5

    The toolset covers essential CRUD operations for Linear issues (create, get, update, comment) and includes search functionality. Minor gaps exist, such as no delete_issue or list_teams tools, but agents can manage core workflows effectively.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.
      348
      MIT
    • F
      license
      B
      quality
      D
      maintenance
      A server that enables AI assistants to interact with Linear's project management tools through the Model Context Protocol, supporting features like searching, creating, and updating issues, adding comments, and retrieving user profiles and team information.
      9
      1
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server implementation that enables AI assistants to interact with Linear project management systems, allowing them to create, retrieve, and modify data related to issues, projects, teams, and users.
      3
      MIT
    • A
      license
      A
      quality
      F
      maintenance
      A Model Context Protocol server that enables large language models to interact with Linear's issue tracking system, allowing management of issues, projects, teams, and other Linear resources.
      19
      21 npm
      1
      MIT