Argon logo

Argon

Versioned MongoDB sandboxes for agents with branching, diffs, merges, time travel, undo, and dataset pins over MCP.

Install Argon

Run the project’s own setup commands, in order.

Setup steps from the project

argon installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    brew install argon-lab/tap/argonctl      # macOS
    
  2. 2. Install
    npm install -g argonctl --allow-scripts=argonctl # cross-platform
    
  3. 3. Add to Claude Code
    claude mcp add argon -- argon mcp        # 13 tools: sandbox, diff, merge, undo, pins
    

Overview

argon MCP server gives AI agents isolated MongoDB sandboxes that can be branched, inspected, merged, discarded, or undone. It connects agents to real MongoDB databases through the argon CLI and MCP tools, while capture records supported document writes as history. Use it when agent changes need review before reaching source data, or when runs require reproducible database snapshots and rollback. MongoDB must run as a replica set, including a single-node replica set.

Use cases

  • Isolate each agent run in a forked MongoDB database
  • Review database changes before merging them into a project
  • Discard unsuccessful agent experiments without changing source data
  • Pin datasets for repeatable evaluations
  • Restore a branch to an earlier database state

Key features

  • MongoDB sandbox creation with TTLs
  • Branching and dataset pins
  • Diff, merge preview, and merge apply workflows
  • Undo, discard, and time-travel operations
  • MCP tools for agent database workflows
  • Source database following

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

31/35 checks healthy over the last 105d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10/3/2026 via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars180Stargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Argon works

What argon does

argon provides versioned MongoDB environments for AI-agent runs. Each sandbox is a real MongoDB database forked from a branch or pinned dataset, so applications can continue using normal MongoDB drivers, indexes, aggregations, transactions, and mongosh.

Agent writes captured by argon become reviewable history. Developers can inspect a sandbox diff, preview a merge, apply an approved merge plan, discard a sandbox, or undo changes. Source data remains unchanged until a merge is explicitly applied. Branches and pins support longer-lived environments and repeatable datasets, while restore operations can rewind a branch to an earlier point in time.

How it works

The CLI creates a sandbox, checks out its data, assigns an optional time-to-live, and can keep capture running while the agent connects to the printed MongoDB URI. The MCP server manages capture and expiry without requiring those processes to remain in the foreground. Expired sandboxes are swept periodically.

A typical workflow imports a database into an argon project, creates a sandbox for an agent run, reviews the resulting diff, and either applies a merge plan or discards the sandbox. Online import and source following can track a live replica-set database on a project's main branch. Source write-back is available through the CLI under experimental controls; the MCP server and REST API do not provide write-back.

Setup and configuration

Install argonctl through Homebrew or npm. The npm installation requires Node.js 24 LTS with npm 11.16 or newer. Source builds use Go 1.26.11 or newer. MongoDB must run as a replica set; a one-node replica set is supported.

After MongoDB is available, use argon doctor to check the environment. Import an initial database with argon import database, then create a sandbox with a project, time-to-live, and optional actor identifier. The MCP entry point is started with argon mcp; Claude Code can register it with claude mcp add argon -- argon mcp.

argon console provides a local web console and REST API, supervises capture, removes expired sandboxes, and can open a browser. A source URI can be supplied with ARGON_SOURCE_URI for source operations. Experimental source features require ARGON_EXPERIMENTAL_SOURCE=1.

Tools and capabilities

  • Create and manage MongoDB sandboxes for isolated agent runs.
  • Branch and check out versioned database state.
  • Inspect captured document changes with diffs.
  • Preview and apply reviewed merge plans.
  • Discard sandboxes or undo changes.
  • Create dataset pins and restore branches to earlier times.
  • Follow a source replica-set database through its change stream.

The MCP interface exposes 13 tools covering sandbox, diff, merge, undo, and pin workflows. The Python argon-agents package also includes an ArgonClient and a LangGraph checkpoint saver for using sandboxes as graph checkpoints.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Argon

argon is an MCP server that connects AI agents to real MongoDB sandboxes and provides tools for creating branches or sandboxes, reviewing diffs, previewing and applying merges, undoing changes, and managing pins. It keeps source data untouched until an explicit merge and supports discard for rejected runs.

Install `argonctl` with Homebrew or npm, then register `argon mcp` as the MCP command. The npm package requires Node.js 24 LTS with npm 11.16 or newer. MongoDB must be running as a replica set, and `argon doctor` checks the local setup.

Yes, Claude Code can register argon with `claude mcp add argon -- argon mcp`. The command starts argon's standard MCP entry point, which exposes sandbox, diff, merge, undo, and pin workflows to the agent.

Yes, argon can merge reviewed sandbox changes through an explicit merge plan. Use the diff and merge-preview steps before applying the plan. The MCP server supports normal merge application, while source-database write-back is available only through the CLI under experimental controls.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewArgon AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/argon?style=directory)](https://allmcps.com/mcp/argon)
HTML Embed
<a href="https://allmcps.com/mcp/argon"><img src="https://allmcps.com/api/badge/argon?style=directory" alt="Argon on AllMCPs" /></a>