Supabase MCP logo

Supabase MCP

by supabase-community

Connects AI assistants to Supabase projects for database operations, 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 11/10/2026, 8:30:30 AM

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

supabase-community/supabase-mcp connects AI assistants to Supabase through a hosted streamable HTTP MCP endpoint. It exposes tools for tasks such as managing tables, retrieving project configuration, and querying data, with options to restrict feature groups, projects, or mutations. Supabase authentication prompts the user to select an organization during setup. Reach for it when an MCP-compatible client needs controlled access to Supabase project operations.

Use cases

  • Query Supabase data from an AI coding assistant
  • Manage database tables through MCP tools
  • Inspect project configuration and URLs
  • Restrict assistant access to read-only or project-scoped operations

Key features

  • Hosted HTTP MCP endpoint
  • Supabase table management and data queries
  • Project configuration retrieval
  • Feature-group, project-scope, and read-only filters
  • Vercel AI SDK tool schemas
  • Optional HTTP self-hosting and request observation

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.

50/51 checks healthy over the last 92d

Adoption & maintenance

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

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

How Supabase MCP works

What supabase-community/supabase-mcp does

Supabase project access is exposed to MCP-compatible AI assistants through tools for database work, configuration retrieval, and data queries. The server is intended for connecting assistants such as Cursor, Claude, and Windsurf to Supabase projects. Available tools and configuration options are maintained in the Supabase MCP documentation.

The hosted service is available at https://mcp.supabase.com/mcp. A project-specific connection URL can also be generated from the MCP connection area in the Supabase dashboard. Feature groups can be selected through URL parameters, including examples such as database and docs.

How it works

Most clients connect using an HTTP MCP configuration similar to:

config.json
{
  "mcpServers": {
    "supabase": {
      "type": "http",
      "url": "https://mcp.supabase.com/mcp"
    }
  }
}

During setup, the client prompts for Supabase authentication and an organization. The connection can be narrowed to a project with project_ref, made read-only with read_only=true, or limited to selected feature groups with features=database,docs.

For applications using the Vercel AI SDK, the @supabase/mcp-server-supabase package exports createToolSchemas(). These schemas let the AI SDK MCP client treat Supabase tools as static tools and provide client-side validation with inferred TypeScript input and output types. Tool results do not use MCP structuredContent; the AI SDK parses JSON from text content instead.

Setup and configuration

Use the hosted endpoint for a managed connection, or configure the local endpoint when running Supabase with the CLI:

text
http://localhost:54321/mcp

Self-hosted Supabase deployments can enable the MCP server through their self-hosting configuration. Local CLI and self-hosted environments provide a limited tool subset and do not include OAuth 2.1.

The package also exports createSupabaseMcpHandler() for serving the MCP interface from an application-owned HTTP endpoint. It accepts a platform adapter, such as one created with createSupabaseApiPlatform({ accessToken }), and can use credentials supplied per request or a shared service-account token. Applications should close per-request handlers after the response finishes and close long-lived handlers during shutdown.

Tools and capabilities

  • Manage Supabase database tables.
  • Query Supabase data.
  • Retrieve project configuration and URLs.
  • Filter available tools by feature group.
  • Exclude account-level tools for project-scoped connections.
  • Exclude mutating tools with read-only configuration.

The package supports an observer passed to createSupabaseMcpServer for request lifecycle results and Supabase-generated facts. Observers do not automatically receive request or response payloads.

Limitations and notes

Review Supabase security guidance before allowing an LLM to access a project. Restricting a connection to a project or read-only tools can reduce its scope, but the assistant still acts through the permissions granted to the connection.

The local CLI and self-hosted modes have fewer tools than the hosted service and do not support OAuth 2.1. The HTTP handler speaks the current protocol revision and rejects clients that only support the 2025-era protocol. Closing a handler aborts in-flight exchanges, so it should not be closed before a streaming response completes.

Observer, classifier, and sink failures do not alter request behavior, although synchronous observer and classifier work can block requests. The project is licensed under Apache 2.0.

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 through HTTP. Its main tools support database table management, data queries, project configuration retrieval, and project URL lookup. Connections can be limited by feature group, project, or read-only mode.

Configure your MCP client with the hosted URL `https://mcp.supabase.com/mcp`; no local installation is required for the hosted service. The client then prompts you to authenticate with Supabase and select an organization. Local CLI and self-hosted deployments use their own MCP endpoints.

Yes, it works with Cursor through the HTTP MCP endpoint. Add the endpoint in Cursor's MCP configuration using the format expected by that client, then complete the Supabase login flow and choose the organization containing the target project.

Yes, add `read_only=true` to the MCP URL or use the corresponding `readOnly` option with `createToolSchemas()`. This excludes mutating tools. You can combine it with `project_ref` and a `features` list to further narrow the connection.

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>