Independent community project. Not affiliated with or endorsed by Google.
ModelCraft modelcraft.dev
4-Layer Local Agent Stack · Stdio MCP · Open Source

MCP & Agent Infrastructure Suite

A 4-layer open-source local tooling stack for Antigravity & Gemini CLI: workspace acceleration (agy-fast), privacy-first diagnostics (agycraft-mcp), browser automation (chrome-devtools-mcp), and desktop Computer Use (cua-ycwang).

4-Layer Agent Infrastructure Architecture

Select layer to inspect
Layer 2 · Local Diagnostics & Quota Hygiene MIT · Privacy-First

agycraft-mcp

Privacy-first local MCP & CLI doctor for Antigravity and Gemini CLI — auditing 5h/7d shared-bucket usage and 5 fault domains.

OS: Linux / macOS / Windows Runtime: Node.js >= 20 · pnpm Base: Native MIT Requires: Zero external services
0 OAuth/Keys Read · 5 Fault Domains · Local Build Stdio MCP
  • Offline preflight CLI doctor verifies Node, settings.json, mcp_config.json & .geminiignore in seconds
  • Strict numeric-only whitelist: never reads OAuth tokens, prompts, or file paths
  • One-way read-only GET to public modelcraft.dev/data/v1/*.json with offline snapshot fallback
1. Clone & Build
git clone https://github.com/YuchengWang/agycraft-mcp.git && cd agycraft-mcp && pnpm install && pnpm build && node dist/index.js doctor
2. Register via Antigravity CLI
agy mcp add agycraft node "$PWD/dist/index.js"
CLI Doctor Output Preview
$ node dist/index.js doctor
agycraft doctor — Offline Preflight & Hygiene Check (Zero Data Upload)
──────────────────────────────────────────────────────────────────────
[PASS] Node.js runtime: v22.x (>= 20 required)
[PASS] ~/.gemini/settings.json: valid JSON syntax
[PASS] ~/.gemini/antigravity/mcp_config.json: valid JSON, no url/httpUrl mismatch
[WARN] Global rules (~/.gemini/GEMINI.md) estimated ~2,450 tokens
[PASS] .geminiignore found in workspace (prevents node_modules context bloat)
[PASS] Secret hygiene: 0 credentials read, 0 internal endpoints called

agycraft-mcp · Zero-Telemetry & Local-Only Guarantee

0 OAuth / Keys

Never reads OAuth or private APIs

Numeric Whitelist

Strips prompts & file paths

Read-Only GET

Only public /data/v1/*.json

agycraft-mcp · 5 Built-in MCP Tools

analyze_token_usage

Summarizes 5h/24h/7d shared-bucket usage and Thinking output share.

get_saving_recommendations

Detects context snowballing, heavy-model mismatch, Thinking downgrade savings, and tool-failure loops.

diagnose_error

Matches snippets against 5 fault domains with root cause, fix commands, verify command, and Deep Link.

lookup_model_guide

Queries model dossiers, shared-bucket weights, and Orchestrator pairings with offline snapshot fallback.

get_ecosystem_status

Fetches public status.json for live upstream surface health, latest CLI/SDK versions, and updates.

<=8.8KB Output Cap Protects prompt-cache & TTFT
Zero-Plaintext Auth Never exposes OAuth or secrets
Local-First Stdio execution with offline fallback