argon

MCP.Pizza Chef: argon-lab

Argon gives a database the safety net that code has had for years. Make a branch in an instant without copying anything, let an assistant work against it as a real database, then review the differences, merge them back, or throw the whole session away. Every write is recorded, so you can look at any earlier moment or undo one writer's changes. Thirteen tools are available once you add it, and disposable sandboxes clean themselves up on a timer.

Coding
Data

Use This MCP server To

Give an agent a copy of my data it cannot break Undo everything a run changed in my database See exactly what changed before merging it back Rewind a database to how it looked this morning Pin a fixed dataset so every test starts the same Create a throwaway database that cleans itself up

README

Argon — Git for MongoDB

Argon — Git for MongoDB, built for AI agents: branch off prod, run an agent, undo the session

Build Status Go Report License: MIT Homebrew npm PyPI

Branch, time-travel, merge and undo your MongoDB. Any driver, real mongod, versioned history underneath. Built for AI agents.

Three ideas, thirty seconds:

  1. A branch is a pointer, not a copy — created in milliseconds at any data size.
  2. checkout turns a branch into a real MongoDB database — pymongo, mongoose, mongosh, indexes, aggregation, transactions: all real, and every write becomes versioned history.
  3. Nothing is ever lost — diff it, merge it, undo it, rewind it, or pin it forever.

Install

brew install argon-lab/tap/argonctl      # macOS
npm install -g argonctl                  # cross-platform

# MongoDB must run as a replica set (one-node is fine):
docker run -d --name argon-mongo -p 27017:27017 mongo:7 --replSet rs0
docker exec argon-mongo mongosh --quiet --eval 'rs.initiate()'

The flow

main ──branch──▶ experiment ──checkout──▶ mongodb://…  ← any driver
                                              │
                     ┌── argon diff ──────────┤  every write captured
                     ▼                        ▼
        merge (a data PR)          or   undo / discard / rewind

argon FAQ

Which database does this work with?
MongoDB. It runs against a real MongoDB, so your usual drivers and queries keep working unchanged.
Which apps does it work in?
Any assistant that supports MCP. The project documents a one-line command for Claude Code.
Do I need a key?
No key. You install the command-line tool and point it at your own MongoDB.
How hard is the setup?
Developer level: install with Homebrew or npm, and run MongoDB in replica-set mode.
Can I use this to let an agent experiment on real data safely?
Yes — branch first, let it work, then merge the good changes or discard the whole run.
Does keeping all that history eat storage?
It keeps snapshots plus a recent window of history rather than every write forever, so growth stays bounded.