返回 MCP 目录
public公开dns本地运行

MCP线性问题服务器

一个MCP服务器,提供与Linear问题跟踪系统交互的工具,目前支持问题搜索,并计划扩展到问题创建、更新、评论和项目管理。

article

README

mcp-server-linear

This is a MCP server that defines tools for interacting with Linear via an MCP client.

Current Tools

  • linear-search-issues: Search for issues in Linear

Future Tools

  • linear-create-issue: Create an issue in Linear
  • linear-update-issue: Update an issue in Linear
  • linear-get-issue: Get an issue in Linear
  • linear-get-project-issues: Get all issues in a project in Linear
  • linear-add-comment: Add a comment to an issue in Linear
  • linear-create-project: Create a project in Linear
  • linear-update-project: Update a project in Linear

Future Resources

  • linear-issue:///{issueId} - View individual issue details
  • linear-project:///{projectId} - View project details
  • linear-cycle:///{cycleId} - View cycle details (defaults to current cycle)
  • linear-team:///{teamId}/issues - View team issues
  • linear-user:///{userId}/assigned - View user's assigned issues
  • linear-organization: - View organization info

Bun-preferred

This project uses Bun and can be run directly from Bun without transpiling (which is how I use it). To run it with Bun, you can use the following command:

bun run index.ts

That said, you can run it with Node if you prefer. To run it with Node, you can use the following command:

node build/index.js

Standalone Executable

Bun projects can be compiled into standalone executable. This allows you to run the server without having to install Bun (theoretically). To compile the project into a standalone executable, you can use the following command:

bun build:standalone

You may need to change the build target depending on the machine you are building for. See Bun docs for more details.

Adding to your MCP client via JSON

To add this server to your MCP client, you can use the following JSON configuration:

Bun Runtime

"linear": {
  "command": "bun",
  "args": [
    "run",
    "/path/to/linear-mcp-server/index.ts"
  ],
  "env": {
    "LINEAR_API_KEY": "lin_api_ABCD"
  }
}

Node Runtime

"linear": {
  "command": "node",
  "args": [
    "/path/to/linear-mcp-server/build/index/js"
  ],
  "env": {
    "LINEAR_API_KEY": "lin_api_ABCD"
  }
}

Standalone Executable

"linear": {
  "command": "/path/to/linear-mcp-server/standalone-linear-mcp-server",
  "args": [],
  "env": {
    "LINEAR_API_KEY": "lin_api_ABCD"
  }
}

Credits

This project was inspired by jerhadf/linear-mcp-server. I and others had trouble getting it to work, which prompted me to create my own implementation. The list of tools and resources seemed worth keeping.

License

MIT

help

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端