Supabase MCP Server
CommunityAbout
Connect AI assistants to your Supabase project. Manage tables, fetch config, query data, and more directly from your AI assistant.
Features
- Manage database tables
- Execute SQL queries
- Fetch project configuration
- Read-only mode available
- OAuth 2.1 authentication
Installation
Using Claude Desktop
Add this configuration to your Claude Desktop config file:
{
"mcpServers": {
"supabase": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp"
],
"env": {
"SUPABASE_URL": "https://mcp.supabase.com/mcp",
"SUPABASE_ACCESS_TOKEN": "your_access_token"
}
}
}
}
Using Cursor
Configure in your Cursor settings (Settings > MCP):
{
"supabase": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp"
],
"env": {
"SUPABASE_URL": "https://mcp.supabase.com/mcp",
"SUPABASE_ACCESS_TOKEN": "your_access_token"
}
}
}
How to Use
Once installed, you can ask your AI assistant to:
- "Query database tables"
- "Manage Supabase schemas"
- "Fetch project metadata"
- "Execute database operations"