PostgreSQL数据库操作MCP服务器

一个实现模型上下文协议(MCP)的Node.js服务器,用于通过Rapidapp API进行PostgreSQL数据库操作,适用于AI助手自然语言交互场景。

  • by rapidappio
  • JavaScript
  • 本地部署
  • 3 星标
  • 更新于
在 GitHub 查看 rapidappio/rapidapp-mcp

使用说明

🏠 Home page

Rapidapp MCP服务器

实现模型上下文协议(MCP)的Node.js服务器 Rapidapp PostgreSQL数据库操作。

概述

该MCP服务器允许AI助手通过Rapidapp API进行PostgreSQL数据库操作。

如何使用

在Claude Desktop或任何MCP客户端中,您可以使用自然语言使用Neon完成以下任务:

  • Create a new Rapidapp PostgreSQL database called 'products'
  • List all my Rapidapp PostgreSQL databases
  • Get details of my Rapidapp PostgreSQL database with id of '123456'
  • Create a Spring Boot application for simple product service with CRUD operations. Use the Rapidapp PostgreSQL database 'products' as the backend. Configure the application to connect to the database.

API关键要求

重要提示: 您需要一个Rapidapp API密钥才能使用此MCP服务器。访问https://rapidapp.io注册并获取您的API密钥。

安装

使用游标

  1. 导航到光标设置>MCP
  2. 使用以下配置添加新的MCP服务器:
    {
      "mcpServers": {
        "rapidapp": {
          "command": "npx",
          "args": ["-y", "@rapidappio/rapidapp-mcp"],
          "env": {
            "RAPIDAPP_API_KEY": "<your-api-key>"
          }
        }
      }
    }
    

使用Claude Desktop

将此添加到您的 claude_desktop_config.json:

{
  "mcpServers": {
    "rapidapp": {
      "command": "npx",
      "args": ["-y", "@rapidappio/rapidapp-mcp"],
      "env": {
        "RAPIDAPP_API_KEY": "<your-api-key>"
      }
    }
  }
}

使用Continue.dev

  1. 以以下任一格式打开Continue.dev配置文件:

    • YAML:
      • MacOS/Linux: ~/.continue/config.yaml
      • 窗户: %USERPROFILE%\.continue\config.yaml
    • JSON:
      • 与上述位置相同,但已命名 config.json
  2. 使用以下任一格式添加配置:

    YAML格式:

    experimental:
      modelContextProtocolServers:
        - transport:
            type: stdio
            command: node
            args: ["-y", "@rapidappio/rapidapp-mcp"]
            env: { "RAPIDAPP_API_KEY": "<your-api-key>" }
    

    JSON格式:

    {
      "experimental": {
        "modelContextProtocolServers": [
          {
            "transport": {
              "type": "stdio",
              "command": "npx",
              "args": ["-y", "@rapidappio/rapidapp-mcp"],
              "env": { "RAPIDAPP_API_KEY": "<your-api-key>" }
            }
          }
        ]
      }
    }
    
  3. 保存文件-继续将自动刷新以应用新配置。如果更改没有立即生效,请尝试重新启动IDE。

通过Smithery安装

Smithery提供了在各种AI助手平台上安装和配置Rapidapp MCP的最简单方法。

# Claude
npx -y @smithery/cli@latest install @rapidappio/rapidapp-mcp --client claude

# Cursor
npx -y @smithery/cli@latest install @rapidappio/rapidapp-mcp --client cursor

# Windsurf
npx -y @smithery/cli@latest install@rapidappio/rapidapp-mcp --client windsurf

有关更多信息和其他集成选项,请访问https://smithery.ai/server/@rapidappio/rapidapp-mcp