mcp-supabase
8
Supabase MCP Server is designed to manage Supabase databases and perform SQL query executions with safety and flexibility. It enables Cursor and Windsurf to efficiently interact with Supabase using the Model Context Protocol, featuring robust transaction handling and an array of database management tools.
Supabase MCP Server
Let Cursor & Windsurf manage your Supabase and run SQL queries autonomously and safely.
Key features
- Compatible with multiple MCP clients supporting
stdio
protocol. - Control modes of SQL query execution including read-only and read-write.
- Robust transaction handling for database connections.
- Manage Supabase projects and users using the Supabase Management API and Auth Admin methods.
Getting Started
- Requires Python 3.12+ and PostgreSQL 16+.
- Install via
pipx
oruv
package managers. - Configure local or remote Supabase instance via environment settings.
Feature Overview
- Supports database query tools, management API tools, and Auth Admin tools for CRUD user operations in Supabase.
Roadmap
- Programmatic access to Supabase Management API with controls.
- Read and read-write database SQL queries with safety controls.
- Future developments include stronger SQL validation and automatic versioning of DDL queries.