mcp-supabase
Mcp server for supabase
Documentation
Supabase MCP Server
An MCP server that connects to a Supabase PostgreSQL database, exposing table schemas as resources and providing tools for data analysis.
Features
- Connection to Supabase PostgreSQL database
- Table schemas exposed as resources
- Read-only SQL query tools
- Prompts for common data analysis tasks
Setup
1. Clone this repository
2. Install dependencies:
npm install3. Copy `.env.example` to `.env` and update with your Supabase credentials:
cp .env.example .env4. Edit the `.env` file with your actual Supabase connection details
Running the Server
Using stdio (command line integration)
npm startUsing HTTP with SSE (for web integration)
npm run start:httpUsing with MCP Clients
This server can be used with any MCP-compatible client, including Claude.app and the MCP Inspector for testing.
Available Resources
- `schema://tables` - Lists all tables in the database
- `schema://table/{tableName}` - Shows schema for a specific table
Available Tools
- `query` - Runs a read-only SQL query against the database
- `analyze-table` - Gets basic statistics about a table
- `find-related-tables` - Discovers tables related to a given table
Available Prompts
- `table-exploration` - Guides exploration of a specific table
- `data-summary` - Creates a summary of data in a table
- `relationship-analysis` - Analyzes relationships between tables
Frequently asked questions
What is mcp-supabase?
mcp-supabase is Mcp server for supabase
How do I install mcp-supabase?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-supabase open source?
Yes — it is hosted on GitHub at https://github.com/stefanraath3/mcp-supabase and has 1 stars.
Related MCP tools
An MCP server that installs other MCP servers for you JavaScript-based implementation. Trusted by 1400+ developers. Trusted by 1400+ developers.
MCP server for interacting with the iOS simulator JavaScript-based implementation. Trusted by 1200+ developers. Trusted by 1200+ developers.
A Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only...
This is an MCP server that allows you to directly download transcripts of YouTube videos. JavaScript-based implementation.
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others. Built for the Model Context Protocol to enhance AI capabiliti
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP