mcpField
A
architectos

architectos

Local
github.com/cgseyhanDeveloper Tools0Updated 14w ago

About architectos

ArchitectOS is a repository analysis and governance CLI for developers and AI coding agents. It assesses architecture, security, and change impact, then produces refactoring plans without modifying code.

Key features

  1. 01Repository health and security reviews
  2. 02Cross-file taint and duplication scans
  3. 03Dependency cycle detection
  4. 04Change impact analysis
  5. 05Actionable refactoring plans

Use cases

  1. 01Review repository health before a release
  2. 02Trace risks from a proposed change
  3. 03Find unused or duplicated code
  4. 04Prepare migration steps for an AI agent

MCP support

Its MCP server exposes repository review, root-cause analysis, impact calculation, migration planning, symbol resolution, dead-code detection, UI audits, and persistent guardrail tools.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"cgseyhan-architectos": {
"command": "npx",
"args": [
"-y",
"architectos"
]
}
}
}
Run commandnpx -y architectos

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmarchitectos0.1.30

Tools

4

Saved tool list · updated 3w ago

This tool takes no parameters.

Details

From the project 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

# 1. Initialize and review repository
npx architectos

# 2. High-level repository health, security & UI review (with optional CI threshold)
architectos review
architectos review --threshold 80

# 3. Component deep-dive (supports --why, --ui, --dead, --duplication, --taint)
architectos analyze toolbar.tsx
architectos analyze toolbar.tsx --why
architectos analyze --ui
architectos analyze --dead
architectos analyze --duplication
architectos analyze --taint auth.controller.ts

# 4. View historical score timeline and trend
architectos history

# 5. Cross-graph downstream change impact & risk rating
architectos impact auth.ts

# 6. Structured refactoring migration plan
architectos plan toolbar.tsx

# 7. Symbol resolver & natural language architecture query
architectos resolve WorkspaceRepository
architectos resolve "Where is tenant isolation enforced?"

# 8. Native MCP server gateway & live watcher
architectos watch
architectos mcp

🏛️ The ArchitectOS Pipeline

architectos review               # High-level health & problem breakdown (--threshold 80)
      ↓
architectos analyze <target>     # Deep-dive (--why, --ui, --dead, --duplication, --taint)
      ↓
architectos impact <target>      # Cross-graph downstream change risk
      ↓
architectos plan <target>        # Step-by-step refactoring migration plan
      ↓
architectos resolve <symbol>     # Hallucination shield & symbol resolver
      ↓
architectos history              # Historical score timeline & trend tracking
      ↓
AI Agent / Developer executes refactor

🎯 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:

RepositoryFilesOverallArchSecQualAIUIScan SpeedTop Focus Area
excalidraw/excalidraw520+88/1009284909480<18msCanvas Component Decomposition
calcom/cal.com1,400+84/1008088829080<45msBooking Service Layer Isolation
shadcn/ui120+96/1009895969596<8msUI Component Primitive Boundaries
cgseyhan/architectos51100/100100100100100N/A<19msNative Self-Hosted AST Governance

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:

{
  "mcpServers": {
    "architectos": {
      "command": "npx",
      "args": ["-y", "architectos", "mcp"]
    }
  }
}
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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.