# SafeGrd

> SafeGrd is a freemium MCP server for databases. Read backups and restore drills, and request a backup or drill, without delete access. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI, Linux, macOS, self-hosted
- **Website:** https://safegrd.dev/docs/mcp
- **Repository:** https://github.com/safegrd/cli
- **MCP Registry name:** dev.safegrd/safegrd
- **Categories:** databases, cloud and infrastructure
- **Listing updated:** 2026-11-15

## About

SafeGrd runs two MCP servers. The remote one, at safegrd.dev/mcp, reads organisations, projects, surfaces, snapshots and drills, reports storage use and drill statistics, and asks for a backup or a Fire Drill now. It never holds data or decrypts anything. The local one, started with safegrd mcp on a host, does the work itself: status, list, doctor, back up, verify, restore into a new or empty target, and export.

The design limit is the point. No tool deletes a snapshot, changes where backups are stored, rotates a key or changes billing or members, and those actions are refused for personal access tokens on every API route. Tools are marked non-destructive, and the console lists every request_backup and request_drill with the person, token name and whether it came over MCP. SafeGrd's own CLI backs up PostgreSQL, MySQL, MariaDB, MongoDB, SQLite, directory trees and IMAP mailboxes with zstd compression and age encryption to Object Lock storage.

You sign in from claude.ai, Claude Code or ChatGPT with no token to copy, or use a token with Cursor. The free plan includes MCP access.

## Features

- **Remote read and request:** Reads backup state and asks for a backup or Fire Drill; it never holds data.
- **Local host server:** Backs up, verifies, restores and exports using that host's key.
- **No destructive tools:** Agents cannot delete snapshots, change storage, rotate keys or alter billing.
- **Audit trail:** The console records each backup or drill request and how it was made.
- **Fire Drills:** Restore the newest backup into a throwaway target and compare tables, rows and digests.
- **Add a database from chat:** The agent returns a console link or commands to add a database.

## Good for

- Take a snapshot before an agent runs a risky migration
- Ask an agent whether last night's backups succeeded
- Request a restore drill to prove a backup works
- Add a new database to backups without pasting a password into chat

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http safegrd https://safegrd.dev/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://safegrd.dev/mcp
```

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

```json
{
  "mcpServers": {
    "safegrd": {
      "url": "https://safegrd.dev/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "safegrd": {
      "type": "http",
      "url": "https://safegrd.dev/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "safegrd": {
      "serverUrl": "https://safegrd.dev/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "safegrd": {
      "type": "http",
      "url": "https://safegrd.dev/mcp"
    }
  }
}
```

## Tools

- `request_backup`: Ask for a backup now.
- `request_drill`: Ask for a Fire Drill restore test now.

## FAQ

### Can an AI agent delete my backups?

No. The docs say no tool deletes a snapshot, and tokens are refused those actions on every route.

### Is MCP available on the free plan?

Yes, both servers come with every plan, including free.

### How do I connect from Claude?

Add https://safegrd.dev/mcp as a custom connector, then sign in and approve.

### What does the free plan include?

One surface, 1 GB hosted storage, backups kept 7 days and weekly in-memory Fire Drills.

### Is SafeGrd free?

SafeGrd has a free plan, with paid plans for more usage or features.

### How do I add SafeGrd to Claude Code?

Run this command in your terminal: claude mcp add --transport http safegrd https://safegrd.dev/mcp

### What are the best alternatives to SafeGrd?

The closest alternatives to SafeGrd are Midplane, Agent Yurt, Proofline, filex and MagicWP MCP.

## Alternatives

- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Agent Yurt](https://ai-powered.com/mcp/agent-yurt): Agent Yurt is a free MCP server for knowledge and memory.
- [Proofline](https://ai-powered.com/mcp/proofline): Proofline is a freemium MCP server for developer tools.
- [filex](https://ai-powered.com/mcp/filex): filex is an open-source MCP server for files and documents.
- [MagicWP MCP](https://ai-powered.com/mcp/magicwp-mcp): MagicWP MCP is an MCP server for cloud and infrastructure.
- [Kubana Cloud DNS Management](https://ai-powered.com/mcp/kubana-cloud-dns-management): Kubana Cloud DNS Management is a free MCP server for cloud and infrastructure.
- [AgentViva](https://ai-powered.com/mcp/agentviva): AgentViva is a free MCP server for developer tools.
- [Kubana Cloud Webmail](https://ai-powered.com/mcp/kubana-cloud-webmail): Kubana Cloud Webmail is a paid MCP server for communication.

---
Source: https://ai-powered.com/mcp/safegrd
