Supabase MCP logo

Supabase MCP

by supabase-community

Connects AI assistants to Supabase projects for database management, configuration access, and data queries over MCP.

Install Supabase MCP

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://mcp.supabase.com/mcp?features=docs%2Caccount%2Cdatabase%2Cdebugging%2Cdevelopment%2Cfunctions%2Cbranching

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Hosted endpointLive · TodayLive Remote EndpointOur automated health check connected to this remote MCP endpoint successfully.Last checked 10/26/2026, 11:00:31 PM

Clients with native remote MCP support can connect directly to this URL.

Remote endpoint
https://mcp.supabase.com/mcp?features=docs%2Caccount%2Cdatabase%2Cdebugging%2Cdevelopment%2Cfunctions%2Cbranching

Overview

The supabase-community/supabase-mcp MCP server connects AI assistants to Supabase projects through the Model Context Protocol. It exposes tools for managing tables, retrieving project configuration, and querying data, with options for read-only and feature-scoped access. The hosted endpoint uses HTTP and prompts users to authenticate with Supabase. Use it when an MCP-compatible assistant needs controlled access to a Supabase project, including local CLI or self-hosted deployments with reduced tool sets.

Use cases

  • Manage Supabase tables through an AI assistant
  • Query project data from an MCP-compatible client
  • Retrieve Supabase project configuration conversationally
  • Expose Supabase MCP tools from a custom HTTP endpoint

Key features

  • HTTP MCP endpoint for hosted Supabase projects
  • Table management, configuration, and data-query tools
  • Read-only and project-scoped access modes
  • Feature-group filtering through URL options
  • JavaScript APIs for AI SDK schemas and self-hosted handlers

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

28/29 checks healthy over the last 78d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2kStargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Supabase MCP works

What supabase-community/supabase-mcp does

The supabase-community/supabase-mcp MCP server gives MCP-compatible AI assistants access to Supabase project operations. Its documented use cases include managing database tables, retrieving configuration, and querying project data. The server is intended for connecting an assistant to a project through Supabase authentication rather than manually exposing separate database credentials to the model.

The project belongs in the 🗄️ Databases category. It can also serve as a foundation for applications that need to expose Supabase operations through an AI SDK MCP client or a custom HTTP endpoint.

How it works

The hosted service is available at https://mcp.supabase.com/mcp over HTTP. An MCP client connects to that URL, and the client prompts the user to sign in to Supabase and select the organization containing the target project. The connection can be narrowed with URL options such as project_ref, read_only=true, and a comma-separated features value.

The supabase-community/supabase-mcp package also provides JavaScript APIs for embedding the server in an application. createToolSchemas() supplies schemas for use with Vercel AI SDK's MCP client, including inferred TypeScript input and output types. createSupabaseMcpHandler() can expose the tools from an HTTP endpoint that you operate. Per-request credentials require creating and closing handlers around each request; a shared service credential can use a long-lived handler.

Setup and configuration

For the hosted deployment, add the HTTP MCP endpoint to the configuration format required by your client. Supabase provides a dashboard MCP connection tab and an interactive URL builder for generating configuration options. Review Supabase's MCP security guidance before granting an AI assistant access to a project.

Local Supabase CLI environments expose the server at http://localhost:54321/mcp. Self-hosted Supabase installations have their own enablement procedure. Both local and self-hosted modes currently provide a limited subset of tools and do not provide OAuth 2.1.

When self-hosting the endpoint in Node.js, the project uses @modelcontextprotocol/node alongside the Supabase package. The handler supports the current protocol revision and rejects clients that only support the older 2025-era protocol.

Tools and capabilities

The supabase-community/supabase-mcp MCP server supports feature filtering, project-scoped schemas, and read-only schemas. Project-scoped mode removes project_id from tool inputs and excludes account-level tools when a project reference is already configured. Read-only mode removes mutating tools. These settings can be applied through the server URL and mirrored in createToolSchemas().

The full tool inventory and feature groups are maintained in Supabase's MCP documentation rather than enumerated in the repository excerpt.

The package supports optional observability through an observer passed to createSupabaseMcpServer. Observers can receive bounded lifecycle results and Supabase facts. Observation is disabled when no observer is supplied, and observer failures do not change request behavior.

Limitations and notes

MCP tool results do not include structuredContent; clients such as the AI SDK must parse JSON from the text content. Local CLI and self-hosted deployments have fewer tools than the hosted service and lack OAuth 2.1. A handler's close() method aborts in-flight exchanges, so applications serving streaming responses should close it after the response finishes. Connecting an AI assistant to a Supabase project carries security risks, so access scope and write permissions should be reviewed before deployment.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Supabase MCP

supabase-community/supabase-mcp is an MCP server that connects AI assistants to Supabase projects. Its main tools support managing tables, fetching project configuration, and querying data. Clients authenticate with Supabase, while configuration options can restrict access to one project, selected feature groups, or read-only operations.

Configure your MCP client with the hosted URL `https://mcp.supabase.com/mcp`. The client will prompt you to sign in to Supabase and choose an organization and project. Local CLI and self-hosted deployments use separate endpoints and setup procedures.

Yes, Cursor is explicitly named as a supported AI assistant. Add the server's HTTP endpoint using Cursor's MCP configuration format, then complete the Supabase login flow and select the organization containing the project.

Yes, Supabase CLI environments expose the MCP server at `http://localhost:54321/mcp`. Local and self-hosted modes currently provide a limited subset of tools and do not support OAuth 2.1.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSupabase MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/supabase-community-supabase-mcp?style=directory)](https://allmcps.com/mcp/supabase-community-supabase-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/supabase-community-supabase-mcp"><img src="https://allmcps.com/api/badge/supabase-community-supabase-mcp?style=directory" alt="Supabase MCP on AllMCPs" /></a>