Connect AI assistants to your Supabase project for full database management
The Supabase MCP Server connects your AI assistant to your Supabase project for full database management. Run SQL queries, manage tables, create migrations, handle auth, and even generate TypeScript types directly from your schema.
Built by the Supabase community with strong adoption (2,500+ GitHub stars), this server gives you a natural language interface to your entire Supabase backend. It supports all major Supabase features including database, auth, and storage.
Perfect for developers who want to prototype faster, debug data issues, or manage their Supabase project without leaving their AI workflow.
Well-maintained community server with strong adoption. Uses service role keys for full access. Active development.
5 files analyzed · 2 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: SUPABASE_URL
Sign up freeEnvironment variable: SUPABASE_SERVICE_ROLE_KEY
Sign up freeAdd this to your MCP configuration file:
{
"mcpServers": {
"supabase": {
"command": "npx",
"args": [
"-y",
"supabase-mcp"
],
"env": {
"SUPABASE_URL": "<your-url>",
"SUPABASE_SERVICE_ROLE_KEY": "<your-key>"
}
}
}
}Once installed, try these example prompts and explore these capabilities:
This turns Claude into a full database admin. Running queries, creating migrations, even generating TypeScript types from my schema. Incredible.
The community maintains this beautifully. Every Supabase feature I need is covered. Schema inspection is particularly useful.
Works great for development. Just be careful with the service role key since it bypasses RLS. Not recommended for production databases.
Added support for streaming responses and improved error handling for rate-limited requests.
Major release: new tool registration API, breaking changes to configuration format. See migration guide.
Added OAuth 2.0 support and improved connection pooling.
Initial stable release.