线性 MCP 服务器
线性模型上下文协议 (MCP) 服务器实现,提供用于访问线性资源的 MCP 接口。
使用光标设置
克隆存储库并安装依赖项:
创建启动脚本:
在游标中配置:
打开光标设置
在 MCP 服务器部分添加新服务器
选择类型:
Command
设置命令:
sh /absolute/path/to/linear.sh
现在您可以在 Cursor 中使用 Linear MCP 服务器。
您可以从线性设置页面获取线性 API 密钥。
启动服务器:
可用工具
创建问题
使用指定参数创建新的线性问题:
title
(必填):问题标题teamId
(必填):团队IDdescription
(可选):问题描述priority
(可选):问题优先级(0:无优先级,1:紧急,2:高,3:中,4:低)stateId
(可选):州 IDassigneeId
(可选):受让人IDestimate
(可选):问题估计labelIds
(可选):标签 ID 数组
搜索问题
使用查询字符串搜索线性问题。支持各种过滤器:
assignee:@me
:显示分配给您的问题priority:[value]
:按优先级过滤数值(0-4)
文本值:“无”、“紧急”、“高”、“中”、“低”
注意:
priority:high
包括紧急和高优先级问题
state:[value]
或status:[value]
:按州名称过滤team:[value]
:按团队名称过滤label:[value]
:按标签名称过滤标题和描述的自由文本搜索
读取资源
使用 URI 读取线性资源:
linear://organization
- 组织详细信息linear://issues
- 问题列表linear://issues/{id}
- 具体问题详情linear://teams
- 团队列表linear://teams/{id}
- 具体团队详情
速率限制
服务器通过以下方式实现速率限制:
每小时 1000 个请求限制
自动请求跟踪
每个响应中包含的指标
错误处理
服务器提供以下详细的错误消息:
线性 API 错误
超出速率限制
无效的资源类型
身份验证问题
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
通过 MCP 接口实现与 Linear 资源的交互,提供问题管理和资源检索功能,并支持速率限制和错误处理。
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityEnables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.Last updated -833
- -securityAlicense-qualityA 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.Last updated -236329MIT License
- AsecurityAlicenseAqualityAn MCP server that provides tools for interacting with Linear issue tracking system, currently supporting issue search with plans to expand to issue creation, updates, comments, and project management.Last updated -341MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to interact with Linear project management systems, allowing users to retrieve, create, and update issues, projects, and teams through natural language.Last updated -42561106MIT License