Supabase MCP Server
Query Postgres, manage tables, call edge functions.
Official — published by the vendor of the system it connects to.
Inspect your schema, run SQL, manage tables and branches, and invoke edge functions. Supports a read-only flag that blocks writes entirely — the safest way to let an agent explore production data.
Install Supabase MCP Server
Paste this into your MCP client config — Claude Desktop, Claude Code, Cursor, VS Code and Windsurf all read the same shape — then restart the client.
npx -y @supabase/mcp-server-supabase@latestConfig for each MCP client
The same server, in the shape each client expects. Copy the block for yours, restart it, and Supabase MCP Server appears in your next session.
Claude Desktop
{
"mcpServers": {
"supabase": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase@latest"
]
}
}
}Full Claude Desktop setup guide
Claude Code
claude mcp add supabase -- npx -y @supabase/mcp-server-supabase@latestCursor
{
"mcpServers": {
"supabase": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase@latest"
]
}
}
}VS Code
{
"servers": {
"supabase": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase@latest"
]
}
}
}Windsurf
{
"mcpServers": {
"supabase": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase@latest"
]
}
}
}Details
- Repository
- https://github.com/supabase-community/supabase-mcp
- Homepage
- https://github.com/supabase-community/supabase-mcp
- Category
- Database
- Stars
- 9400
- Installs per month
- 96000
- Last checked
Frequently asked questions
How do I install Supabase MCP Server?
Add it to your MCP client's config with the command `npx -y @supabase/mcp-server-supabase@latest`, or paste the ready-made JSON block above into Claude Desktop, Cursor, VS Code or Windsurf. Claude Code users can run `claude mcp add supabase` instead. Restart the client and the tools appear in the next session.
Does Supabase MCP Server need an API key?
No credential is recorded for this listing, which usually means it runs against something local or public rather than an authenticated API. Check the repository's README before assuming, and if you find otherwise, tell us and we will correct the listing.
Which clients work with Supabase MCP Server?
Any MCP client. Claude Desktop, Claude Code, Cursor, VS Code with Copilot, Windsurf, Zed, Cline and Continue all speak the Model Context Protocol, so a server written once works in all of them — only the location of the config file differs.
Is Supabase MCP Server free?
The server itself is free and open source, and you run it yourself. It is published by the vendor of the system it connects to, so that service's own pricing applies to whatever it reaches.
Other Database servers
- Postgres MCP Server — Read-only SQL with schema inspection. Official (Database)
- SQLite MCP Server — Query a local SQLite file directly. Official (Database)
- Redis MCP Server — Get, set and scan keys. (Database)
All Database MCP servers · The full MCP server list · Install guides