# Argon MCP server

> Provides versioned MongoDB sandboxes with branching, time-travel, merging, and undo capabilities for AI agents.

- Repository: https://github.com/argon-lab/argon
- Page: https://hostedmcp.org/servers/argon-lab/argon
- Transport: stdio
- Stars: 178
- License: MIT
- Latest version: 2.3.3

## Install

### Claude Code

```sh
claude mcp add argon -- npx -y argonctl
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "argon": {
      "command": "npx",
      "args": [
        "-y",
        "argonctl"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "argon": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "argonctl"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"argon","type":"stdio","command":"npx","args":["-y","argonctl"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "argon": {
      "command": "npx",
      "args": [
        "-y",
        "argonctl"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add argon -- npx -y argonctl
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.argon]
command = "npx"
args = ["-y", "argonctl"]
```

### Gemini CLI

```sh
gemini mcp add -s user argon npx -- -y argonctl
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "argon": {
      "command": "npx",
      "args": [
        "-y",
        "argonctl"
      ]
    }
  }
}
```

## FAQ

### What is Argon?

Argon is a tool that provides Git-like versioning for MongoDB, allowing users to branch, time-travel, merge, and undo database states.

### How does branching work in Argon?

Branching is an instant metadata write that does not create a full copy of the data.

### Can I use my existing MongoDB drivers with Argon?

Yes, Argon turns a branch into a real MongoDB database that is compatible with any driver, including pymongo, mongoose, and mongosh.

### How can I use Argon with Claude?

You can add Argon to Claude via MCP using the command: claude mcp add argon -- argon mcp.
