SupaForge MCP server
Find and fix drift between Supabase environments: schema, RLS, roles, auth, storage and more.
1 stars524 downloads/wk
Reviews
Write oneNobody has reviewed SupaForge yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
SupaForge tools (5, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
apply_fixesApply SQL fixes to resolve drift detected by scan_drift. Previews by default \u2014 pass dryRun=false to actually write to the target database.
create_migrationwrite actionCapture a snapshot and generate a migration file containing the diff against the previous snapshot. Migration files are stored under .supaforge/migrations/.
get_check_resultRetrieve the result for a specific check from the most recent scan_drift call. Returns issues, status, and duration for the named check.
scan_driftScan for drift between Supabase environments and return a structured report. Results include per-check status, issues with SQL fixes, and a health score.
take_snapshotCapture a point-in-time snapshot of a Supabase environment. Snapshots are stored under .supaforge/snapshots/ and can be used to restore state.
Public scan report
scanner v0.1.10 · 2026-10-13 · same rubric, same numbers if you re-run it
- Code scan58 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
Install SupaForge in Claude Code, Cursor or VS Code
Runs npx -y @akal/supaforge on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add supaforge -- npx -y @akal/supaforge
What the publisher says
From the SupaForge repository's README, as published. We do not edit it. Read it on GitHub
SupaForge
Diff and sync your Supabase environments.
Supabase projects running as dev, staging and production drift apart, and nothing in Supabase tells you. A policy added in staging never reaches production; a bucket goes public in one place only; a cron job, webhook or grant exists on one side and not the other.
SupaForge finds every one of those differences across the whole project, not just the schema. It then makes the target match the source safely, and can prove the result before it touches anything.
CVE-2025-48757 found 170+ apps with exposed databases because RLS policies never reached production. SupaForge catches that on the first scan.
Built by Akal.
Why SupaForge
transaction, and roll back cleanly if anything fails. Anything that would lose data or open up access waits for an explicit --allow-destructive.
- The whole project. It compares more than tables and columns:
- RLS policies and RLS coverage;
- storage buckets and their policies;
- auth config and Edge Functions;
- cron jobs, webhooks and Realtime;
- Vault, extensions, roles and grants;
- reference data and migration history.
- Fixes, not just reports. Fixes run in dependency order, in one
copy of the target and applies nothing unless the result matches the source.
- Proof before change. --prove rehearses the migration on a throwaway
configuration, restore it into an empty database (Supabase or plain PostgreSQL), or clone it locally with its data.
- One project is enough. Snapshot a project's structure and
stacks, and local clones.
- Hosted and self-hosted. It works with Supabase Cloud, self-hosted
meaningful exit codes, --json output is machine-readable throughout, and a built-in MCP server lets AI agents scan and fix safely.
- Built for pipelines and agents. --ci gives GitHub annotations and
Quick start
npm install -g @akal/supaforge
supaforge init # create supaforge.config.json
supaforge diff # what has drifted?
supaforge diff --detail # with the SQL
supaforge diff --apply # fix the targetOnly one project?
supaforge snapshot --env=prod --apply # record it
supaforge restore --env=local --from-snapshot=latest --apply
supaforge clone --env=prod --apply # local copy, data includedEverything that writes previews first. Add --apply to make it happen.
Also on Homebrew (brew install akalsoftware/tap/supaforge), as a GitHub Action, and as an MCP server for Cursor, VS Code and Claude, with one-click installs — see Install.
Full documentation →: the checks, commands, safety model, snapshots and restore, migrations, configuration, self-hosted Supabase, CI and MCP.
Under the hood
The schema and data checks are powered by DBDiff, installed automatically as a native binary with no PHP needed. Every release is tested by migrating a corpus of PostgreSQL shapes in both directions, and checking each result against an independent catalog oracle and against --prove.
Development
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
SupaForge: common questions
- Is SupaForge MCP server safe?
- Yes, by our scan: it is graded A (94/100). Read the SupaForge safety report
- How do I install SupaForge?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does SupaForge need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is SupaForge maintained?
- The last commit was in the last day (2026-10-13). The latest release is v0.0.33.
- What can I use instead of SupaForge?
- Servers from other publishers that do the same job: Run402 MCP server, Rls Doctor MCP server and Supabase MCP server. Compare all SupaForge alternatives.
Alternatives to SupaForge
Same job from other publishers: the closest match first, then the best rated.
- Run402x402 pay-per-call infra for agents: $0.03 image generation, Postgres, auth, storage, functions.not reviewedEstablishedB
- Rls DoctorRead-only Postgres/Supabase RLS audit with a rolled-back probe that proves who can read which rows.not reviewedGrowingA
SupabaseMCP server for interacting with the Supabase platformnot reviewedWidely usedA
AirtableRead and write access to Airtable database schemas, tables, and records.not reviewedEstablishedB- LINQ to DBInspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.not reviewedEstablishedA