S
Install Command
npx -y @supabase/mcp-server-supabase --access-token <token>Claude Desktop Config
{
"mcpServers": {
"supabase": {
"type": "http",
"url": "https://mcp.supabase.com/mcp?project_ref=<REF>",
"headers": { "Authorization": "Bearer <TOKEN>" }
}
}
}Supabase MCP is an officially maintained MCP server in the Databases category, developed by Supabase. It runs as a remote server, so you can connect to it directly from any Claude-compatible client without installing anything locally. This makes it easy to query and manage your data without leaving your AI assistant.
About Supabase MCP
The official Supabase MCP server connects AI assistants directly to your Supabase projects.
Features
- Execute SQL queries and migrations
- Inspect table schemas and RLS policies
- Manage Edge Functions
- Create and manage projects
- Access storage buckets
- Available as remote MCP with OAuth
Authentication
Local: Personal Access Token. Remote: OAuth via Supabase.
Who Should Use Supabase MCP?
- 1Run natural-language queries against your database without writing SQL
- 2Inspect schemas, tables, and relationships during development
- 3Automate data exports, migrations, and reporting tasks
- 4Let AI assistants answer questions directly from your live data
How to Install Supabase MCP
Before you start
You will need Node.js (v18 or later) installed on your machine — download it from nodejs.org if you haven't already.
- 1Open a terminal (Terminal on Mac, Command Prompt or PowerShell on Windows).
- 2Paste the install command above and press Enter — Node.js will download and run the server automatically.
- 3Add the server to your Claude Desktop config file (see the JSON snippet above) and restart Claude.
The Claude Desktop config snippet above can be copied and pasted directly into your claude_desktop_config.json file — no editing required.
How Supabase MCP Compares
✦It is an officially maintained server — unlike community alternatives, it is built and supported by the original project team, ensuring compatibility with upstream changes.
✦It runs as a hosted remote server, which means zero local setup — ideal for teams who want a shared MCP endpoint without managing infrastructure.
✦It uses OAuth for authentication, which means you log in with your existing account rather than managing API keys manually.
Tags
supabasepostgresqldatabaseauthedge-functions