MCP低风险未认领

DBHub

Token-efficient MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse, SQLite

bytebasebytebase/dbhub★ 3.6k更新于 2026年11月21日

server.json

{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "io.github.bytebase/dbhub",
  "description": "Token-efficient MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse, SQLite",
  "title": "DBHub",
  "repository": {
    "url": "https://github.com/bytebase/dbhub",
    "source": "github"
  },
  "version": "2.1.0",
  "packages": [
    {
      "registryType": "npm",
      "identifier": "@bytebase/dbhub",
      "version": "2.1.0",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Database connection string (e.g., postgres://user:pass@host:5432/db)",
          "format": "string",
          "isSecret": true,
          "name": "DSN"
        },
        {
          "description": "Database type: postgres, mysql, mariadb, sqlserver, oracle, clickhouse, sqlite",
          "format": "string",
          "name": "DB_TYPE"
        },
        {
          "description": "Database hostname",
          "format": "string",
          "name": "DB_HOST"
        },
        {
          "description": "Database port",
          "format": "number",
          "name": "DB_PORT"
        },
        {
          "description": "Database username",
          "format": "string",
          "name": "DB_USER"
        },
        {
          "description": "Database password",
          "format": "string",
          "isSecret": true,
          "name": "DB_PASSWORD"
        },
        {
          "description": "Database name or SQLite file path",
          "format": "string",
          "name": "DB_NAME"
        },
        {
          "description": "Transport mode: stdio or http",
          "format": "string",
          "name": "TRANSPORT"
        },
        {
          "description": "HTTP server port (default: 8080)",
          "format": "number",
          "name": "PORT"
        },
        {
          "description": "Instance identifier for tool names",
          "format": "string",
          "name": "ID"
        },
        {
          "description": "SSH server hostname",
          "format": "string",
          "name": "SSH_HOST"
        },
        {
          "description": "SSH server port (default: 22)",
          "format": "number",
          "name": "SSH_PORT"
        },
        {
          "description": "SSH username",
          "format": "string",
          "name": "SSH_USER"
        },
        {
          "description": "SSH password",
          "format": "string",
          "isSecret": true,
          "name": "SSH_PASSWORD"
        },
        {
          "description": "Path to SSH private key",
          "format": "string",
          "name": "SSH_KEY"
        },
        {
          "description": "SSH key passphrase",
          "format": "string",
          "isSecret": true,
          "name": "SSH_PASSPHRASE"
        },
        {
          "description": "Path to SSH agent socket",
          "format": "string",
          "name": "SSH_AUTH_SOCK"
        }
      ]
    }
  ]
}

权限

声明检测
运行代码—node
安装—npm:@bytebase/dbhub@2.1.0
安装时运行脚本—无
网络无无
需要的凭据DB_PASSWORDDSNSSH_PASSPHRASESSH_PASSWORDDB_PASSWORDDSNSSH_PASSPHRASESSH_PASSWORD
工作区外的路径—无
智能体工具—无

检查

低风险 · 没有发现需要提醒的地方。

未经人工审核 · 已做规则检查;模型审核尚未开启。

版本

  1. #112.1.0最新2026年11月21日
  2. #102.0.22026年11月21日
  3. #92.0.12026年11月20日
  4. #82.0.02026年11月18日
  5. #71.7.12026年11月17日
  6. #61.7.02026年11月16日
  7. #51.6.12026年11月11日
  8. #41.6.02026年11月7日
  9. #31.5.12026年11月3日
  10. #21.5.02026年10月9日
  11. #11.4.02026年10月7日

在 Codeg 中打开

也可以复制地址,在 Codeg 的「发现」里搜索。

bytebase/dbhub

还没有 Codeg?下载