MCP 2025-03-26 · Streamable HTTP · Cloudflare Edge

ArchGuard MCP Server

Deterministic codebase architecture drift auditor (Tarjan SCC + 12 reliability/security rules), zero-downtime SQL Expand-Contract guardian, and distributed-systems capacity, quorum, tail-latency & consistent-hashing verifier.

Add to Antigravity / Claude Code / Cursor / Windsurf
{
  "mcpServers": {
    "arch-guard": {
      "url": "https://arch-guard-mcp.yashwant938.workers.dev/mcp"
    }
  }
}
Live MCP JSON-RPC Playground
Click any button to send a live MCP 2025-03-26 JSON-RPC request to https://arch-guard-mcp.yashwant938.workers.dev/mcp

MCP Tools (6 Remote · +1 Local Repo Auditor via stdio)

audit_code_snippet

Audit source files for circular dependencies (Tarjan SCC), coupling metrics (Ca/Ce/I), and 12 production reliability/security/SOLID anti-patterns (N+1 loops, missing HTTP timeouts, unbounded caches, check-then-act races, missing idempotency keys, SQL/command injection). Returns health score + Mermaid graph.

check_migration_safety

Audit PostgreSQL/MySQL/SQLite DDL migrations for production table locks and rolling-deploy breaks, generating a 3-phase Expand-Contract plan.

estimate_system_capacity

Compute exact distributed systems capacity math: avg/peak QPS, storage, bandwidth Gbps, Redis RAM, shard count & bottleneck, Little's Law concurrency. Supports Big Tech presets or custom inputs.

simulate_quorum_and_tail_latency

Verify Dynamo quorum (W+R>N), Raft fault tolerance, and Jeff Dean fanout tail-latency amplification (1-(1-p)^K) with hedged RPC comparison.

simulate_consistent_hashing

Run deterministic FNV-1a+fmix32 consistent hashing ring simulation measuring load skew & scale-out key remapping % vs modulo hashing.

recommend_architecture

Generate a Staff-level distributed system architecture blueprint from workload traits (consistency, R/W ratio, contention, real-time need, latency SLO).