AST intelligence × deterministic writes
AST MCPast-mcpinspect structurally · write safely

Inspect structurally.Write safely.

ast-mcp gives coding agents a zero-trust repository boundary with native code intelligence, state-machine-enforced edits, and atomic filesystem operations.

Structural intelligence

Native AST maps, symbol context, callers, dependencies, impact, and structural search without whole-file source dumps.

Zero-trust boundaries

File access is restricted by default, with explicit unrestricted access and separate intelligence workspace boundaries.

Guarded mutation

Fresh hashes, exact-match rewrites, deterministic locks, formatting, and atomic replacement make writes reviewable.

Follow the boundary

From first install to verified agent workflow.

Connect your host, choose the smallest intelligence surface, then make guarded writes with fresh state and explicit intent.