# Rowbit MCP server

> Provides a safety net for AI agents by allowing users to preview, approve, and undo database writes to MariaDB and MySQL.

- Repository: https://github.com/Ermag/rowbit
- Page: https://hostedmcp.org/servers/ermag/rowbit
- Transport: stdio
- Stars: 1
- License: AGPL-3.0
- Latest version: 0.2.2

## Install

### Claude Code

```sh
claude mcp add rowbit -- docker run -i --rm ghcr.io/ermag/rowbit:0.2.2
```

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

```json
{
  "mcpServers": {
    "rowbit": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ermag/rowbit:0.2.2"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "rowbit": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ermag/rowbit:0.2.2"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "rowbit": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ermag/rowbit:0.2.2"
      ]
    }
  }
}
```

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

```toml
[mcp_servers.rowbit]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/ermag/rowbit:0.2.2"]
```

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

```json
{
  "mcpServers": {
    "rowbit": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ermag/rowbit:0.2.2"
      ]
    }
  }
}
```

## FAQ

### Which databases are supported?

Rowbit currently supports MariaDB and MySQL, including support over TLS. PostgreSQL is planned for a future release.

### Can I undo a change if an AI agent makes a mistake?

Yes, Rowbit allows you to undo any single change by keeping track of every row a change touched.

### Does the preview process modify my actual data?

No, the preview process only reads the affected rows and replays the write on a private temporary copy to show you the changes.

### How do I connect Rowbit to my AI agent?

You can use the `rowbit setup` command to find your database URL and configure rules, or use specific connect commands like `rowbit connect cursor` or `rowbit connect claude-code`.
