Skip to main content
Glama

Supabase MCP Server

by adiletD

Supabase MCP 服务器

这是一个连接到 Supabase 的模型上下文协议 (MCP) 服务器,它允许您查询 feature_suggestions 表。

先决条件

  • Node.js(v16 或更高版本)
  • npm
  • 具有凭证的 Supabase 项目

设置

  1. 确保您的.env文件包含以下 Supabase 凭据:
    SUPABASE_URL=your_supabase_url SUPABASE_ANON_KEY=your_supabase_anon_key
  2. 安装所需的依赖项:
    npm install

运行服务器

使用以下方式运行 MCP 服务器:

npx tsx mcp-server.ts

或者使用 npm 脚本:

npm run dev

连接到AI工具

光标

  1. 打开 Cursor 并导航至Cursor Settings
  2. **“功能”选项卡下,点击“MCP 服务器”**部分下的“ + 添加新的 MCP 服务器”
  3. 输入以下详细信息:
    • 名称: Supabase
    • 类型:命令
    • 命令npx tsx /path/to/mcp-server.ts
  4. 服务器成功连接后,您应该会看到绿色的活动状态。

克劳德桌面

  1. 打开 Claude 桌面并导航到**“设置”**
  2. 开发人员选项卡下,点击编辑配置以打开配置文件。
  3. 添加以下配置:
    { "mcpServers": { "supabase": { "command": "npx", "args": ["tsx", "/path/to/mcp-server.ts"] } } }
  4. 保存配置文件并重新启动Claude桌面。

可用工具

查询功能建议

查询 Supabase 数据库中的 feature_suggestions 表。

参数:

  • limit (数字,可选):返回的最大记录数(默认值:100)

AI工具中的使用示例:

Can you show me feature suggestions from the database?

或者设置一个限制:

Can you show me the top 10 feature suggestions?

故障排除

  • 如果您遇到连接问题,请确保您的 Supabase 凭据正确。
  • 检查控制台输出是否有任何错误消息。
  • 确保您的 Supabase 数据库中存在 feature_suggestions 表。
-
security - not tested
F
license - not found
-
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 数据库查询功能建议,从而允许 Cursor 和 Claude 等 AI 工具访问和显示功能请求数据。

  1. 先决条件
    1. 设置
      1. 运行服务器
        1. 连接到AI工具
          1. 光标
          2. 克劳德桌面
        2. 可用工具
          1. 查询功能建议
        3. 故障排除

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables Claude and other LLMs to perform database operations and invoke Edge Functions within Supabase through natural language.
            Last updated -
            574
            3
            TypeScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables AI tools to interact with Supabase databases, providing tools for reading, creating, updating, and deleting records in Supabase tables.
            Last updated -
            Python
            MIT License
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that allows AI models to log and retrieve contact events with various authorities (police, fire, medical, etc.) with rate limiting and persistent storage via Supabase.
            Last updated -
            1
            TypeScript
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that provides AI assistants with comprehensive access to SQL databases, enabling schema inspection, query execution, and database operations with enterprise-grade security.
            Last updated -
            4
            2
            TypeScript
            MIT License

          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/adiletD/feature-request-collection-mcp'

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