
Specshield Mcp Server
io.github.specshield26由 GitHub 帳號 specshield26 發布v1.0.2更新於 Oct 24, 2026
The API-change deploy gate for AI coding agents. Read-only breaking-change detection.
概覽
讓 AI 程式助理判斷 API 規格變更是否能安全部署,並說明破壞性變更與遷移步驟。
- 可以做什麼
- 這是一個連接 SpecShield 後端的唯讀轉接器,用來回答 API 變更的部署閘門問題。主要工具 is_change_safe 會指出變更是否可安全合併,以及風險與阻擋原因。其他工具可解釋破壞性變更、產生遷移指南與版本說明、比較兩份規格,並執行付費的治理審查。規格可內嵌傳入,也可依檔案路徑傳入。
- 適用情境
- 當助理正在審查 OpenAPI 等 API 變更,而你需要的不是原始差異而是部署結論時使用。適合合併前與發佈前的助理工作流程;同樣的檢查在 CI/CD 中可透過命令列工具完成。
- 執行需求
- 透過 npx 以 stdio 在本機執行,需要 Node.js 20 或更新版本。必須提供 SpecShield API 金鑰,放在 SPECSHIELD_API_KEY;選用設定為 SPECSHIELD_API_URL、SPECSHIELD_TIMEOUT_MS 與 SPECSHIELD_LOG_LEVEL。需要能連線到所設定的後端,治理審查工具需要付費方案。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Specshield Mcp Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
SpecShield MCP Server
The API-change deploy gate for AI coding agents. Ask "is it safe to ship this API change to my consumers?" right inside Claude, Cursor, and other MCP clients — and catch breaking changes before they reach your consumers.
It's a thin adapter over the SpecShield backend. Every tool is read-only / analyze-only — it never modifies your code.
Why not just diff specs? Plenty of tools (including free ones) list breaking changes. SpecShield's job is the decision: can I deploy this? — the deploy gate is the hero tool here.
⚙️ In CI/CD instead of an agent? The
specshieldCLI runs the same breaking-change andcan-i-deploychecks in your pipeline (GitHub Action, exit codes). Same job, two entry points: this server for AI agents, the CLI for CI/CD.
Tools
Tools 1–5 accept specs inline (baseSpecContent / targetSpecContent) or by path
(baseSpecPath / targetSpecPath). run_governance_review reviews a single spec
(specContent / specPath).
🔒 run_governance_review is a paid feature — a FREE API key returns a
payment_required error. Upgrade at specshield.io/pricing.
Full setup, verification & troubleshooting: docs/mcp-server-setup.md.
Install
Requires Node.js ≥ 20 and a SpecShield API key (from specshield.io/account).
Claude Desktop
claude_desktop_config.json:
Claude Code
Cursor
~/.cursor/mcp.json (or the project .cursor/mcp.json):
Configuration
Example prompts (lead with the deploy gate)
- "Here are my old and new
openapi.yaml— is it safe to ship this API change to my consumers?" - "Compare
v1.yamlandv2.yamland tell me if I can deploy, and why not." - "Explain the breaking changes between these two specs and how consumers should migrate."
- "Generate customer-facing release notes for this API change."
Security & privacy
- API key required. Sent only as the
X-Api-Keyheader to your configured backend. - Read-only / analyze-only. No mutation tools, no shell execution, no arbitrary file access (a spec file is read only when you explicitly pass a path).
- No secret or spec logging. The server never logs spec content, API keys, or request bodies; error messages are redacted and machine-readable.
- Specs are sent to your configured SpecShield backend for analysis.
Local development
License
MIT © SpecShield Software Private Limited
來源:README.md,提交 f69c1bb
工具
0版本歷史
1- v1.0.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分

