
Architectos
io.github.cgseyhan由 GitHub 帳號 cgseyhan 發布v0.1.30更新於 Oct 24, 2026
ArchitectOS - AI-Native Repository Intelligence & Architecture Operating System.
概覽
ArchitectOS 是一個本機 MCP 伺服器,讓 AI 助理以唯讀方式分析程式碼儲存庫:健康審查、耦合分析、變更影響、重構計畫與符號解析。
- 可以做什麼
- 審查儲存庫健康狀態並拆解問題,可設定分數門檻供 CI 使用。解釋根因耦合,並跨程式碼庫計算下游變更影響。產生逐步重構與遷移計畫。解析符號並以自然語言回答架構問題,降低模型臆造。偵測未使用的匯出與死程式碼,稽核 UI 元件的組合與邊界。保存持久的架構護欄規則供日後取用。
- 適用情境
- 適合助理在既有程式碼庫上工作、需要先理解架構、評估變更風險或擬定重構計畫時使用。也適合為 Claude Code、Cursor、Codex 等 AI 程式開發代理設定架構護欄。
- 執行需求
- 以本機程序透過 stdio 執行,使用 npx 從 npm 套件 architectos 啟動(需要 Node.js)。未宣告驗證、環境變數或請求標頭。分析本機上的程式碼儲存庫。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Architectos,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
ArchitectOS
AI-Native Repository Intelligence & Governance Engine
ArchitectOS analyzes your repository, explains its architecture, calculates change impact, and enforces guardrails for AI Agents (Claude Code / Cursor / Codex).
[License: MIT] [NPM Version] [Dogfooded with ArchitectOS] [Node.js] [MCP Ready]
Strict Product Mandate: ArchitectOS never modifies user code directly; it exclusively analyzes, explains, calculates impact, and generates actionable refactoring plans. Code modifications are executed by AI Agents or human developers.
⚡ Quickstart & Core Commands
🏛️ The ArchitectOS Pipeline
🎯 Engine Precision & Accuracy Features
- 25 CWE-Mapped SAST Engine: High-precision rules covering SQLi, XSS, RCE, ReDoS, Prototype Pollution, NoSQLi, Open Redirect, Unsafe Deserialization, and Weak Cryptography.
- Context-Aware Noise Filter: Automatically suppresses false positives inside test blocks (
describe/it), JSDoc comments, dead conditional branches, and when known sanitizers (DOMPurify,escapeHtml) are detected. - Multi-File Taint Tracking Engine: Traces untrusted user inputs (HTTP
req.body/searchParams) down to dangerous execution sinks across multi-file import graphs. - Code Duplication Scanner: Token-fingerprinted Jaccard similarity engine detecting copy-pasted code blocks across monorepo packages.
- Framework Entrypoint Whitelist: Eliminates false positives for Next.js (
GET,POST,generateMetadata,middleware), Remix, Vitest, and CLI entrypoints. - Tarjan SCC Cycle Detection: Mathematically sound circular dependency cycle detection for complex monorepos.
- Public Scoring Transparency: Fully documented formulas and deduction rules in SCORING.md.
🧪 Real-World Benchmark Verification (v1.2.1 Engine Breakdown)
ArchitectOS is battle-tested and dogfooded across major open-source codebases with transparent sub-metric scoring:
Note: Pure CLI / backend repositories (e.g. architectos) omit UI Architecture scoring.
🤖 Native MCP Server Integration
Add ArchitectOS to your Claude Code, Cursor, or Codex MCP configuration:
Registered MCP Tools
architectos_review: Repository health & problem breakdown.architectos_why: Root-cause coupling analysis.architectos_impact: Polyglot change impact calculator.architectos_plan: Step-by-step migration refactoring plan.architectos_resolve: Symbol resolver & hallucination shield.architectos_dead: Unused exports & zombie code detector.architectos_ui: Framework-agnostic UI component composition & boundary audit.architectos_remember: Store persistent architectural guardrail rules.
📄 License
MIT License © 2026 ArchitectOS Authors
來源:README.md,提交 34a1ba3
工具
0版本歷史
1- v0.1.30最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。