# Scribase

> Scribase is a freemium MCP server for databases. Supabase-compatible Postgres for agents: SQL, branches, auth, storage and backups. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $5 a month
- **Platforms:** Web, API, CLI, self-hosted
- **Website:** https://scribase.com/mcp
- **MCP Registry name:** com.scribase/scribase
- **Categories:** databases, developer tools
- **Listing updated:** 2026-11-16

## About

Scribase positions itself as a backend an agent cannot wreck. Reads run at once, but destructive and control-plane tools refuse without confirm: true, and control-plane tools return the exact request they would send. Schema changes can be forced through an isolation test: schema.apply accepts only a token issued by policy.test or policy.simulate, which proves row-level security isolation and then deliberately breaks each rule to check the test can fail.

Work is done on preview branches, copy-on-write copies of production that can use sanitized data and that merge in a foreign-key-safe way after a backup. The 97 tools span SQL and migrations, auth settings and users, storage buckets, branches and environments, edge functions, scheduled jobs and more.

The server is remote, authenticated by OAuth, a personal access token or an organization API key, with calls audited. A stdio build in Rust can be self-hosted.

## Features

- **Confirm-gated changes:** Destructive tools need explicit confirm: true.
- **Proven RLS isolation:** Schema apply requires a passing isolation test.
- **Preview branches:** Copy-on-write copies with sanitized data and safe merges.
- **Database tools:** SQL, migrations, type generation and extensions.
- **Functions and schedules:** Deploy edge functions and pg_cron jobs.
- **Audited access:** Personal tokens or org keys, recorded per call.

## Good for

- Let an agent change a schema and prove tenant isolation first
- Try a migration on a preview branch before merging
- Manage auth providers and storage buckets from an editor
- Schedule a SQL job from a coding agent

## Install

### Claude Code (Terminal)

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

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

```sh
https://api.scribase.com/mcp
```

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

```json
{
  "mcpServers": {
    "scribase": {
      "url": "https://api.scribase.com/mcp"
    }
  }
}
```

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

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

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

```json
{
  "mcpServers": {
    "scribase": {
      "serverUrl": "https://api.scribase.com/mcp"
    }
  }
}
```

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

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

## Tools

- `sql.execute`: Runs SQL on a branch; needs confirm.
- `migrations.list`: Lists applied migrations.
- `migrations.apply`: Records and applies a migration.
- `tables.list`: Lists tables with row counts and RLS state.
- `tables.describe`: Describes one table.
- `types.generate`: Generates TypeScript types.
- `policy.test`: Proves isolation with a mutation harness.
- `schema.apply`: Applies a proven schema.
- `branches.create`: Forks a branch from production.
- `branches.merge`: Merges a branch into its parent.
- `functions.deploy`: Deploys an edge function.
- `schedule.create`: Runs SQL or a function on a timer.

## FAQ

### How many tools are there?

97, grouped into database, auth, storage, branches, functions, schedules and more.

### Is there a free plan?

Yes, one project is free with no time limit; paid projects start at 5 USD a month.

### Can I run it locally?

Yes, a Rust build serves the same tools over stdio or HTTP.

### How does it authenticate?

With MCP OAuth, a personal access token or an organization API key.

### Is Scribase free?

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

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

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

### What are the best alternatives to Scribase?

The closest alternatives to Scribase are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

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