MycelMycel
首页/MCP Server 目录/benborla/mcp-server-mysql

benborla/mcp-server-mysql

❌ 实测失败serverJavaScriptMIT★ 2212

A Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.

实测结果

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

error_type: runtime_error

{"result":{"protocolVersion":"2024-11-05","capabilities":{"resources":{},"tools":{"mysql_query":{"description":"[MySQL MCP Server [vundefined]] Run SQL queries against MySQL database (Multi-DB mode enabled) (READ-ONLY)","inputSchema":{"type":"object","properties":{"sql":{"type":"string","description":"The SQL query to execute"}},"required":["sql"]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"destructiveHint":false,"openWorldHint":false,"title":"MySQL Query"}}}},"serverInfo":{"name":"MySQL MCP Server","version":"1.0.0"}},"jsonrpc":"2.0","id":1}
安装方式
npx
包名
@benborla29/mcp-server-mysql
解析依据
npm registry match (has bin)
沙箱
docker
总耗时
115677 ms
安装耗时
112761 ms
工作目录
192 MB
探针版本
1.0.0
实测时间
2026-11-11 13:19:21

如何使用

❌ 实测失败runtime_error · {"result":{"protocolVersion":"2024-11-05","capabilities":{"resources":{},"tools":{"mysql_query":{"description":"[MySQL MCP Server [vundefined]] Run SQ…;下面配置仅供参考,跑不跑得通取决于你的环境

1安装 / 启动命令npm / npx

npx -y @benborla29/mcp-server-mysql

2客户端配置Claude Desktop / Cursor

{
  "mcpServers": {
    "benborla-mcp-server-mysql": {
      "command": "npx",
      "args": [
        "-y",
        "@benborla29/mcp-server-mysql"
      ]
    }
  }
}

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

安装方式来源:npm registry match (has bin),沙箱实测未通过。

仓库信息

全名
benborla/mcp-server-mysql
分类
server
Stars
2212
Forks
271
主要语言
JavaScript
License
MIT
最近推送
2026-07-27
仓库创建
2024-12-09
首次收录
2026-11-10
最近抓取
2026-11-10