加载中…
MCP server for one MySQL database: schema, read-only queries and guarded writes.
MySQL MCP 是 ChatHome Skills 收录的 MCP 条目,来源为 Official MCP Registry,质量分 78/100。 作为 Model Context Protocol 服务器,它向 Claude、Cursor、Copilot 等兼容 MCP 的 LLM 客户端暴露可直接调用的工具,让 agent 的能力超出模型内置范围。 该条目由 ChatHome Skills 的每日抓取从官方 registry 和 GitHub 发现查询中收录,每次运行都会重新核验仓库事实、新鲜度信号和安装元数据。 质量分综合了官方 registry 收录情况、可用安装命令、许可证完整性、仓库活跃度和 GitHub star 趋势,完整算法说明见来源页。安装命令已列于上方,可直接复制使用。 在将 MySQL MCP 加入生产 agent 工作流前,请核对上方的最近更新日期和仓库状态——下方事实快照是最近一次抓取的时点值。
npx -y mcp-mysql-client@1.0.1运行此命令前,请先核对上游源码。
{
"_meta": {
"io.modelcontextprotocol.registry/official": {
"status": "active",
"isLatest": true,
"updatedAt": "2026-10-22T08:39:58.558168Z",
"publishedAt": "2026-10-22T08:39:58.558168Z",
"statusChangedAt": "2026-10-22T08:39:58.558168Z"
}
},
"server": {
"name": "io.github.gistrec/mcp-mysql-client",
"title": "MySQL MCP",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "1.0.1",
"packages": [
{
"version": "1.0.1",
"transport": {
"type": "stdio"
},
"identifier": "mcp-mysql-client",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "MYSQL_HOST",
"default": "127.0.0.1",
"description": "Database host."
},
{
"name": "MYSQL_PORT",
"default": "3306",
"description": "Database port."
},
{
"name": "MYSQL_USER",
"isRequired": true,
"description": "MySQL user. Use one with the least privileges the task needs, never root."
},
{
"name": "MYSQL_PASS",
"isSecret": true,
"description": "Password for that user. Treat it as a secret; MYSQL_PASS_FILE reads it from a file instead."
},
{
"name": "MYSQL_DB",
"isRequired": true,
"description": "The one database this server is bound to. No tool can leave it."
},
{
"name": "MYSQL_SSL",
"default": "false",
"description": "Require a TLS connection to the server."
},
{
"name": "MYSQL_SSL_CA",
"description": "Path to the CA bundle verifying the server certificate; implies MYSQL_SSL."
},
{
"name": "ALLOW_INSERT_OPERATION",
"default": "false",
"description": "Allow INSERT statements through the execute tool."
},
{
"name": "ALLOW_UPDATE_OPERATION",
"default": "false",
"description": "Allow UPDATE statements through the execute tool."
},
{
"name": "ALLOW_DELETE_OPERATION",
"default": "false",
"description": "Allow DELETE statements through the execute tool."
},
{
"name": "MYSQL_MAX_ROWS",
"default": "1000",
"description": "Row cap for one read; the result is marked truncated when it is hit."
},
{
"name": "MYSQL_TIMEOUT_MS",
"default": "30000",
"description": "Statement timeout in milliseconds; the connection is dropped on expiry."
}
]
}
],
"repository": {
"url": "https://github.com/gistrec/mcp-mysql-client",
"source": "github"
},
"websiteUrl": "https://github.com/gistrec/mcp-mysql-client#readme",
"description": "MCP server for one MySQL database: schema, read-only queries and guarded writes."
}
}