
Linear MCP (multi-workspace, PAT auth)
io.github.adelaidasofia由 GitHub 账号 adelaidasofia 发布v0.3.2更新于 Oct 24, 2026
Multi-workspace Linear MCP — PAT auth, 57 tools + 3 prompts, substrate enforcement, drop-in.
发布方自己的服务:Linear
概览
让助手使用个人 API 密钥在多个工作区中读取和写入 Linear 议题、项目、评论和通知。
- 可以做什么
- 这是一个本地运行的 Linear MCP 服务器,提供 57 个工具和 3 个提示,覆盖团队、用户、项目、倡议、议题、周期、里程碑、标签、评论、文档、状态更新、Webhook、通知、附件、议题关系、代理会话和搜索。每个工具都可选传入工作区别名,因此一次安装即可路由到多个 Linear 工作区。写入路径带有服务端检查:创建时要求来源行并检测重复,批量修改议题需要确认短语。删除类操作采用先草稿后确认的模式。
- 适用场景
- 适合让助手直接处理 Linear 议题和项目,尤其是在需要跨多个工作区操作,或基于 OAuth 的方式不便使用时。其提示也适用于议题分诊、每周状态草稿和收件箱清理。
- 运行要求
- 以本地 Python 包(pipx 或 pip 安装)或 Claude Desktop 打包文件运行。需要为每个工作区提供一个 Linear 个人 API 密钥,通过 LINEAR_PAT 及按工作区命名的环境变量提供,并配置工作区别名和主工作区。需要访问 Linear API 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Linear MCP (multi-workspace, PAT auth),将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
linear-mcp
Multi-workspace Linear MCP server with Personal API Key auth. Drop-in replacement for the official OAuth-only Linear MCP at mcp.linear.app/mcp.
Why this exists. The official Linear MCP is OAuth-only and single-workspace per instance. PAT auth plus persistent token storage plus multi-workspace routing kills three failure modes:
- The OAuth flow is brittle across MCP client session boundaries — auth state expires when a session resumes mid-flow.
- The localhost callback fails in some setups, forcing fragile paste-back flows.
- One MCP instance per workspace doubles config + OAuth dances.
This server replaces both with one entry. One install, N workspaces, never an OAuth dance again.
Install
From PyPI
From source
Claude Desktop one-click
Download the latest .mcpb from Releases and double-click.
Configure
-
Generate one Personal API Key per workspace at https://linear.app/settings/account/security. You must be logged into each workspace separately while generating the key for that workspace.
-
Create
~/.claude/linear-mcp/admin.env(chmod 600):
Aliases are arbitrary — name them whatever helps you route (acme,beta, team1,team2, home,client).
- Register in Claude Code (user scope, so it loads in every project):
Or, with pipx install:
- Restart Claude Code.
healthcheckshould returnok: trueper workspace.
Substrate-layer enforcement (v0.3)
Three server-side checks that protect issue quality without depending on any markdown rule file or client-side memory. Apply only to WRITE paths; reads stay unconstrained.
Canonical-key examples:
[source: 🍄 Mycelium AI/📝 Meeting Notes/2026-05-22 - sync.md][source: ⚙️ Meta/Decisions/2026-05-23-merger-public-comms.md][source: linear-kickoff:sweep-myc-p1][source: ~/.claude/linear-mcp/BUILD_PROMPT_V03.md]
Fast issue execution
linear-exec is the short path for starting real work from a Linear issue.
It resolves the issue, checks blocking relations, scans same-project siblings
for obvious scope overlap, infers the repo when possible, and can create the
standard claude-dev-worktree branch.
Dry-run a specific issue:
Start the work after reviewing the preflight:
Find the next unblocked P1 issue in a workspace:
The command refuses to proceed when an upstream blocks relation is still
incomplete unless --force is passed. --no-state-update and --no-worktree
let agents use only the parts of the preflight they need.
Tool surface (v0.3 — 57 tools + 3 prompts)
Every tool takes an optional workspace parameter (the alias from LINEAR_WORKSPACES). Omit it to use LINEAR_PRIMARY_WORKSPACE.
Meta
Core entities
Webhooks (v0.2)
Notifications / inbox (v0.2)
Attachments (v0.2)
Issue relations (v0.2)
Agent sessions (v0.2)
Search (v0.2 — replaces v0.1's broken search_documentation)
MCP prompts (v0.2)
Available as slash commands in MCP clients that surface prompts:
/triage-issue— full triage pass: classify, label, prioritize, assign, link duplicates/project-status— draft a weekly status update from current Linear state/inbox-sweep— sweep today's notifications, propose actions, archive what's handled
Multi-workspace usage
Switch workspaces inline:
Without workspace, the primary is used.
Auth
Linear PATs use header Authorization: <key> (no Bearer prefix). Each PAT is scoped to one workspace and grants access only to data the owning user can see. There is no shared org token.
Rate limit: 2500 requests/hour per token (verified against live API 2026-05-23). The server passes Linear's Retry-After header through on 429 and surfaces remaining budget via healthcheck.
Safety
Read tools and routine writes (create/update issues, comments, labels, status updates) pass through. Destructive ops (delete_webhook, delete_attachment) use the draft+confirm pattern: the first call stages the change and returns a draft_id + preview of what will happen; the second call (with confirm_draft_id) commits. Drafts expire after 1 hour (override with LINEAR_MCP_DRAFT_TTL_SECONDS).
Every tool call appends one JSONL line to ~/.claude/linear-mcp/audit.log (override with LINEAR_MCP_AUDIT_LOG_PATH, disable with LINEAR_MCP_AUDIT_LOG=false). Tokens are stripped from audit records.
healthcheck surfaces each PAT's remaining rate-limit budget (X-RateLimit-Requests-Remaining + X-Complexity-Remaining) per workspace, so agents can self-throttle without making a separate observability call.
Related MCPs
- adelaidasofia/slack-mcp — multi-workspace Slack with draft+confirm
- adelaidasofia/whatsapp-mcp — WhatsApp via whatsmeow + vault export
- adelaidasofia/imessage-mcp — iMessage chat.db + vault export
- adelaidasofia/github-mcp — GitHub PR/issue/release
License
MIT.
Built by Adelaida Diaz-Roa. Full install or team version at diazroa.com.
来源:README.md,提交 8230fc2
工具
0版本历史
1- v0.3.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Linear 集成
Linear
app.linear官方发布者
在您的 Linear 工作区中查找和管理问题、项目和文档。AI 翻译

Linear Mcp
由 GitHub 账号 mrfentmen 发布
一个本地 MCP 服务器,让助手查询 Linear GraphQL API,获取当前用户、团队和议题搜索结果。

Linear Project
org.openlyuseful
一个受范围门控的本地 MCP 服务器,用于管理 Linear 项目,并可选接入只读 GitHub 证据和本地 Obsidian 笔记适配器。

Linear Bootstrap
由 GitHub 账号 toolwright-adk 发布
本地 MCP 服务器,可根据自然语言描述在 Linear 中创建包含里程碑、史诗、议题和依赖关系的项目。

Linear ID Shape
由 GitHub 账号 sadri-dridi 发布
一个远程 MCP 服务器,提供小型实用检查:ID 与 URL 形态、时间、JSON 合法性、HTTP 状态、天气及少量索引查询。