Skip to main content
Glama

Supabase MCP Server

Supabase MCP 服务器

连接到 Supabase PostgreSQL 数据库的 MCP 服务器,将表模式公开为资源并提供数据分析工具。

特征

  • 连接到 Supabase PostgreSQL 数据库
  • 作为资源公开的表模式
  • 只读 SQL 查询工具
  • 常见数据分析任务的提示

设置

  1. 克隆此存储库
  2. 安装依赖项:
    npm install
  3. .env.example复制到.env并使用您的 Supabase 凭据进行更新:
    cp .env.example .env
  4. 使用实际的 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 - 分析表之间的关系
-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

连接到 Supabase PostgreSQL 数据库的 MCP 服务器,将表模式公开为资源并提供通过 SQL 查询进行数据分析的工具。

  1. 特征
    1. 设置
      1. 运行服务器
        1. 使用 stdio(命令行集成)
        2. 使用 HTTP 和 SSE(用于 Web 集成)
      2. 与 MCP 客户端一起使用
        1. 可用资源
        2. 可用工具
        3. 可用提示

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        An MCP server that provides tools for interacting with Supabase databases, storage, and edge functions.
        Last updated -
        14
        42
        JavaScript
        MIT License
      • A
        security
        A
        license
        A
        quality
        This server enables interaction with Supabase PostgreSQL databases through the MCP protocol, allowing seamless integration with Cursor and Windsurf IDEs for secure and validated database management.
        Last updated -
        11
        774
        Python
        Apache 2.0
        • Apple
        • Linux
      • -
        security
        A
        license
        -
        quality
        Universal database MCP server connecting to MySQL, PostgreSQL, SQLite, DuckDB and etc.
        Last updated -
        5
        1,069
        TypeScript
        MIT License
        • Linux
        • Apple
      • -
        security
        A
        license
        -
        quality
        An MCP server that enables natural language querying of Supabase PostgreSQL databases using Claude 3.7, allowing users to inspect schemas, execute SQL, manage migrations, and convert natural language to SQL queries.
        Last updated -
        Python
        MIT License
        • Linux
        • Apple

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/stefanraath3/mcp-supabase'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server