Supabase
STDIOSupabase数据库连接与分析服务器
Supabase数据库连接与分析服务器
An MCP server that connects to a Supabase PostgreSQL database, exposing table schemas as resources and providing tools for data analysis.
npm install
.env.example to .env and update with your Supabase credentials:
cp .env.example .env
.env file with your actual Supabase connection detailsnpm start
npm run start:http
This server can be used with any MCP-compatible client, including Claude.app and the MCP Inspector for testing.
schema://tables - Lists all tables in the databaseschema://table/{tableName} - Shows schema for a specific tablequery - Runs a read-only SQL query against the databaseanalyze-table - Gets basic statistics about a tablefind-related-tables - Discovers tables related to a given tabletable-exploration - Guides exploration of a specific tabledata-summary - Creates a summary of data in a tablerelationship-analysis - Analyzes relationships between tables