# Supabase MCP server

> Ask in plain English to query your Supabase database, manage branches, check logs and deploy Edge Functions.

## Server URL

`https://mcp.supabase.com/mcp` (Streamable HTTP)

- Sign-in: Sign in with Supabase
- Connect in RevampKey: https://revampkey.com/marketplace/supabase

## Agent skills (5)

- [Supabase MCP essentials: safe ground rules for AI agents in Supabase](https://revampkey.com/marketplace/supabase/skills/essentials.md): The base Supabase skill. It picks the right project, prefers dev branches over production, reads the schema before writing SQL, sends schema changes through tracked migrations, and asks before anything that changes data or costs money.
- [Debug Supabase errors with AI: logs, RLS and slow queries](https://revampkey.com/marketplace/supabase/skills/debug-with-logs.md): Reads the right Supabase logs (API, Postgres, auth, storage, edge functions) and the advisors to find why something fails or is slow. It checks RLS policies and missing indexes, and proposes a fix with the evidence.
- [Supabase Edge Functions with AI: write, deploy and debug](https://revampkey.com/marketplace/supabase/skills/edge-functions.md): Writes and deploys Supabase Edge Functions with CORS, caller verification and secrets handled properly, then reads the logs to confirm they work. Deploys and secrets wait for your yes.
- [Supabase migrations with AI: tables, RLS policies and types, safely](https://revampkey.com/marketplace/supabase/skills/schema-change.md): Designs the migration with RLS policies and indexes, applies it on a branch first when you use branching, checks Supabase's security and performance advisors, and regenerates your TypeScript types. Every change waits for your yes.
- [Supabase security audit with AI: RLS gaps, advisors, storage](https://revampkey.com/marketplace/supabase/skills/security-audit.md): Checks your Supabase project for tables without RLS, always-true policies, security-definer functions, public storage buckets and advisor warnings, then ranks the fixes with the exact SQL for each.

All skills: https://revampkey.com/marketplace/supabase/skills.md

Supabase is a Postgres development platform. Every project is a full Postgres database, and it comes with built-in authentication, file storage, Edge Functions for custom code, and instant REST APIs. Developers use it to build apps without running their own servers. Customers named on the site include Lovable, Chatbase and Phoenix Energy.

Connect Supabase to RevampKey and you can ask about your projects in plain English. The agent can list your organizations and projects, read tables, migrations and extensions, and run SQL against a project's database. It can also work with branches, Edge Functions, storage buckets, notebooks and project logs. Changes wait for your approval.

Sign-in happens on Supabase's own page, not in RevampKey. Click Connect, approve access, and choose the organization that holds the project you want. You do not need a personal access token. Reads run as you ask. Any step that creates, changes or deletes a branch, migration, Edge Function, project, storage setting or notebook asks you first.

## What you can do

### Test a schema change on a branch first

You want to add a column to a table. You ask the agent to create a branch called add-column. Then you ask it to apply the migration. You look at the result. When you are happy, you ask it to merge the branch. The agent asks you before it applies the migration and again before it merges.

### Find the cause of API errors

Users report errors from your API after a release. You ask the agent for the last hour of error logs and any security or performance advisors. It runs a read-only log query and lists the advisors it finds. It then summarizes which errors line up with which advisors. Nothing in your project changes.

### Review an Edge Function before a fix

A send-receipt Edge Function started failing. You ask the agent to list your Edge Functions and show the code of send-receipt. It reads the function and explains what it does. After you decide on a fix, you ask it to deploy the function. The agent asks you before it deploys, and only then does the new version go live.

## Things to ask

- List the tables in my main project and show me the migrations that have run.
- Create a branch called login-fix in my project so I can test a change there.
- Show the errors from my API in the last hour and any advisors for my project.
- Show me the code of my send-receipt Edge Function.
- What storage buckets does my project have, and what is their config?

## What the agent can do

### Database and schema

Lists your tables, extensions and migrations, and generates TypeScript types from your schema. Running SQL and applying a migration both change your database, so the agent asks first.

`list_tables`, `list_extensions`, `list_migrations`, `apply_migration`, `execute_sql`

### Branches

Lists branches and creates them. Deleting, merging, resetting or rebasing a branch asks first. Supabase marks branching as experimental and says it needs a paid plan.

`create_branch`, `list_branches`, `delete_branch`, `merge_branch`, `reset_branch`, `rebase_branch`

### Edge Functions

Lists Edge Functions and reads a function's code. Deploying a function or creating a function secret asks first. Secret entry can happen in the Supabase Dashboard when that is available.

### Projects, organizations and cost

Lists organizations and projects and reads their details. Creating, pausing or restoring a project asks first. Reads cost information. Confirming costs asks first.

`list_organizations`, `get_organization`, `list_projects`, `get_project`, `create_project`, `pause_project`, `restore_project`, `get_cost`, `confirm_cost`

### Keys, URLs and storage

Gets a project's API URL and publishable keys. Lists storage buckets and reads storage settings. Changing storage configuration asks first.

`get_project_url`, `get_publishable_keys`

### Logs, advisors, notebooks and docs

Runs read-only queries on project logs and reads security and performance advisors. Searches Supabase docs. Lists and reads notebooks. Creating, running or deleting a notebook asks first.

`get_logs`, `get_advisors`

## FAQ

### What do I need to connect Supabase to RevampKey?

You need a Supabase account with access to the organization that holds your project. Click Connect in RevampKey, then sign in on Supabase's own page and grant access. Pick the organization that contains the project you want. You do not need to create a personal access token. Branching needs a paid Supabase plan.

### Can the agent change things in my Supabase project?

Yes. It can create projects and branches, apply migrations, run SQL, deploy Edge Functions, update storage configuration, merge branches, and pause or restore projects. Seventeen of its tools can create, change or delete things, and it asks you before each one. Read tools, such as listing tables or reading logs, only read. The tool list has no way to delete a project or an organization.

### How do approvals work when I ask for a change?

The agent asks you before it runs any tool that creates, changes or deletes something. Examples include merge_branch, execute_sql and deploy_edge_function. If you say no, the change does not run. Check the agent's answers before you act on them.

### What can the agent do with Supabase notebooks?

Notebooks hold Markdown, database and log cells. The agent can list and read them, create one, and delete one. It can run up to 50 query cells in a notebook, or only the cells you select. Notebooks are only available on hosted Supabase connections, not on local or self-hosted Studio. Creating, running and deleting a notebook ask you first.

### What is the Supabase MCP server URL?

The Supabase MCP server URL is https://mcp.supabase.com/mcp. It uses the Streamable HTTP transport, so any client that supports remote MCP servers can connect to it.

### How does the Supabase MCP server authenticate?

With Supabase's own sign-in (OAuth). You approve access in your browser; no password is shared with the client.

### What can an AI agent do with the Supabase MCP server?

It exposes 39 tools: 22 that read and 17 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

### Are there agent skills for Supabase?

Yes. 5 SKILL.md playbooks teach an agent how to do real Supabase work step by step. RevampKey installs them when you connect Supabase; for Claude Code, Cursor or Codex you can copy them into your project.

## Tools (39)

- `apply_migration` (changes data)
- `confirm_cost` (changes data)
- `create_branch` (changes data)
- `create_edge_function_secret` (changes data)
- `create_notebook` (changes data)
- `create_project` (changes data)
- `delete_branch` (changes data)
- `delete_notebook` (changes data)
- `deploy_edge_function` (changes data)
- `execute_sql` (changes data)
- `generate_typescript_types`
- `get_advisors`
- `get_cost`
- `get_edge_function`
- `get_logs`
- `get_notebook`
- `get_organization`
- `get_project`
- `get_project_url`
- `get_publishable_keys`
- `get_storage_config`
- `list_branches`
- `list_edge_functions`
- `list_extensions`
- `list_migrations`
- `list_notebooks`
- `list_organizations`
- `list_projects`
- `list_storage_buckets`
- `list_tables`
- `merge_branch` (changes data)
- `pause_project` (changes data)
- `query_logs`
- `rebase_branch` (changes data)
- `reset_branch` (changes data)
- `restore_project` (changes data)
- `run_notebook` (changes data)
- `search_docs`
- `update_storage_config` (changes data)

## Details

- Maker: Supabase
- Setup: Sign in with your account
- Category: Data & analytics, Developer tools
- Documentation: https://supabase.com/docs/guides/getting-started/mcp

Page: https://revampkey.com/marketplace/supabase
