# SafeGrd

SafeGrd lets an agent inspect backups and Fire Drills, then request a backup or a drill. Use it to check backup records or ask for a restore test.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: safegrd
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/safegrd/cli
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/safegrd

## What it does

The MCP server gives an agent access to backup and Fire Drill information. It can also receive requests to create a backup or run a drill. Its tools cannot delete backups.

SafeGrd’s CLI and daemon back up databases and other data sources. Backups are compressed, encrypted on the source host, and sent to S3-compatible storage with Object Lock. A Fire Drill restores the newest backup to a temporary database or directory and checks the result. Claude Code can connect to the hosted server over HTTP, or run the container locally with Docker. The hosted server receives backup records and signed restore-test results; backup data does not pass through it.

## Requirements
- Needs: Docker
- Remote server: `https://safegrd.dev/mcp`

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http safegrd https://safegrd.dev/mcp
```

2. **Platform CLI**
```bash
claude mcp add safegrd -- docker run -i --rm ghcr.io/safegrd/cli:0.0.29
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add safegrd --url https://safegrd.dev/mcp
```

2. **Platform CLI**
```bash
codex mcp add safegrd -- docker run -i --rm ghcr.io/safegrd/cli:0.0.29
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "safegrd": {
            "url": "https://safegrd.dev/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "safegrd": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/safegrd/cli:0.0.29"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "safegrd": {
            "type": "http",
            "url": "https://safegrd.dev/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "safegrd": {
            "type": "stdio",
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/safegrd/cli:0.0.29"
            ]
        }
    }
}
```

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http safegrd https://safegrd.dev/mcp
```

2. **Platform CLI**
```bash
gemini mcp add safegrd docker run -i --rm ghcr.io/safegrd/cli:0.0.29
```

## When to use it
- inspect available backup records
- check Fire Drill results
- request a database backup
- ask for a restore test

## Example prompts
- Show me the latest backup records for this project.
- Request a backup of the database.
- Run a Fire Drill for the latest backup and show me the result.

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89609
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89899
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16730
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40459
- [dbx](https://affpapa.org/en/nevibecode/mcp/dbx.md) — MCP server · ★ 27844
- [Metabase](https://affpapa.org/en/nevibecode/mcp/metabase.md) — MCP server · ★ 49863

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
