Linear MCP Server

平台与服务

by emmett-deen

将 Claude 连接到 Linear 项目管理系统,便捷地检索、创建并管理 issues 与 projects,提升协作效率。

什么是 Linear MCP Server

将 Claude 连接到 Linear 项目管理系统,便捷地检索、创建并管理 issues 与 projects,提升协作效率。

核心功能 (32 个工具)

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_getIssueById

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

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_duplicateIssue

Duplicate an issue

linear_getIssueHistory

Get the history of changes made to an issue

linear_getComments

Get all comments for an issue

README

Linear MCP Server

A Model Context Protocol (MCP) server implementation for the Linear GraphQL API that enables AI assistants to interact with Linear project management systems.

Linear MCP Server npm version Smithery

Features

  • Access to Linear's GraphQL API through MCP tools
  • Authentication via Linear API key
  • Retrieve and modify data related to users, teams, projects, and issues
  • Create, update and comment on issues
  • Add and remove labels
  • Create projects
  • Comprehensive documentation of available tools

Installation

Installing via Smithery (Recommended)

To install Linear MCP Server for Claude Desktop automatically via Smithery:

bash
npx -y @smithery/cli install @emmett.deen/linear-mcp-server --client claude

Manual Configuration

After installation, add the following to your MCP settings file:

json
{
  "mcpServers": {
    "linear": {
      "command": "npx",
      "args": ["-y", "@emmett.deen/linear-mcp-server"],
      "env": {
        "LINEAR_API_KEY": "your_linear_api_key_here"
      }
    }
  }
}

Client-Specific Configuration Locations

  • 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

Manual Installation

  1. Clone the repository
bash
git clone https://github.com/yourusername/Linear-MCP-Server.git
cd Linear-MCP-Server
  1. Install dependencies
bash
npm install
  1. Build the project
bash
npm run build
  1. Create a .env file with your Linear API token
code
LINEAR_API_KEY=your_linear_api_key_here
  1. Start the server
bash
npm start

Available Tools

See TOOLS.md for a complete list of available tools and planned features.

Overview

Linear-MCP-Server bridges the gap between Claude (AI assistant) and Linear (project management tool) by implementing the MCP protocol. This allows Claude to:

  • Retrieve issues, projects, teams, and other data from Linear
  • Create and update issues
  • Change issue status
  • Assign issues to team members
  • Add comments
  • Create projects and teams

The server uses Linear's GraphQL API and authenticates via user tokens (not OAuth) for simplicity.

Getting Started

Prerequisites

  • Node.js (v18+)
  • NPM or Yarn
  • Linear API token

Installation

bash
# Install globally
npm install -g @emmett.deen/linear-mcp-server

# Or clone and install locally
git clone https://github.com/yourusername/Linear-MCP-Server.git
cd Linear-MCP-Server
npm install
npm link  # Makes the package available globally

Running the Server

Run the server with your Linear API token:

bash
linear-mcp-server --token YOUR_LINEAR_API_TOKEN

Or set the token in your environment and run without arguments:

bash
export LINEAR_API_TOKEN=YOUR_LINEAR_API_TOKEN
linear-mcp-server

Using with Claude Desktop

To use this MCP server with Claude Desktop:

  1. Enable Developer Mode in Claude Desktop (from the menu bar)
  2. Go to Settings > Developer options
  3. Click "Add Server"
  4. Configure with the following settings:
    • Name: Linear MCP Server
    • Type: Local Process
    • Command: linear-mcp-server
    • Arguments: --token YOUR_LINEAR_API_TOKEN

Alternatively, manually edit the config file:

json
{
  "mcp": {
    "servers": [
      {
        "name": "Linear MCP Server",
        "transport": {
          "type": "stdio",
          "command": "linear-mcp-server",
          "args": ["--token", "YOUR_LINEAR_API_TOKEN"]
        }
      }
    ]
  }
}
  1. Save the config
  2. Restart Claude Desktop (quit completely and reopen)
  3. You should now see Linear MCP Server available as a tool in Claude

Example Claude Prompts

Once connected to Claude Desktop, you can use prompts like:

  • "Show me all my Linear issues"
  • "Create a new issue titled 'Fix login bug' in the Frontend team"
  • "Change the status of issue FE-123 to 'In Progress'"
  • "Assign issue BE-456 to John Smith"
  • "Add a comment to issue UI-789: 'This needs to be fixed by Friday'"

Development

To develop locally:

bash
# Clone the repository
git clone https://github.com/yourusername/Linear-MCP-Server.git
cd Linear-MCP-Server

# Install dependencies
npm install

# Run in development mode
npm run dev -- --token YOUR_LINEAR_API_TOKEN

Extending the Server

To add new tools to the server:

  1. Follow the implementation guide in the TOOLS.md document
  2. Make sure to follow the established code structure in the src/ directory
  3. Update the documentation to reflect your changes

Developing and Contributing

Setup Development Environment

  1. Clone the repository
bash
git clone https://github.com/yourusername/Linear-MCP-Server.git
cd Linear-MCP-Server
  1. Install dependencies
bash
npm install
  1. Start in development mode
bash
npm run dev

Publishing to npm

To publish this package to npm:

  1. Update the version in package.json
bash
npm version patch  # or minor, or major
  1. Build the project
bash
npm run build
  1. Make sure you've already logged in to npm
bash
npm login
  1. Publish to npm
bash
npm publish --access public
  1. For Smithery registry, you'll need to work with the Smithery team to get your server listed in their catalog.

License

This project is licensed under the MIT License - see the LICENSE file for details.

常见问题

Linear MCP Server 是什么?

将 Claude 连接到 Linear 项目管理系统,便捷地检索、创建并管理 issues 与 projects,提升协作效率。

Linear MCP Server 提供哪些工具?

提供 32 个工具,包括 linear_getViewer、linear_getOrganization、linear_getUsers

相关 Skills

MCP构建

by anthropics

Universal
热门

聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。

想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。

平台与服务
未扫描109.6k

Slack动图

by anthropics

Universal
热门

面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。

帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。

平台与服务
未扫描109.6k

接口设计评审

by alirezarezvani

Universal
热门

审查 REST API 设计是否符合行业规范,自动检查命名、HTTP 方法、状态码与文档覆盖,识别破坏性变更并给出设计评分,适合评审接口方案和版本迭代前把关。

做API和架构方案时,它能帮你提前揪出接口设计问题并对齐最佳实践,评审视角系统,团队协作更省心。

平台与服务
未扫描9.0k

相关 MCP Server

Slack 消息

编辑精选

by Anthropic

热门

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。

平台与服务
82.9k

by netdata

热门

io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。

这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。

平台与服务
78.3k

by d4vinci

热门

Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。

这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。

平台与服务
34.5k

评论