AgentHubAgentHub

DBeast PostgreSQL MCP

MCP ServerMCP Registry官方收录

io.github.snss10/dbeast · v2.0.2

PostgreSQL MCP server for schema, query, health, security, and performance analysis.

概览

DBeast PostgreSQL MCP 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "dbeast": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/snss10/dbeast:2.0.2"
      ]
    }
  }
}

环境变量

DATABASE_URL可选secret

PostgreSQL connection URL, for example postgresql://user:password@host:5432/database.

DB_HOST可选

PostgreSQL host when DATABASE_URL is not used.

DB_PORT可选

PostgreSQL port when DATABASE_URL is not used.

DB_USER可选

PostgreSQL user when DATABASE_URL is not used.

DB_PASSWORD可选secret

PostgreSQL password when DATABASE_URL is not used.

DB_NAME可选

PostgreSQL database name when DATABASE_URL is not used.

AWS_SECRET_NAME可选

AWS Secrets Manager secret containing PostgreSQL credentials.

AWS_REGION可选

AWS region for Secrets Manager lookup.

相关资源

统一 Manifest

{
  "id": "io.github.snss10/dbeast",
  "type": "mcp-server",
  "version": "2.0.2",
  "displayName": "DBeast PostgreSQL MCP",
  "description": "PostgreSQL MCP server for schema, query, health, security, and performance analysis.",
  "repository": {
    "url": "https://github.com/snss10/DBeast",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "oci",
        "identifier": "ghcr.io/snss10/dbeast:2.0.2",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "DATABASE_URL",
            "description": "PostgreSQL connection URL, for example postgresql://user:password@host:5432/database.",
            "isSecret": true
          },
          {
            "name": "DB_HOST",
            "description": "PostgreSQL host when DATABASE_URL is not used."
          },
          {
            "name": "DB_PORT",
            "description": "PostgreSQL port when DATABASE_URL is not used."
          },
          {
            "name": "DB_USER",
            "description": "PostgreSQL user when DATABASE_URL is not used."
          },
          {
            "name": "DB_PASSWORD",
            "description": "PostgreSQL password when DATABASE_URL is not used.",
            "isSecret": true
          },
          {
            "name": "DB_NAME",
            "description": "PostgreSQL database name when DATABASE_URL is not used."
          },
          {
            "name": "AWS_SECRET_NAME",
            "description": "AWS Secrets Manager secret containing PostgreSQL credentials."
          },
          {
            "name": "AWS_REGION",
            "description": "AWS region for Secrets Manager lookup."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.snss10/dbeast",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.snss10%2Fdbeast/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
DBeast PostgreSQL MCP — MCP Server 安装与配置 · AgentHub