PluginBench
MCP Server
Maintained
MIT

io.github.argon-lab/argon MCP Server

io.github.argon-lab/argon

Git for MongoDB: branch, time-travel, merge, and undo for AI agents—instant sandboxes, no copy.

What is the io.github.argon-lab/argon MCP server?

Argon is a versioned MongoDB sandbox system that brings Git-like workflows to MongoDB. It enables AI agents to branch databases instantly, capture writes as versioned history, and safely undo or merge changes without copying data. Built for production use with real mongod instances, any driver, and full ACID support.

Argon provides Git-like version control for MongoDB, letting you branch at any data size (instant, zero-copy), checkout branches into real databases, capture all writes as history, and merge or undo changes safely. It's designed for AI agents to run sandboxed experiments on production data, then merge results back or discard them—with time-travel queries, undo by actor, data PRs, and disposable workspaces with TTL.

How to install io.github.argon-lab/argon

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "argon": {
      "command": "npx",
      "args": [
        "-y",
        "argonctl",
        "mcp"
      ]
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • sandbox create — Create a disposable fork + checkout + TTL in one step for agent workspaces
  • branches create — Instant branching with zero copy overhead
  • checkout — Turn a branch into a real MongoDB database with stable connection URIs
  • watch — Capture writes as versioned history with per-actor attribution
  • time-travel query — Query any historical state by LSN or timestamp
  • undo — Revert a range or one writer's changes; append-only and conflict-aware
  • restore — Rewind a branch or fork history; recorded and never destructive
  • merge preview/apply — Three-way merges as reviewable plans; conflicts never silent
  • pin create — Create immutable named dataset states that survive GC and resets
  • diff — Review changes between branches before merging
  • proxy — Serve stable mongodb:// URIs for branches via proxy
  • console — Local web UI and REST API for all operations
  • MCP tools — 13 tools exposed over Model Context Protocol for AI agents

Use cases

  • Run AI agents on production MongoDB in isolated sandboxes, then merge approved changes back or discard them
  • Time-travel to any point in your database history and query historical state by timestamp or LSN
  • Undo specific writes by actor or revert a range of changes without losing the append-only history
  • Create reproducible evaluation datasets by pinning immutable states and forking from them for each test run
  • Review data changes as pull requests with three-way merges and conflict detection before applying to main

io.github.argon-lab/argon MCP server FAQ

What is Argon?

Argon is a version-control system for MongoDB that lets you branch databases instantly (zero copy), capture writes as history, and merge or undo changes. It's built for AI agents to safely experiment on production data in disposable sandboxes.

Is Argon free?

Yes, Argon is open-source under the MIT license. You can install it via Homebrew, npm, or PyPI.

How do I install Argon in Cursor or Claude?

Run `claude mcp add argon -- argon mcp` to add the 13-tool MCP server to Claude. For Cursor, configure the MCP server in your settings with the same command.

Does Argon require authentication?

Argon requires a MongoDB replica set (even a single-node one works). It connects to your existing MongoDB instance; no external auth required, but your MongoDB must be running as a replica set.

Can I use Argon with any MongoDB driver?

Yes. Once you checkout a branch, it becomes a real MongoDB database. Any driver (pymongo, mongoose, mongosh, etc.), indexes, aggregation, and transactions all work normally.

What happens to my data when I undo or discard a branch?

Nothing is ever lost. Undo is append-only and conflict-aware. Discarded branches can be restored. All operations are recorded and reversible; GC only removes old history outside the retention window.

README (reference)

Source of truth, from the repository.

Argon — Git for MongoDB

<p align="center"> <a href="https://www.argonlabs.tech"> <img src=".github/assets/hero.png" alt="Argon — Git for MongoDB, built for AI agents: branch off prod, run an agent, undo the session" width="100%"> </a> </p>

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
# 0 · Bring your data in ("git clone") — or: argon projects create myapp
argon import database --uri mongodb://localhost:27017 --database myapp --project myapp

# 1 · Branch — instant, no copy
argon branches create experiment -p myapp

# 2 · Get a real database for it, capture writes
argon checkout -p myapp -b experiment      # prints a connection string
argon watch    -p myapp -b experiment      # keep running while you write

# 3 · Review and merge back — a data pull request
argon diff          -p myapp -b experiment
argon merge preview -p myapp -b experiment
argon merge apply <plan-id>

# …or rewind instead of merging
argon restore reset -p myapp -b main --time 2026-07-07T09:00:00Z --backup pre-incident

Prefer clicking? argon console serves a local web console (UI + REST API) and opens your browser.

What you get

CommandIn one line
Branchingargon branches createa metadata write — instant, zero copy
Real databasesargon checkout / argon proxyany driver, real mongod; proxy serves stable mongodb://host/<project>~<branch> URIs
Write captureargon watchchange-stream → versioned history, per-actor attribution
Time travelargon time-travel queryany historical state, by LSN or timestamp
Undoargon undo --actor <a>revert a range or one writer's changes; append-only, conflict-aware
Restoreargon restore preview/reset/branchrewind a branch or fork history; recorded, never destructive
Data PRsargon merge preview/applythree-way merges as reviewable plans; conflicts never silent
Sandboxesargon sandbox create --ttl 1hfork + checkout + TTL in one step — disposable agent workspaces
Dataset pinsargon pin create / pin sandboximmutable named states that survive GC and resets — reproducible evals
Web consoleargon consolelocal UI + REST API in one command

Storage stays bounded: snapshots + retention-window GC keep state plus a window of history, not every write forever. Details and the consistency model, stated honestly: ARCHITECTURE.md.

For AI agents

claude mcp add argon -- argon mcp        # 13 tools: sandbox, diff, merge, undo, pins
pip install argon-agents                 # LangGraph checkpointer + Mem0, over REST
saver = ArgonCheckpointSaver.from_sandbox(argon, "myapp")   # checkpoint on a disposable branch
saver.merge()                                               # adopt the run — or .discard()

argon.create_pin("myapp", "eval-v1")                        # pin the dataset once
run = argon.sandbox_from_pin("myapp", "eval-v1")            # identical state, every eval run

The full agent workflow: docs/AGENTS.md.

Documentation

Quick startinstall → first merge, step by step
CLI referenceevery command
Agentssandboxes, pins, MCP, REST API, argon-agents, proxy
Architecturehow it works and what it guarantees
Operationsdeployment, chunk stores (S3/FS), GC, v1→v2 migration
Performanceevery number lives in the reproducible benchmarks — none here, by policy

Community

Issues · Discussions · Contributing · argonlabs.tech


<div align="center">

Give your MongoDB a time machine. Branch without fear. ⭐

</div>

Related MCP servers

SEC fundamentals point in time: first reported, known as of a date, every restatement.

View repository →

Canli Capital's open research record: papers, killed candidates, trial counts, live record.

View repository →

Deflated Sharpe and PBO checks. A verdict is not admission to anything and is not a forecast.

View repository →
TRTrabuco logo

Trabuco

Maintained

Production Java Maven scaffolder (CLI + Claude Code plugin) for AI coding agents

0
Go Template
MIT
View repository →

Run scheduled LLM-written email digests from local files and feeds. Local-first MCP server.

View repository →
MEmetabrain logo

metabrain

Maintained

MCP server giving AI agents persistent SQLite memory that proves which lessons hold.

0
Python
MIT
View repository →