LogoAIAny
Icon for item

Supabase MCP Server

Exposes a Supabase project to LLM assistants via the Model Context Protocol (MCP) — provides tool calls for database queries, storage, functions and project management with feature groups, optional project-scoping, and a recommended read-only default.

Introduction

Why this matters

LLMs have become able to take actions (create rows, run SQL, deploy functions) but lack a standard, safe way to talk to developer infrastructure. Supabase MCP Server implements the Model Context Protocol (MCP) so AI assistants can call a consistent set of Supabase tools (list/get/create projects, query tables, search docs, manage storage and functions) instead of trying to infer APIs from text — this reduces brittle prompts and enables programmatic tool-calls from clients like Cursor and Claude. (github.com)

What Sets It Apart
  • Standardized MCP surface for Supabase: exposes grouped tools (account, database, docs, storage, functions, branching, debugging) so clients can request the appropriate capability rather than raw SQL or undocumented endpoints — this aligns with the MCP specification used across several AI clients. (github.com)
  • Security-first options: supports project-scoped mode (limit the server to a single project) and a read_only URL parameter to disable mutating tools — the README explicitly recommends read-only by default because connecting LLMs to databases creates high-risk attack surface. (github.com)
  • Practical interoperability: designed to integrate with existing MCP clients and the Supabase CLI/self-hosted environments (with caveats: some CLI/self-hosted modes offer a reduced tool set and may lack full OAuth flows). This makes it usable both for local development and production deployments with explicit access controls. (github.com)
Who it's for — and tradeoffs

Great fit if you:

  • Want to let an LLM assistant (e.g., Claude, Cursor, Windsurf) query or manage Supabase resources via a structured tool API rather than free-form prompts.
  • Need a configurable surface where you can selectively enable/disable groups (database, docs, functions) and restrict access to a single project or read-only mode.

Look elsewhere or be cautious if:

  • You cannot accept any risk of automated writes from external agents — even with read-only mode, careful token scoping and least-privilege service keys are required.
  • You need an out-of-the-box UI for AI interactions; this repo provides the MCP server logic and docs for clients, not a hosted assistant. The security model and deployment details (self-hosted vs. hosted Supabase) matter for safety and feature completeness. (github.com)
Where it fits

This repo is the Supabase-focused MCP server implementation: think of it as the backend bridge that turns Supabase into a set of callable tools for MCP-aware AI clients. It complements the MCP standard and client implementations rather than replacing existing Supabase admin tooling — it’s intended for teams that accept the operational and security tradeoffs of exposing database and project operations to model-driven workflows. (github.com)

Notes on maturity and history

The project is actively maintained with frequent releases and community activity; public commit history and community references indicate the repo has been in use since late 2024 (repository evidence and third-party listings reference a Dec 20, 2024 start). If you need an authoritative created_at timestamp for legal/attribution purposes, check the repository metadata or the GitHub API for the exact created_at field. (github.com)

Information

  • Websitegithub.com
  • Authorssupabase-community
  • Published date2024/12/20

Categories