supabase-mcp-server
MCP server for safely querying and managing Supabase databases
Install
See the repository for setupWhat it does
This is an MCP server that gives MCP-capable clients a controlled way to work with Supabase-hosted PostgreSQL databases. It runs SQL queries with selectable read-only or read-write modes, validates queries at runtime, and classifies operations into safe, write, and destructive tiers. Schema changes are versioned automatically, and both direct and pooled connections are handled with transaction support. Optional features cover the Supabase Management API and the Auth Admin SDK for user administration, and it can also run against a local Supabase development instance.
It is aimed at developers using Cursor, Windsurf, Cline, or Claude Desktop, and other clients that speak the stdio protocol. Installation is through pipx or uv, so Python 3.12 or later is required, and configuration can come from environment variables or a global file at ~/.config/supabase-mcp/.env.
Material limitations: only hosted Supabase.com projects and local development are supported, custom connection strings and self-hosting are not, session pooling is not supported, and an API key from thequery.dev is required. The project is no longer actively maintained, with the official Supabase MCP server suggested instead.
Compatibility and authentication
- Connection
- Local
- Transports
- Unspecified
- Authentication
- Unknown
Security and permissions
- When you run the server locally, it runs with your user permissions.
- Authentication type: Unknown.
Repository data
- Stars
- 837
- Last push
- Aug 21, 2026
- License
- Apache-2.0
- Archived
- No
Other PostgreSQL MCP servers
Compare serversFAQ
- What license does supabase-mcp-server use?
- Apache-2.0
- Does supabase-mcp-server run locally or remotely?
- It runs locally.
- Is supabase-mcp-server an official server?
- It is listed as a community server.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/supabase-mcp-server"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.