SupaBeast
OfficialREADME.md
# SupaBeast Remote MCP & Companion Skill
[](./LICENSE)
Connect **Claude Code**, **Cursor**, **Codex CLI**, **OpenCode**, and **T3 Code** to your live Supabase PostgreSQL production performance evidence — read-only, zero customer row access, and zero BYOK LLM keys.
Remote MCP endpoint: **`https://app.supabeast.com/mcp`**
## Quick Start (Recommended)
Run one command to configure detected coding agents and install the companion `SKILL.md`:
```bash
npx @supabeast/mcp
# or
npx supabeast init
```
Verify live OAuth discovery and your local client configs at any time:
```bash
npx @supabeast/mcp --check
```
### Useful Options
| Flag | Description |
| --- | --- |
| `--client claude,cursor,codex,opencode` | Target specific clients (or `all`) |
| `--scope project` | Write project-local config instead of user home |
| `--skill-only` | Install only `SKILL.md` |
| `--mcp-only` | Configure only Remote MCP |
| `--dry-run` | Preview changes without touching files |
| `--check` | Verify Remote MCP discovery and local setup |
| `--json` | Emit JSON output |
## Per-Client Setup
### Cursor (1-Click Install)
[Install SupaBeast MCP in Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=supabeast&config=eyJ1cmwiOiJodHRwczovL2FwcC5zdXBhYmVhc3QuY29tL21jcCJ9) or run `npx @supabeast/mcp --client cursor`. ([Guide](./docs/clients/cursor.md))
### Claude Code
```bash
claude mcp add --transport http supabeast https://app.supabeast.com/mcp
```
Or `npx @supabeast/mcp --client claude` to install both Remote MCP and `~/.claude/skills/supabeast/SKILL.md`. ([Guide](./docs/clients/claude-code.md))
### Codex CLI
```bash
codex mcp add supabeast --url https://app.supabeast.com/mcp
```
Or `npx @supabeast/mcp --client codex` to update `config.toml` and `~/.agents/skills/supabeast/SKILL.md`. ([Guide](./docs/clients/codex.md))
### OpenCode
Add `supabeast` under `mcp` in `opencode.json` (`{ "type": "remote", "url": "https://app.supabeast.com/mcp" }`), or run `npx @supabeast/mcp --client opencode`. ([Guide](./docs/clients/opencode.md))
### T3 Code
Add Remote MCP server `https://app.supabeast.com/mcp` in T3 Code and complete OAuth sign-in in your browser. ([Guide](./docs/clients/t3-code.md))
## What the Read-Only Toolset Gives Your Agent
Once connected, ask your coding agent: *"List my top production hotspots with SupaBeast."*
- **`get_production_hotspots`** — Top slow queries and RPCs with your exact PostgreSQL `major.minor` version
- **`inspect_table_context`** — Table schema, indexes, foreign-key coverage, tuple write load, and RLS policy metadata (never rows)
- **`trace_rpc`** — PL/pgSQL, view `security_invoker`, `SECURITY DEFINER`/`INVOKER`, and RLS dependency graph
- **`explain_query`** — Timeout-capped `GENERIC_PLAN` structural query plans (never `EXPLAIN ANALYZE`)
- **`get_health_signals`** — Supabase Advisor lints, active/blocked locks, and API/Auth/Storage/Edge error comparisons
- **`list_findings` / `get_finding`** — Qualified findings and Day-1 catalog leads
- **`record_deployment` / `get_before_after`** — Record rollouts and verify real production before/after speedups
See [skills/supabeast/SKILL.md](./skills/supabeast/SKILL.md) for the complete agent workflow and [SECURITY.md](./SECURITY.md) for the read-only security architecture FAQ.
## Security & Privacy
SupaBeast is built around strict read-only metadata inspection. Read the full [Read-Only Security & Privacy Architecture FAQ](./SECURITY.md) — covering zero row access, zero PII literal storage, 1s/5s statement timeouts, and instant OAuth revocation.
## License
MIT © SupaBeast-Org. See [LICENSE](./LICENSE).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues