# Rowsafe

> Rowsafe is a freemium MCP server for databases. MCP server for database backups, health checks and audited changes by AI agents. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $39 a month
- **Platforms:** CLI, Linux, self-hosted, API
- **Website:** https://rowsafe.sh/docs/reference/mcp
- **Repository:** https://github.com/rowsafe/rowsafe/tree/HEAD/mcp
- **MCP Registry name:** sh.rowsafe/rowsafe
- **Categories:** databases, security
- **Listing updated:** 2026-11-14

## About

Rowsafe's server is built around one safety rule: changes run as the person who connected the agent, with that person's dashboard rights, or Rowsafe refuses them and says why. Every change is recorded in the audit log, attributed to the key or app and the person it acts as. The tools only queue fixed agent tasks and change schedules; nothing runs arbitrary commands or SQL on production or reads backup contents.

There are two ways to connect. The local one is the rowsafe mcp command over stdio, read-only by default, with --allow-restore-points adding restore points (Marks) and --allow-writes adding backups, Proof, checks, schedules and production changes. The remote endpoint at api.rowsafe.sh/mcp uses OAuth 2.1 with PKCE, or a bearer API key. Its scopes are read, an optional Save Marks scope, and an optional Act for you scope that unlocks the write tools.

Access tokens last an hour and refresh tokens 30 days and are rotated on each use. An owner or admin approves each app for one organization, and Settings lists connected apps so you can disconnect them. The wider product covers continuous backups, weekly restore tests and database health scoring, and the repository holds the Apache-2.0 agent, CLI and MCP server.

## Features

- **Audited agent actions:** Every change is logged against the key or app and the person it acts as.
- **Opt-in write scopes:** Read is default; restore points and write tools need extra scopes or flags.
- **Local and remote modes:** Run over stdio with the CLI login or connect remotely with OAuth.
- **Restore points:** Agents can create Marks before risky changes when allowed.
- **Fixes and production changes:** With Act for you, agents can request changes and apply fixes under the person's rights.
- **Cloud server creation:** Write-enabled apps can create Rowsafe Cloud servers and app databases.

## Good for

- Give a coding agent read access to database health and backup status
- Take a restore point before an agent runs a migration
- Let an agent apply a health fix and keep an audit trail of it
- Review which AI apps can act on your databases

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http rowsafe https://api.rowsafe.sh/mcp
```

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

```sh
https://api.rowsafe.sh/mcp
```

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

```json
{
  "mcpServers": {
    "rowsafe": {
      "url": "https://api.rowsafe.sh/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "rowsafe": {
      "type": "http",
      "url": "https://api.rowsafe.sh/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "rowsafe": {
      "serverUrl": "https://api.rowsafe.sh/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "rowsafe": {
      "type": "http",
      "url": "https://api.rowsafe.sh/mcp"
    }
  }
}
```

## Tools

- `create_restore_point`: Creates a restore point (Mark); needs the Save Marks scope.
- `request_change`: Requests a change to production as the connected person; needs Act for you.
- `create_cloud_server`: Creates a Rowsafe Cloud server; needs Act for you.
- `cloud_firewall`: Manages the firewall of a cloud server; needs Act for you.
- `apply_fix`: Applies a suggested fix; needs Act for you.
- `create_app_database`: Creates an app database; needs Act for you.

## FAQ

### Can the agent run SQL on production?

No. The tools queue fixed tasks and schedule changes; nothing runs commands or SQL on production or reads backup contents.

### How do I make it read-only?

Run rowsafe mcp without flags, or connect remotely with only the read scope.

### How long do OAuth tokens last?

Access tokens last one hour; refresh tokens last 30 days and are single use.

### What does it cost?

A Free plan covers 1 server and 3 databases; Pro is $39 a month for 5 servers and Business $149 a month for 25.

### Is the code open source?

The agent, CLI, installer and MCP server are under Apache-2.0.

### Is Rowsafe free?

Rowsafe has a free plan, with paid plans for more usage or features. Paid plans start at $39 a month.

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

Run this command in your terminal: claude mcp add --transport http rowsafe https://api.rowsafe.sh/mcp

### What are the best alternatives to Rowsafe?

The closest alternatives to Rowsafe are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.
- [SecureCloud](https://ai-powered.com/mcp/securecloud): SecureCloud is a free MCP server for security.
- [Eikino](https://ai-powered.com/mcp/eikino): Eikino is a freemium MCP server for security.
- [SynomosAI Governance MCP](https://ai-powered.com/mcp/synomosai-governance-mcp-2): SynomosAI Governance MCP is an open-source MCP server for security.

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