
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 狀態、天氣及少量索引查詢。