
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 分
请在仓库或注册中心条目中声明许可证。