supabase-mcp  by supabase-community

MCP server for connecting Supabase to AI assistants

Created 9 months ago
2,084 stars

Top 21.4% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This project provides a server that connects AI assistants to Supabase projects, enabling them to manage data, configurations, and project settings through the Model Context Protocol (MCP). It targets developers and AI users who want to integrate their Supabase backend with LLM-powered workflows, offering a standardized way for AI to interact with their database and project infrastructure.

How It Works

The server acts as a bridge, translating AI assistant commands into Supabase API calls. It leverages Node.js and npx to download and run the latest version of the Supabase MCP server. The core mechanism involves a Supabase Personal Access Token (PAT) for authentication, allowing the AI to securely access and manipulate project resources. Configuration is managed via JSON within the AI client, specifying the command to execute the server.

Quick Start & Requirements

  • Install Node.js (version check: node -v).
  • Obtain a Supabase Personal Access Token (PAT).
  • Configure your MCP client (e.g., Cursor) with the provided JSON structure, replacing <personal-access-token> with your PAT.
  • For project-specific access, use the --project-ref flag. For read-only access, use the --read-only flag.
  • Official Docs: Model Context Protocol

Highlighted Details

  • Supports a wide range of Supabase tools, including project management, database operations, Edge Function management, and branching (experimental).
  • Offers project-scoped and read-only modes for granular access control.
  • Includes tools for generating TypeScript types from database schemas.
  • Provides cost estimation and confirmation for project/branch creation.

Maintenance & Community

  • The project is marked as pre-1.0, indicating potential breaking changes.
  • License: Apache 2.0.

Licensing & Compatibility

  • Apache 2.0 license permits commercial use and integration with closed-source projects.

Limitations & Caveats

  • The project is pre-1.0, so breaking changes are expected.
  • Branching features are experimental and may require a paid Supabase plan.
  • Account-level tools are unavailable when the server is scoped to a specific project.
Health Check
Last Commit

1 day ago

Responsiveness

1 day

Pull Requests (30d)
14
Issues (30d)
10
Star History
127 stars in the last 30 days

Explore Similar Projects

Starred by Simon Willison Simon Willison(Coauthor of Django), Jared Palmer Jared Palmer(Ex-VP AI at Vercel; Founder of Turborepo; Author of Formik, TSDX), and
2 more.

cli by planetscale

0%
626
CLI tool for PlanetScale database management
Created 4 years ago
Updated 6 days ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Vasek Mlejnsky Vasek Mlejnsky(Cofounder of E2B), and
1 more.

pezzo by pezzolabs

0.4%
3k
Open-source LLMOps platform for streamlining AI workflows
Created 2 years ago
Updated 2 months ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Gregor Zunic Gregor Zunic(Cofounder of Browser Use), and
2 more.

airweave by airweave-ai

0.5%
3k
Semantic MCP server for AI agents
Created 8 months ago
Updated 18 hours ago
Starred by Luis Capelo Luis Capelo(Cofounder of Lightning AI), Addy Osmani Addy Osmani(Head of Chrome Developer Experience at Google), and
23 more.

goose by block

0.8%
20k
Open-source AI agent for automating complex engineering tasks
Created 1 year ago
Updated 23 hours ago
Feedback? Help us improve.