AXIOM Gate: run local MCP tools in a wasmi sandbox so API keys stay in the Rust host process

Brilliant_Drawer8484 · reddit · 2026-12-03

The author open-sourced axiom-gate v0.1.1 (MIT/Apache-2.0), a Rust MCP server that keeps API keys out of tool code when wiring Claude Desktop or Cursor to local files and HTTP endpoints. Tools compile to Wasm32-WASI and run in a fuel-metered wasmi sandbox; policy limits are Ed25519-signed in a local policy file and stripped from tools/list; credentials stay in the host process and attach only on exact route matches, with SSRF checks and filesystem jails; calls log to a BLAKE3 hash-chained, signed audit ledger. Warm stdio calls sit at 3-7ms. Tradeoffs: tools must be written in a small typed DSL, and it enforces deterministic per-call boundaries only, not semantic intent.

Original post →

More from coding & agent

coding & agent channel →