MycelMycel
首页/MCP Server 目录/bytebase/dbhub

bytebase/dbhub

❌ 实测失败serverTypeScriptMIT★ 3821

Token conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.

实测结果

失败
沙箱内启动/握手失败,下方给出失败阶段与原始报错。失败阶段:initialize,错误类型:runtime_error。这类信息对判断“是不是我这边的环境问题”很有用,原始报错见下。

error_type: runtime_error

database)
2. TOML config file: --config=path/to/dbhub.toml or ./dbhub.toml
3. Command line argument: --dsn="your-connection-string"
4. Environment variable: export DSN="your-connection-string"
5. .env file: DSN=your-connection-string

Example DSN formats:
  - sqlserver: sqlserver://username:password@localhost:1433/database?sslmode=disable&instanceName=INSTANCE1
  - sqlite: sqlite:///path/to/database.db
  - oracle: oracle://username:password@localhost:1521/FREEPDB1?sslmode=disable
  - mysql: mysql://root:password@localhost:3306/mysql?sslmode=require
  - postgres: postgres://postgres:password@localhost:5432/postgres?sslmode=require
  - mariadb: mariadb://root:password@localhost:3306/db?sslmode=require

Example TOML config (dbhub.toml):
  [[sources]]
  id = "my_db"
  dsn = "postgres://user:pass@localhost:5432/dbname"

See documentation for more details on configuring database connections.
安装方式
npx
包名
@bytebase/dbhub
解析依据
npm registry match (mcpName=io.github.bytebase/dbhub)
沙箱
docker
总耗时
103563 ms
安装耗时
99270 ms
工作目录
133 MB
探针版本
1.0.0
实测时间
2026-11-11 12:49:06

如何使用

❌ 实测失败runtime_error · database);下面配置仅供参考,跑不跑得通取决于你的环境

1安装 / 启动命令npm / npx

npx -y @bytebase/dbhub

2客户端配置Claude Desktop / Cursor

{
  "mcpServers": {
    "bytebase-dbhub": {
      "command": "npx",
      "args": [
        "-y",
        "@bytebase/dbhub"
      ]
    }
  }
}

整段粘进 claude_desktop_config.json 的 mcpServers 里(Cursor 用 ~/.cursor/mcp.json),保存后重启客户端。

安装方式来源:npm registry match (mcpName=io.github.bytebase/dbhub),沙箱实测未通过。

仓库信息

全名
bytebase/dbhub
分类
server
Stars
3821
Forks
336
主要语言
TypeScript
License
MIT
最近推送
2026-11-10
仓库创建
2025-03-09
首次收录
2026-11-10
最近抓取
2026-11-10
#agents#ai#anthropic#claude#claude-ai#codex#cursor#database#llm#mariadb#mcp#mcp-server