</>MCP Agents Market
MCP Server

supabase-mcp-server

by alexander-zuev830PythonUpdated 2026-08-21

Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning, access to logs and much more.

MCP Agents Market is an independent directory. We are not affiliated with alexander-zuev or supabase-mcp-server, and we do not host or distribute it. All links point to the official GitHub repository.

CursorWindsurfClaude DesktopCline

The supabase-mcp-server is an open-source MCP server that provides AI assistants with comprehensive access to Supabase databases and services. It enables end-to-end database management through natural language, including SQL query execution, schema modifications, Supabase Management API access, Auth Admin SDK operations, and automatic migration versioning. The server includes a three-tier safety system (safe/write/destructive) with built-in risk assessment and requires confirmation for high-risk operations. Developers can install it via pipx or uv and configure it with any MCP-compatible client like Cursor, Windsurf, Claude Desktop, or Cline.

Key Features

Execute SQL queries with automatic risk-level assessment and three-tier safety controls (safe, write, destructive)
Automatic versioning and migration tracking for all database schema changes
Direct access to Supabase Management API with path-based safety rules and request validation
Auth Admin SDK integration for user management, invitations, magic links, and MFA operations
Comprehensive database introspection tools for schemas, tables, columns, and relationships
Access to Supabase logs and analytics across postgres, auth, storage, edge functions, and other services
Universal safety manager with unified risk controls across database, API, and SDK operations
Transaction-based query execution using asyncpg with support for both local and remote Supabase instances

Use Cases

  • 01Managing Supabase databases through conversational AI in IDEs like Cursor or Windsurf
  • 02Executing complex SQL queries and schema migrations with built-in safety guardrails
  • 03Creating and managing test users, authentication flows, and invite links via Auth Admin SDK
  • 04Debugging production issues by querying logs across multiple Supabase services
  • 05Automating database schema changes with automatic migration versioning and tracking
  • 06Calling Supabase Management API endpoints to provision resources and configure projects

Related MCP Servers

View more

supabase-mcp-server — FAQ

What is supabase-mcp-server?+

It's an MCP server that connects AI assistants to Supabase, allowing you to manage databases, execute SQL queries, call Management APIs, and handle authentication through natural language conversations in compatible IDEs.

How do I install supabase-mcp-server?+

Install via pipx with 'pipx install supabase-mcp-server' or uv with 'uv pip install supabase-mcp-server'. Python 3.12 or higher is required. After installation, configure it in your MCP client (Cursor, Windsurf, Claude Desktop, or Cline) by adding the server command and environment variables.

Which AI clients work with this MCP server?+

The server works with any MCP client supporting the stdio protocol, including Cursor, Windsurf, Cline, and Claude Desktop. It has been explicitly tested and documented for all four of these clients.

What API keys and credentials do I need?+

You need a QUERY_API_KEY from thequery.dev (required for all operations), your Supabase project reference, database password, and region. Optionally, you can provide a SUPABASE_ACCESS_TOKEN for Management API access and SUPABASE_SERVICE_ROLE_KEY for Auth Admin SDK features.

Is supabase-mcp-server free to use?+

The MCP server itself is open-source under Apache 2.0 license. However, it requires an API key from thequery.dev to operate. The server works with both free and paid Supabase projects.

Does it work with local Supabase development?+

Yes, it supports local Supabase instances with default configuration for 127.0.0.1:54322. However, Management API and some Auth Admin SDK features only work with remote Supabase.com hosted projects, not local development setups.

How do I install supabase-mcp-server?+

Open the source repository on GitHub and follow its README. supabase-mcp-server is a mcp server — MCP Agents Market links you directly to the official repo.

Is supabase-mcp-server free?+

supabase-mcp-server is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches