Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyData and databases

Argon

Lets your AI agent branch, time-travel, diff, merge and undo a MongoDB database through safe sandboxes.

177 stars on GitHubby argon-labLicense MITUpdated 21 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add argon -- npx -y --allow-scripts=argonctl argonctl mcp

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Create a sandbox of my myapp database, make the changes, then show me the diff.
Undo everything the agent actor changed in the last hour.

What it is

Argon works like Git for MongoDB. Your agent can create a branch (no copy), work in an isolated real MongoDB database, then review the diff and merge back or discard it. It can also undo changes by actor and pin named dataset states for repeatable tests.

What it can do

  • Create sandboxes: fork, checkout and expiry in one step
  • Diff a branch and preview or apply merges
  • Undo changes by range or actor label
  • Pin dataset states for identical test runs
  • Restore or rewind a branch to a point in time
  • 13 MCP tools in total

When to use

  • β€ΊWhen you let an agent change a database and want to review the changes before they go live
  • β€ΊWhen you need to undo what an agent did to your data
  • β€ΊWhen you run evaluations that must start from the same dataset each time

What you need

The argon CLI (Homebrew or npm with Node.js 24) and MongoDB running as a replica set (a single-node set is fine). Run argon doctor to check.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes, it is MIT licensed.

Do I need a special MongoDB?

MongoDB must run as a replica set. The readme shows a one-node Docker example.

Does it copy my data on branching?

No. A branch is a pointer, and checkout materializes the data.

What changes are tracked?

Document inserts, updates, replacements and deletes. Indexes and collection options are not versioned.

How do I add the MCP server?

Run claude mcp add argon -- argon mcp.

Can I use it as a backup?

No. The readme advises keeping independent backups, since garbage collection can expire old history.

If it does not work

  • β€ΊRun argon doctor to check your setup.
  • β€ΊMake sure MongoDB runs as a replica set with rs.initiate done.
  • β€ΊStop source writers and DDL before an import, and use --source-quiesced as the readme shows.

5 new skills a week. 1 minute to read.