Supabase MCP Server
Supabase MCP 服务器
连接到 Supabase PostgreSQL 数据库的 MCP 服务器,将表模式公开为资源并提供数据分析工具。
特征
连接到 Supabase PostgreSQL 数据库
作为资源公开的表模式
只读 SQL 查询工具
常见数据分析任务的提示
Related MCP server: Self-Hosted Supabase MCP Server
设置
克隆此存储库
安装依赖项:
npm install将
.env.example复制到.env并使用您的 Supabase 凭据进行更新:cp .env.example .env使用实际的 Supabase 连接详细信息编辑
.env文件
运行服务器
使用 stdio(命令行集成)
npm start使用 HTTP 和 SSE(用于 Web 集成)
npm run start:http与 MCP 客户端一起使用
该服务器可与任何与 MCP 兼容的客户端一起使用,包括 Claude.app 和 MCP Inspector 进行测试。
可用资源
schema://tables列出数据库中的所有表schema://table/{tableName}- 显示特定表的架构
可用工具
query对数据库运行只读 SQL 查询analyze-table- 获取有关表的基本统计信息find-related-tables- 发现与给定表相关的表
可用提示
table-exploration- 指导特定表格的探索data-summary- 创建表中数据的摘要relationship-analysis- 分析表之间的关系
This server cannot be deployed
Maintenance
Related MCP Connectors
- SupabaseOAuthcom.supabase
MCP server for interacting with the Supabase platform
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
MCP server for querying and analyzing data from ad platforms, analytics tools, and spreadsheets
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that provides tools for interacting with Supabase databases, storage, and edge functions.45MIT
- FlicenseAqualityDmaintenanceA Model Context Protocol server that enables interaction with self-hosted Supabase instances, allowing developers to query database schemas, manage migrations, inspect statistics, and interact with Supabase features directly from MCP-compatible development environments.211-
- AlicenseNot gradedqualityDmaintenanceA powerful MCP server for Supabase that provides interactive tools and React widgets for exploring and querying your Supabase database.5,101,585 npm20MIT
- AlicenseAqualityCmaintenanceAn MCP server that provides deep schema introspection for Supabase/Postgres, exposing tables, columns, views, enums, RLS policies, functions, and more.133MIT