The Supabase MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Supabase account. It provides structured and secure access to your projects, databases, development branches, Edge Functions, storage configuration, and logs, so your agent can manage projects, run SQL and migrations, manage branches, deploy Edge Functions, and investigate logs on your behalf.
- Project and organization management: Have your agent list organizations and projects, inspect project details and costs, create new projects, or pause and restore existing ones.
- Database development: Direct your agent to list tables, extensions, and migrations, execute SQL, apply migrations, and generate TypeScript types from your database schema.
- Branch workflows: Let the agent create, list, rebase, reset, merge, or delete development branches as your database changes move toward production.
- Edge Functions and storage: Instruct your agent to inspect and deploy Edge Functions, list storage buckets, and review or update project storage settings.
- Debugging and guidance: Have your agent query project logs, review advisory notices, and search Supabase documentation when you need help diagnosing an issue.