Manage Supabase projects — databases, auth, storage, and edge functions
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"supabase": {
"args": [
"mcp-remote",
"https://mcp.supabase.com/mcp"
],
"command": "npx"
}
}
}<your-api-key> with your actual key. How to get one →Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
SUPABASE_ACCESS_TOKENSupabase Access Token1. Go to supabase.com/dashboard/account/tokens 2. Click "Generate new token" 3. Give it a name 4. Copy the tokenOpen Supabase Access Token page
The Supabase MCP Server connects your AI assistant to your Supabase projects. List projects, execute SQL queries, apply migrations, manage tables, and interact with your Supabase database directly through conversation.
This server supports HTTP transport. Be the first to test it — help the community know if it works.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked supabase-mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in data / developer-tools
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Copy/paste detector for programming source code, supports 223 formats. AI-ready with token-efficient reporter, skill and MCP server.
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
MCP Security Weekly
Get CVE alerts and security updates for Supabase MCP Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Connect your Supabase projects to Cursor, Claude, Windsurf, and other AI assistants.
The Model Context Protocol (MCP) standardizes how Large Language Models (LLMs) talk to external services like Supabase. It connects AI assistants directly with your Supabase project and allows them to perform tasks like managing tables, fetching config, and querying data. See the full list of tools.
Before setting up the MCP server, we recommend you read our security best practices to understand the risks of connecting an LLM to your Supabase projects and how to mitigate them.
To configure the Supabase MCP server on your client, visit our setup documentation. You can also generate a custom MCP URL for your project by visiting the MCP connection tab in the Supabase dashboard.
Your MCP client will automatically prompt you to log in to Supabase during setup. Be sure to choose the organization that contains the project you wish to work with.
Most MCP clients require the following information:
{
"mcpServers": {
"supabase": {
"type": "http",
"url": "https://mcp.supabase.com/mcp"
}
}
}
If you don't see your MCP client listed in our documentation, check your client's MCP documentation and copy the above MCP information into their expected format (json, yaml, etc).
If you're running Supabase locally with Supabase CLI, you can access the MCP server at http://localhost:54321/mcp. Currently, the MCP Server in CLI environments offers a limited subset of tools and no OAuth 2.1.
For self-hosted Supabase, check the Enabling MCP server page. Currently, the MCP Server in self-hosted environments offers a limited subset of tools and no OAuth 2.1.
The following options are configurable as URL query parameters:
read_only: Used to restrict the server to read-only queries and tools. Recommended by default. See read-only mode.project_ref: Used to scope the server to a specific project. Recommended by default. If you omit this, the server will have access to all projects in your Supabase account. See project scoped mode.features: Used to specify which tool groups to enable. See feature groups.When using the URL in the dashboard or docs, these parameters will be populated for you.
Without project scoping, the MCP server will have access to all projects in your Supabase organization. We recommend you restrict the server to a specific project by setting the project_ref query parameter in the server URL:
https://mcp.supabase.com/mcp?project_ref=<project-ref>
Replace <project-ref> with the ID of your project. You can find this under Project ID in your Supabase project settings.
After scoping the server to a project, account-level tools like list_projects and list_organizations will no longer be available. The server will only have acce