Supabase logo

Supabase

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

Install Supabase

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/11/2026, 1:30:31 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 MCP server connects AI assistants to Supabase through a hosted streamable HTTP endpoint. It exposes tools for managing tables, retrieving project configuration, and querying data, with URL options for project scoping, read-only access, and feature groups. Use it when an assistant needs controlled access to a Supabase project, or when building an MCP client with the Vercel AI SDK. Local CLI and self-hosted deployments are also supported with a reduced tool set.

Use cases

  • Query Supabase data from an AI assistant
  • Manage database tables through MCP tools
  • Inspect project configuration conversationally
  • Restrict an assistant to read-only project access
  • Expose Supabase tools through a custom HTTP endpoint

Key features

  • Hosted streamable HTTP MCP endpoint
  • Database, configuration, and data-query tools
  • Project-scoped and read-only URL options
  • Local CLI and self-hosted endpoints
  • Vercel AI SDK tool schemas
  • Custom HTTP handler and observability hooks

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.

51/52 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 activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Supabase works

What Supabase MCP server does

Supabase MCP server gives MCP-compatible AI assistants access to Supabase projects. Through its tools, an assistant can work with database tables, query project data, retrieve configuration details, and perform other operations exposed by Supabase's configured feature groups.

The hosted endpoint is intended for connecting tools such as Cursor, Claude, Windsurf, and other MCP clients. Access is project-aware: the client can authenticate to Supabase and select the organization containing the target project. A generated connection URL from the Supabase dashboard can also identify project-specific settings.

Use this server when an AI workflow needs to inspect or modify Supabase resources through natural-language tool calls. Apply read-only and project-scoped settings when the assistant should have narrower access.

How it works

The standard connection uses the streamable HTTP endpoint at https://mcp.supabase.com/mcp. MCP clients send tool requests to that endpoint after the user signs in to Supabase. Configuration can be supplied as URL parameters, including a project reference, read-only mode, and selected feature groups.

Supabase CLI installations expose a local endpoint at http://localhost:54321/mcp. Self-hosted Supabase deployments can enable their own MCP endpoint. Both local and self-hosted modes provide a smaller set of tools and do not include OAuth 2.1.

Applications using the Vercel AI SDK can import createToolSchemas() from @supabase/mcp-server-supabase. The schemas let MCP tools be used as static AI SDK tools with client-side validation and inferred TypeScript input and output types. The package also provides createSupabaseMcpHandler() for serving the tools from an application-owned HTTP endpoint.

Setup and configuration

Configure an MCP client with the hosted URL in the format it expects. A typical configuration is:

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

During setup, the client prompts for Supabase login. Select the organization that owns the project to be used. The Supabase dashboard includes an MCP connection tab and a URL builder for generating project-specific connection settings.

Useful URL options include:

  • project_ref: restricts the connection to one project.
  • read_only=true: removes mutating tools.
  • features: selects feature groups such as database and docs.

Review Supabase's MCP security guidance before granting an AI assistant access to a project. For a custom HTTP deployment, provide a platform adapter to createSupabaseMcpHandler() and manage handler lifetime around each request when credentials vary per request. A shared handler can be retained for a shared service credential.

Tools and capabilities

Available capabilities include:

  • Managing Supabase database tables.
  • Querying Supabase data.
  • Fetching project configuration.
  • Restricting tools to selected feature groups.
  • Excluding account-level tools for project-scoped connections.
  • Excluding mutating operations with read-only mode.
  • Generating typed tool schemas for the Vercel AI SDK.
  • Hosting the MCP interface from a custom HTTP endpoint.
  • Collecting request lifecycle results and Supabase-provided facts through an observer.

The complete tool set depends on the selected configuration and deployment mode. The observer receives lifecycle information and bounded built-in facts; it does not automatically receive request or response payloads.

Limitations and notes

Local CLI and self-hosted environments have fewer tools than the hosted service and do not provide OAuth 2.1. MCP tool results do not include structuredContent; integrations using the AI SDK must rely on JSON contained in the text content fallback.

Custom observers can add facts without automatic privacy validation. Observer, classifier, and sink failures do not alter request behavior, although synchronous observer or classifier work can block requests. The custom handler supports the current protocol revision and rejects clients that only speak the 2025-era protocol.

The package 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

Supabase is an MCP server that connects AI assistants to Supabase projects over HTTP. Its main tools support database table management, data queries, and project configuration access. Connections can be limited by project, feature group, or read-only mode, and clients authenticate through Supabase during setup.

Add the hosted MCP endpoint to your client configuration; no local package installation is required for the hosted service. Use `https://mcp.supabase.com/mcp`, then sign in to Supabase and select the organization containing the project.

Yes, Supabase works with Cursor through its HTTP MCP endpoint. Add the endpoint in Cursor's MCP configuration, complete the Supabase login flow, and choose the organization containing the project you want to use.

Yes, add `read_only=true` to the MCP URL. This excludes mutating tools from the connection, and the Vercel AI SDK integration can use the matching `readOnly: true` schema option.

Yes, Supabase CLI exposes the server at `http://localhost:54321/mcp` when running Supabase locally. The CLI version has a limited tool subset and does not provide 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 AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/supabase?style=directory)](https://allmcps.com/mcp/supabase)
HTML Embed
<a href="https://allmcps.com/mcp/supabase"><img src="https://allmcps.com/api/badge/supabase?style=directory" alt="Supabase on AllMCPs" /></a>