AgentHubAgentHub

dbmcp

MCP ServerMCP Registry官方收录

ai.haymon/dbmcp · v0.13.2

Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention

概览

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

安装

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

{
  "mcpServers": {
    "dbmcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/haymon-ai/dbmcp:0.13.2"
      ]
    }
  }
}

环境变量

HTTP_HOST可选

HTTP bind host

HTTP_PORT可选

HTTP bind port

HTTP_ALLOWED_ORIGINS可选

Allowed CORS origins (comma-separated)

HTTP_ALLOWED_HOSTS可选

Allowed host names (comma-separated)

相关资源

统一 Manifest

{
  "id": "ai.haymon/dbmcp",
  "type": "mcp-server",
  "version": "0.13.2",
  "displayName": "dbmcp",
  "description": "Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention",
  "repository": {
    "url": "https://github.com/haymon-ai/dbmcp",
    "source": "github"
  },
  "homepage": "https://dbmcp.haymon.ai",
  "distribution": {
    "packages": [
      {
        "registryType": "oci",
        "identifier": "ghcr.io/haymon-ai/dbmcp:0.13.2",
        "runtimeHint": "docker",
        "transport": "stdio"
      },
      {
        "registryType": "oci",
        "identifier": "ghcr.io/haymon-ai/dbmcp:0.13.2",
        "runtimeHint": "docker",
        "transport": "streamable-http",
        "environmentVariables": [
          {
            "name": "HTTP_HOST",
            "description": "HTTP bind host"
          },
          {
            "name": "HTTP_PORT",
            "description": "HTTP bind port"
          },
          {
            "name": "HTTP_ALLOWED_ORIGINS",
            "description": "Allowed CORS origins (comma-separated)"
          },
          {
            "name": "HTTP_ALLOWED_HOSTS",
            "description": "Allowed host names (comma-separated)"
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "ai.haymon/dbmcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/ai.haymon%2Fdbmcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
dbmcp — MCP Server 安装与配置 · AgentHub