Kintsugi
Holds dangerous shell commands from AI coding agents and makes them undoable
Kintsugi is an open-source MCP server for agent sandbox. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, macOS, Linux
- Runs
- Locally
- Version
- 0.4.1
- Listing updated
Similar MCP servers
About Kintsugi
Kintsugi runs between an AI agent and your shell, deciding before a command executes whether it is destructive. Commands such as recursive deletes, forced git pushes, or DROP TABLE statements are held or denied, and the decision comes from fixed rules rather than a language model. The model may add a plain-English explanation, but the raw command is always shown as typed.
For actions that do get through, Kintsugi takes copy-on-write snapshots of the files a destructive operation would touch, so a single undo command can restore them. Every command an agent runs is written to an append-only, hash-chained log stored locally, so tampering with an earlier entry breaks verification.
The tool targets developers who let coding agents run shell commands on their own machines and want a safety layer that works across several agent CLIs. It is written in Rust, runs on macOS, Linux and Windows, and is dual-licensed under MIT or Apache-2.0.
What it does
- Pre-execution command holds
- Dangerous commands are caught and held for approval before the shell runs them.
- Deterministic rule engine
- Block decisions come from fixed rules that parse real shell structure, not from an LLM.
- One-command undo
- Files affected by destructive operations are snapshotted so they can be restored.
- Tamper-evident audit log
- Every agent command is recorded in a hash-chained log kept on the local machine.
- Multi-agent hook wiring
- Native pre-tool hooks are installed for several agent CLIs, with a PATH shim for other tools.
- Passive human session recording
- Interactive bash and zsh commands can be logged and snapshotted for review.
Good for
- Stop an AI coding agent from running rm -rf or force-pushing to a shared repository
- Review which destructive commands an agent attempted in a working session
- Roll back files an agent or operator deleted or overwrote by mistake
- Enforce a safety layer on a shared host where agents run shell commands
- Keep a local, verifiable record of commands run by automated tools
Pricing
Open source
Free and open source, dual-licensed MIT or Apache-2.0.
Prices change. Check kintsugi.tools before you buy.
Kintsugi FAQ
Does Kintsugi send data to the cloud?
No. It runs locally, has no account, no telemetry and no API key requirement, and nothing leaves the machine.
Which agents does Kintsugi work with?
Claude Code, Qwen Code, Gemini CLI, GitHub Copilot CLI, Cursor CLI, Codex CLI, OpenCode and Google Antigravity get native hooks. Any other MCP client can use the kintsugi-exec server, and any shell can use the PATH shim.
Does Kintsugi need an AI model to work?
No. It works immediately with an offline heuristic scorer. An optional local GGUF model can improve the plain-English summaries for ambiguous commands.
Can an agent bypass the guard?
Hooks are an interception layer rather than a kernel firewall, so an agent in auto-approve mode or one calling a binary by absolute path can get past them. A filesystem watcher is included as a backstop.
What is the license?
MIT or Apache-2.0.
Is Kintsugi free?
Yes. Kintsugi is open source, so you can use and self-host it for free.
What are the best alternatives to Kintsugi?
The closest alternatives to Kintsugi are Sandbox Env MCP and Agent Runtime Guard.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.