Transactional write gate for coding agents: plan, canonical manifest, checks, two-phase apply.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.
An agent describes a change set as a Plan. AXIOM compiles it to a canonical,
content-addressed Manifest, runs checks over the whole set, and applies it with a
hash-gated two-phase commit that leaves a journal and, optionally, a signed attestation.
It ships as one npm package — @codai/axiom-mcp — that is an MCP server, a CLI, a
PreToolUse hook and a GitHub Action.
apply demands the digest you inspected (confirmDigest), re-hashes every pre-image at
commit, and rolls back to the byte-identical prior tree on any failure — on a tree several
agents share.verify --tree proves a tree matches a
manifest and emits an in-toto attestation that CI uploads to Sigstore.| Channel | Command | Platforms |
|---|---|---|
| Run without installing | npx -y @codai/axiom-mcp mcp --root . | anywhere with Node ≥ 22.14 |
Global bin (axiom) — required for hooks | npm i -g @codai/axiom-mcp | anywhere with Node ≥ 22.14 |
| Standalone binary, no Node (from 2.2.1) | curl -fsSL https://dragoscv.github.io/axiom/install.sh | sh | linux-x64 · linux-arm64 · darwin-arm64 · darwin-x64 |
| Standalone binary, no Node (from 2.2.1) | irm https://dragoscv.github.io/axiom/install.ps1 | iex | win-x64 |
| Homebrew (same binary) | brew install dragoscv/tap/axiom | macOS · Linux |
VS Code .axm extension | axiom-axm-<version>.vsix on the GitHub release | VS Code ≥ 1.138 |
| GitHub Action | uses: dragoscv/axiom/action@v2 | ubuntu · macos · windows runners |
| MCP Registry | io.github.dragoscv/axiom | any registry-aware MCP client |
Then wire a repository in one idempotent step and check it:
init detects the harness (--harness auto|copilot|claude|codex|vscode), merges into existing
JSON instead of overwriting (--force to replace), and writes only a note for Codex, which has no
hook API. doctor exits 2 when a check fails. Per-harness files:
docs/getting-started/install.md.
Binaries ship with SHA256SUMS and Sigstore provenance; npm packages carry npm provenance.
How to check them: SECURITY.md.
1. Point an MCP client at a repo — .vscode/mcp.json (Claude Desktop config is the same
shape, see packages/mcp/README.md):
--root is an explicit allowlist and may repeat; there is no cwd or env fallback.
2. Write a Plan — plan.json:
3. Compile → check → apply from the CLI (the MCP tools do the same):
Plan fields, sources (inline, cas, ref, patch, template) and the .axm DSL:
docs/reference/plan-format.md · docs/reference/axm-syntax.md.
axiom gate --stdin reads one harness payload, checks containment, path.deny/allow,
content.noSecrets and content.maxBytes on the write target, scans shell commands for write
primitives, and answers allow (exit 0) or deny (exit 2, JSON reason). Fail-closed; ~100 ms end
to end. Claude Code:
Copilot CLI / VS Code wiring, profile file and the latency budget: docs/getting-started/hooks.md.
[!WARNING] Install the global bin for hooks.
npxresolution takes seconds even with a warm cache, the harness times the hook out, and every harness fails open on timeout.
Fail a pull request whose tree does not match the manifest an agent applied, and optionally upload an in-toto attestation:
Scope, --pre mode and how to verify the attestation later: docs/guides/verify-tree.md.
Eighteen MCP tools, each with annotations and an outputSchema; errors are isError results
carrying a code from the closed ERROR_CODES enum — a handler never throws.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/axiom-2)<a href="https://allmcps.com/mcp/axiom-2"><img src="https://allmcps.com/api/badge/axiom-2?style=directory" alt="AXIOM on AllMCPs" /></a>