Skip to content
MCP server

SupaForge

Compare and sync Supabase environments, with an MCP server for agents

Runs locally

SupaForge is an MCP server for databases. It runs locally on your machine and is started by your AI client.

Platforms
CLI, VS Code, API
Runs
Locally
Version
0.0.50
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add supaforge -- npx -y @akal/supaforge

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "supaforge": {
      "command": "npx",
      "args": [
        "-y",
        "@akal/supaforge"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "supaforge": {
      "command": "npx",
      "args": [
        "-y",
        "@akal/supaforge"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "supaforge": {
      "command": "npx",
      "args": [
        "-y",
        "@akal/supaforge"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "supaforge": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@akal/supaforge"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add supaforge -- npx -y @akal/supaforge

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.supaforge]
command = "npx"
args = ["-y", "@akal/supaforge"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "supaforge": {
      "command": "npx",
      "args": [
        "-y",
        "@akal/supaforge"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "supaforge": {
          "command": "npx",
          "args": [
            "-y",
            "@akal/supaforge"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user supaforge npx -- -y @akal/supaforge

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "supaforge": {
          "command": "npx",
          "args": [
            "-y",
            "@akal/supaforge"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "supaforge": {
          "command": "npx",
          "args": [
            "-y",
            "@akal/supaforge"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "supaforge": {
          "command": "npx",
          "args": [
            "-y",
            "@akal/supaforge"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "supaforge": {
          "command": "npx",
          "args": [
            "-y",
            "@akal/supaforge"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "supaforge": {
          "command": "npx",
          "args": [
            "-y",
            "@akal/supaforge"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "supaforge": {
          "command": "npx",
          "args": [
            "-y",
            "@akal/supaforge"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "supaforge": {
          "command": "npx",
          "args": [
            "-y",
            "@akal/supaforge"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About SupaForge

The core of SupaForge is a diff engine run across two Supabase projects, say dev and prod. Beyond the schema it reads RLS policies (compared by meaning rather than text), grants, storage buckets and their policies, auth config, Edge Functions, cron jobs, queues, partition sets, webhooks, Realtime publications, extensions and migration history. Vault entries are compared by name only, since values cannot be read.

Writes are opt-in. Nothing changes without --apply, and fixes that lose data or widen access also need --allow-destructive. Fixes run in dependency order inside one transaction, so a failure leaves the target untouched, and --prove rehearses the migration on a throwaway copy first. Each fix also notes the lock it takes and whether it may rewrite a table.

The same engine is available from the CLI (npm, Homebrew, Docker), a GitHub Action, a VS Code extension and the MCP server. With a single project it can snapshot, restore and clone instead.

What it does

Whole-project diff
Compares schema, RLS, storage, auth, functions, cron, queues and more, not just tables.
Safe by default
Writes need --apply; destructive changes also need --allow-destructive.
Production-aware fixes
Each fix reports the lock it holds and whether it can rewrite or scan a table.
Prove before applying
--prove rehearses the migration and refuses ones that would lose rows.
Many ways to run
npm, Homebrew, Docker, GitHub Actions, VS Code and MCP.
Snapshot and clone
With one project it can snapshot, restore and clone it.

Good for

  • Find what drifted between staging and production before a release
  • Catch RLS or grant differences that tests miss
  • Apply environment fixes from CI with a dry run first
  • Let a coding agent inspect drift through MCP

SupaForge FAQ

Does SupaForge change my database by default?

No. Writes need --apply and risky ones need --allow-destructive.

What Node version is needed?

Node.js 22 or newer for the CLI, according to the README; the site mentions 20+.

Does SupaForge work with self-hosted Supabase?

Yes, the README lists Supabase Cloud, self-hosted stacks and plain PostgreSQL targets.

Are storage objects copied?

No, only buckets and their policies are compared.

How do I add SupaForge to Claude Code?

Run this command in your terminal: claude mcp add supaforge -- npx -y @akal/supaforge

What are the best alternatives to SupaForge?

The closest alternatives to SupaForge are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README and the project's website.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers