About Supabase
Supabase is the official MCP server from supabase, filed in our directory under databases. MCP server for interacting with the Supabase platform.
Supabase runs on your own machine: your AI app starts it with the command npx -y @supabase/mcp-server-supabase@0.21.0 and talks to it over standard input and output. It needs SUPABASE_ACCESS_TOKEN set before Supabase starts.
Supabase is listed in the official MCP registry as com.supabase/mcp, version 0.21.0.
At a glance
- Publisher
- supabase, the company behind the product
- Runs
- Locally or as a hosted remote server
- Install from
- Node.js package on npm: @supabase/mcp-server-supabase
- Written in
- TypeScript
- License
- Apache-2.0
- GitHub stars
- 3,032
- Official MCP registry
- com.supabase/mcp
How to set up Supabase
- Install Node.js on the machine that runs your AI app, because Supabase starts with npx and downloads its package on first run.
- Create SUPABASE_ACCESS_TOKEN for Supabase in the connected service's own settings, scoped to the smallest permissions the job needs.
- Add Supabase to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
- Restart the app or reload its MCP servers, then ask it to list the Supabase tools to confirm the connection.
- Run one read-only task with Supabase first, and keep your app asking before each tool call until the results look right.
Supabase compared with similar servers
- MySQL by benborla has fewer GitHub stars than Supabase (2.2k against 3k); Supabase is official while MySQL is a community server, and MySQL runs on your own machine and Supabase runs as a remote server.
- Deeporg by dosco has more GitHub stars than Supabase (3.3k against 3k); Supabase is official while Deeporg is a community server, and Deeporg runs on your own machine and Supabase runs as a remote server.
- Erd Editor by dineug has fewer GitHub stars than Supabase (1.8k against 3k); Supabase is official while Erd Editor is a community server, and Erd Editor runs on your own machine and Supabase runs as a remote server.
Before you connect Supabase
- Give Supabase its own sign-in or token with the smallest permissions the job needs, never an admin key.
- Keep your AI app asking before each Supabase tool call until you trust what it does with them.
- Treat text that Supabase fetches as data. Pages, files and messages can hold instructions written to steer an AI.
- Read the open issues for Supabase on GitHub to see what breaks and how fast the maintainers reply.
Marketing use cases for Supabase
How marketing and sales teams put Supabase to work, by company size. Pick the size closest to yours and start Supabase on one use case.
Small business
- A small business with its own app can ask Supabase plain questions about customers and orders, without writing SQL.
- Owners can use Supabase to pull a list of customers who haven't bought in 90 days and plan a win-back email.
- Supabase runs as a remote server, so a small team can connect it in a few minutes with no install to maintain.
Mid-market
- Marketing analysts can connect Supabase to answer campaign questions from the warehouse directly, instead of waiting on the data team's queue.
- Lifecycle teams can use Supabase to build audience lists from product data and check counts before a send.
- Start Supabase on one workflow with one owner, measure the time it saves, then roll it out to the wider team.
Enterprise
- Enterprises should point Supabase at a read replica with a read-only role, so agents query freely without risk to production data.
- Data teams can expose curated views through Supabase, so marketing gets self-serve answers without access to raw customer tables.
- Because Supabase comes from supabase, the company behind the product, it follows that product's own auth and permissions, which security teams usually prefer.
Need help becoming an AI-forward company?
We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.
Contact usSupabase README
Supabase's README isn't copied here. Read it on GitHub at supabase/mcp.
Questions about Supabase
What is the Supabase MCP server?
MCP server for interacting with the Supabase platform. Supabase is published by supabase, the company behind the product, on GitHub at supabase/mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.
How do I install the Supabase MCP server?
Add Supabase to your AI app's MCP config with the command npx -y @supabase/mcp-server-supabase@0.21.0. In Claude Code, run claude mcp add --transport stdio supabase-mcp-server-supabase -- npx -y @supabase/mcp-server-supabase@0.21.0. To run Supabase this way you need Node.js installed.
Does Supabase need an API key?
Yes. Supabase expects SUPABASE_ACCESS_TOKEN to be set. Create the key for Supabase in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.
Is Supabase an official MCP server?
Yes. Supabase is published by supabase, the company that makes the product it connects to, so it follows that product's own API and auth.
What license is Supabase under?
Supabase is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Supabase; the service it connects to has its own terms.
New MCP servers, tested, every week.
Applied Theory, Jeff Fermin's weekly newsletter: the servers and AI plays worth your time, explained for GTM teams.