MCP低风险未认领
DBHub
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
bytebasebytebase/dbhub
server.json
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.bytebase/dbhub",
"description": "Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite",
"title": "DBHub",
"repository": {
"url": "https://github.com/bytebase/dbhub",
"source": "github"
},
"version": "1.5.0",
"packages": [
{
"registryType": "npm",
"identifier": "@bytebase/dbhub",
"version": "1.5.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, 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@1.5.0安装时运行脚本—无
网络无无
需要的凭据
DB_PASSWORDDSNSSH_PASSPHRASESSH_PASSWORDDB_PASSWORDDSNSSH_PASSPHRASESSH_PASSWORD工作区外的路径—无
智能体工具—无
检查
低风险 · 没有发现需要提醒的地方。
未经人工审核 · 已做规则检查;模型审核尚未开启。
版本
- #21.5.0最新2026年10月9日
- #11.4.02026年10月7日
DBHub在 Codeg 中打开