Supabase

Supabase

Interact with Supabase: Create tables, query data, deploy edge functions, and more.

2,289
Stars
253
Forks
20
Releases

Overview

Supabase MCP Server enables LLMs to talk to external services via the Model Context Protocol (MCP). It connects AI assistants directly with a Supabase project, allowing them to perform tasks such as managing tables, fetching configuration, and querying data using a curated set of tools. Tools are grouped into feature groups (account, docs, database, debugging, development, edge functions, branching, storage) that can be enabled or disabled via the features query parameter. The server can be run in the cloud at mcp.supabase.com/mcp or locally with Supabase CLI at http://localhost:54321/mcp, and self-hosted deployments are supported. You can scope access to a specific project with project_ref to limit exposure to that project; without scoping, the server will have access to all projects in your account. Read-only mode can be enabled to restrict mutating actions and execute queries as a read-only Postgres user. The toolset includes operations such as listing and creating projects, listing tables, applying migrations, deploying Edge Functions, and managing branches. Security guidance covers prompt-injection risks and best practices like reviewing tool calls before execution. The MCP server is pre-1.0, so breaking changes may occur, and a separate PostgREST MCP server exists for different use cases.

Details

Owner
supabase-community
Language
TypeScript
License
Apache License 2.0
Updated
2025-12-07

Features

Account tools

Tools to manage Supabase projects and organizations (list_projects, get_project, create_project, pause_project, restore_project, list_organizations, get_organization, get_cost, confirm_cost).

Knowledge Base (Docs) tools

search_docs to search Supabase documentation for up-to-date information.

Database tools

list_tables, list_extensions, list_migrations, apply_migration, and execute_sql to manage and query the database.

Debugging tools

get_logs and get_advisors to help debug and monitor service performance and security.

Development utilities

get_project_url, get_publishable_keys, and generate_typescript_types to aid in development and integration.

Edge Functions

list_edge_functions, get_edge_function, and deploy_edge_function to manage and deploy Supabase Edge Functions.

Branching (Experimental)

create_branch, list_branches, delete_branch, merge_branch, reset_branch, and rebase_branch for development workflow with migrations.

Storage tools

list_storage_buckets, get_storage_config, and update_storage_config (disabled by default) for storage configuration and management.

Audience

DevelopersConnect Supabase to AI assistants to manage projects, query data, and deploy edge functions.

Tags

supabasemcpmodel-context-protocolllmaitoolsedge-functionsdatabasedocssecurityread-onlyproject-scopedcliself-hostedpostgrestbranchingstorage