supabase-mcp-server

MCP server for safely querying and managing Supabase databases

Local

Install

See the repository for setup

What 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 servers
  • Open-source desktop SQL workspace with an MCP server for AI coding agents.

    • BigQuery
    • ClickHouse
    • DuckDB
    Updated
  • Instant REST and MCP APIs over PostgreSQL or MySQL without writing a backend

    • MySQL
    • PostgreSQL
    Updated
  • Git-versioned codebase index that coding agents read before acting.

    • MySQL
    • PostgreSQL
    Updated
  • Keyboard-first SQL client for PostgreSQL, MySQL, SQL Server, SQLite and ClickHouse.

    • ClickHouse
    • MySQL
    • PostgreSQL
    Updated
  • Open-source industrial IoT runtime with an MCP tool gateway for AI agents

    • MySQL
    • PostgreSQL
    • Redis
    Updated
  • Self-hosted workflow automation with AI agent steps and 250+ connectors.

    • Anthropic
    • DeepSeek
    • Hugging Face
    Updated

FAQ

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.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<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>
See badge options