A
securityA
licenseA
qualityEnables interaction with a MySQL database via JSON commands, supporting read-only queries, test execution of write queries, and table information retrieval through Docker.
Last updated -
4
22
6
MIT License
Allows connection to and operations on a local MySQL database, including querying databases, viewing tables, and executing parameterized queries
MCP MySQL服务是一个轻量级的个人使用服务程序,用于连接和操作本地MySQL数据库。此服务可作为Cursor的MCP服务使用,通过API接口使Cursor能够轻松地执行各种数据库操作。
连接本地MySQL数据库
提供RESTful API进行数据库操作
支持参数化查询防止SQL注入
支持SSE (Server-Sent Events) 推送能力
支持作为Cursor MCP服务集成
Node.js (v14+)
MySQL服务器
克隆此仓库
安装依赖
创建并配置.env文件
开发模式(自动重启):
此服务仅限本地使用,不建议暴露到公网
使用API密钥保护接口
默认只允许执行SELECT查询
MIT
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TristanLib/mcp_server_mysql_windows'
If you have feedback or need assistance with the MCP directory API, please join our Discord server