Available Tools
| Tool | Description |
|---|---|
list_projects |
List all Supabase projects |
execute_sql |
Run SQL queries against your database |
list_tables |
Show all tables and their schemas |
apply_migration |
Create and apply database migrations |
list_functions |
List edge functions |
deploy_function |
Deploy an edge function |
list_storage_buckets |
List storage buckets |
list_auth_users |
List authenticated users |
get_project_url |
Get project API URL and keys |
get_logs |
Query project logs |
Example
Ask your AI agent:
"Show me all users who signed up this week, grouped by auth provider"
The agent runs execute_sql with the appropriate query against your Supabase database.
FAQ
Q: What is Supabase MCP? A: The official MCP server connecting AI agents to Supabase for database queries, auth management, storage, and edge functions. 2.6K+ stars.
Q: Is it safe to give AI agents database access? A: The MCP server uses your Supabase access token with the same permissions you have. Use read-only tokens for exploration, full tokens for management.