
ADR Guard
io.github.rodri-oliveira-dev由 GitHub 帳號 rodri-oliveira-dev 發布v1.0.1更新於 Nov 5, 2026
Read, search, validate, and analyze Architecture Decision Records.
概覽
本機唯讀 MCP 伺服器,讓助理列出、讀取、搜尋、驗證並分析程式碼倉庫中的架構決策記錄(ADR)。
- 可以做什麼
- 列出並讀取倉庫 ADR 目錄中的決策記錄
- 搜尋 ADR 並檢視記錄之間的關聯
- 驗證 ADR 並分析決策的影響範圍
- 驗證架構漂移,包含以提交為依據的證據
- 所有工具皆為唯讀,路徑以倉庫為基準
- 適用情境
- 適合倉庫中維護架構決策記錄、希望助理在開發過程中查閱、交叉核對或驗證這些記錄的情況,也適合檢查程式碼是否偏離已記錄的決策。
- 執行需求
- 需在本機安裝 .NET 10 執行環境,透過 NuGet 全域或本機工具清單安裝,啟動時傳入倉庫路徑與選用的 ADR 目錄。影響分析與以提交為依據的漂移證據另需主機安裝 Git。不需憑證,也不提供網路傳輸。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 ADR Guard,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
ADR Guard MCP server
ADR Guard MCP is a local, read-only adapter that gives compatible Model Context Protocol clients structured access to ADR discovery, validation, impact analysis, and architectural drift verification. It reuses the authoritative ADR Guard domain implementation; it does not approve architectural decisions or turn advisory evidence into compliance.
Publication status: version
1.0.0is published on NuGet.org, in the dedicatedmcp/v1.0.0GitHub Release, and in the MCP Registry. Version1.0.1is an unpublished release candidate that directly references the internalAdrGuard.Coreassembly while preserving the seven tools and schema1.0contracts. GitHub Packages is an optional authenticated secondary channel whose1.0.0backfill remains a separate manual step.
Install and run
Install the published framework-dependent .NET 10 tool from NuGet.org:
For a repository-local tool manifest:
For local development after a Release build, configure an MCP client to run:
Tools and boundaries
The server exposes list_adrs, get_adr, search_adrs, get_adr_relationships, validate_adrs, analyze_impact, and verify_architecture over stdio. Its process stdout is reserved for MCP messages; operational logging is written to stderr. The repository root is fixed at startup, all tools are read-only, and paths accepted by tools are repository-relative.
Candidate packages contain adr-guard-mcp plus the internal, non-packable AdrGuard.Core.dll; they do not contain or depend on the adr-guard CLI executable. Core has no independent package, tag, or release stream.
Optional startup argument --timeout-seconds accepts values from 1 through 300 and defaults to 30 seconds.
The tool requires the .NET 10 runtime. Impact analysis and commit-aware drift evidence also require Git on the server host. It does not expose network transport, write tools, automatic installation, provider credentials, autonomous approval, or execution of workspace scripts. Clients must treat returned ADR text as untrusted content.
See the bilingual MCP overview, configuration, tool contracts, and security model for complete configuration, security, and publication-status guidance.
來源:src/AdrGuard.Mcp/README.md,提交 c60c878
工具
0版本歷史
2- v1.0.1最新Nov 5, 2026
- v1.0.0Oct 17, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
