A security camera with a rewind button for your AI agent.
Atto sits between your AI agent and its tools. It writes down every action, stops the risky ones before they happen, and lets you undo what went wrong.
Works with Claude Desktop, Cursor and any other MCP client. Needs Node.js 22.13 or newer.
What it does
Agents are useful because they can change real things. When something goes wrong, you want to know exactly what happened and put it back.
Every action, written down
Each tool call your agent makes is saved with its arguments, result, time and how long it took. Resources and prompts too.
A log that can't be quietly edited
Every entry is linked to the one before it with a hash. If anyone changes or deletes an entry, atto-mcp verify points at it.
Block it, or ask you first
Simple rules like "deny *delete*" or "ask before send_*". Approve or reject from the dashboard, or from a link on your phone.
Secrets stay secret
Tokens, passwords and API keys are swapped for [REDACTED] before anything is stored.
Replay and undo
Re-run a call, or reverse it: Atto runs the opposite tool (create_note → delete_note) or puts back the file it saved before the agent changed it.
Get a ping
Slack, Discord, ntfy, any webhook, or email through your own mail account when something is blocked or waiting for you.
How it works
- 1
Make a config
Run the command below in the folder where you want to keep Atto’s settings and log. It writes a starter atto.config.json.
npx -y atto-mcp init - 2
Point your agent at Atto
Paste the lines init prints into Claude Desktop or Cursor. The agent sees the same tools as before. It just goes through Atto now.
npx -y atto-mcp proxy - 3
Watch, and rewind
Open the dashboard to see every action, approve the ones that wait for you, and undo the bad part.
npx -y atto-mcp ui
See it in action
The dashboard comes with Atto. Run npx -y atto-mcp ui and open it in your browser.
Every action in one list
Who did what, on which server, and whether it went through, was blocked or was rejected.
The details of one call
Arguments, result or error, and proof that the entry matches its place in the chain.
Undo, with a clear preview
Atto shows exactly which tool it will call to reverse the action, and waits for you to confirm.
Approve from your phone
Alerts carry a one-time, expiring link. Secrets in the request are already hidden.
Quick start
Nothing to install first: npx fetches Atto the first time you run it.
1. Make a starter config
npx -y atto-mcp init2. Add your tools and rules
Swap the example server for the MCP servers your agent really uses. This one blocks deletes, asks before sending, and knows how to undo a new note:
{
"db": "./atto.db",
"upstreams": {
"acme-notes": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@example/notes-mcp"],
"env": { "NOTES_TOKEN": "${NOTES_TOKEN}" }
}
},
"rules": [
{ "match": "*delete*", "action": "deny" },
{ "match": "send_*", "action": "require-approval" }
],
"undo": {
"inverses": {
"create_note": { "tool": "delete_note", "args": { "id": "{{result.structuredContent.id}}" } }
}
}
}3. Point your agent at Atto
In Claude Desktop (claude_desktop_config.json) or Cursor (~/.cursor/mcp.json), replace your servers with this one entry. init prints it with your real path.
{
"mcpServers": {
"atto-mcp": {
"command": "npx",
"args": ["-y", "atto-mcp", "proxy", "--config", "/home/rowan/atto/atto.config.json"]
}
}
}4. Open the dashboard
npx -y atto-mcp ui --config ./atto.config.jsonThen visit http://127.0.0.1:4545. Every option is in the reference docs.