All servers

Supabase

Query your database, manage schema, and inspect logs.

Database

Hosted remote server with one-click OAuth — connect Supabase to Claude, ChatGPT, or Cursor with no local install.

The Supabase MCP server connects AI assistants directly to your Supabase project, letting them query the database, manage schema, inspect logs, and deploy Edge Functions through natural language. The hosted remote server authenticates via browser-based OAuth, removing the need for local setup or manual token handling. It supports read-only and project-scoped modes for safe operation.

Transport
http
Authentication
OAuth
Endpoint
https://mcp.supabase.com/mcp?read_only=true&project_ref=<project-ref>

Hosted server uses OAuth. Keep read_only=true and set your project_ref for safety — replace <project-ref> with your project's ref.

What you can do

  • Query and inspect your Postgres database
  • Create and apply schema migrations
  • Fetch logs and security advisors
  • Deploy and list Edge Functions
  • Manage projects and database branches
  • Search Supabase documentation
  • Restrict to read-only, project-scoped access

Try asking

List all tables in my database and show their row counts.
Create a migration that adds a 'status' column to the orders table.
Check the logs and security advisors for errors in my project.

Tools it exposes

A sample of the tools available once connected.

list_tablesexecute_sqlapply_migrationget_logsget_advisorsdeploy_edge_function

Set it up

One click adds Supabase to Cursor. Cursor must be installed.

Add to Cursor
Official Supabase MCP docs