Supabase MCP Server
Manage Supabase projects, tables, SQL, and development branches from an MCP client.
Overview
Supabase's MCP server connects agents to Supabase projects for database queries, schema inspection, project management, and development branches. It supports a hosted endpoint with OAuth and a local server with a personal access token. Project-level administrative actions can be high impact, so use a dedicated project and scoped credentials.
Capabilities
- SQL queries
- Table management
- Project metadata
- Development branches
- Edge function context
Connection profile
- Transports
- stdio, Streamable HTTP
- Authentication
- OAuth; Personal access token
- License
- Apache-2.0
- Vendor
- Supabase
- Repository
- github.com/supabase/mcp
Client format support is reviewed against official client documentation. It is not a claim that this specific server was tested with every client.
Configuration starting point
A documented preset is available for this server. It contains placeholders, not real credentials. Generate a client-correct file or review the raw values below.
https://mcp.supabase.com/mcp
Security notes
- Use a non-production project for agent work; database and project-management tools can be destructive.
- Prefer read-only SQL and avoid exposing service-role credentials to an agent.
- Row-level security applies to API access, but direct SQL privileges bypass it; scope the token accordingly.
The catalog records source evidence, not a security audit. Review the server's permissions, recent releases, and the data it can access before connecting it to a real account.
Related failure modes
A TCP connection was attempted to a host and port where nothing is listening, or the listener is bound to a different interface. For local servers this usually means the server is not running or the URL uses the wrong port; for remote servers it can be a deployment or network problem.
Remote MCP endpoint returns HTTP 405The endpoint exists but rejects the HTTP method used. With Streamable HTTP, POST is required at the MCP endpoint; GET and DELETE behavior depends on the protocol version and server implementation. A 405 often indicates a transport mismatch rather than a broken server.
Remote MCP server returns HTTP 401 UnauthorizedThe remote server did not receive valid credentials. A 401 is an authentication result, not proof that the URL is wrong. The fix is to identify which credential the endpoint expects and whether the client actually attached it.
MCP tool not found after the server connectsThe server is connected but the requested tool is absent from its tool list. The tool may not be enabled, the server may expose a different toolset, or the client may have cached a stale list.
MCP Streamable HTTP request fails with HeaderMismatch (-32020)The 2026-07-28 MCP specification requires the MCP-Protocol-Version HTTP header to match the protocol version in the request metadata. A mismatch returns HTTP 400 with the MCP-specific HeaderMismatch error. Older clients and servers may not implement this header yet.
Sources & evidence
- github.com/supabase/mcpRepository · checked Oct 23, 2026 · documented
Supabase's official MCP repository documents the hosted endpoint, local server, authentication, and project tools.