如何启动与停止服务?
使用 `./start.sh` 启动服务,使用 `./stop.sh` 停止服务;或通过 `npm run dev`(开发模式)和 `npm start`(生产模式)启动。
@lichuanrong7
基本信息
在 cursor 工具中通过 mysql mcp 服务读取本地 mysql 库,方便通过 AI 来编程开发
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mysql-mcp-server-lichuanrong7": {
"command": "docker",
"args": [
"build",
"-t",
"mysql-mcp-server",
"."
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
MySQL MCP服务器是一个基于Node.js的API服务,为Cursor AI提供直接访问MySQL数据库的能力。它遵循MCP(Model Control Platform)协议规范,使AI能够通过标准化接口执行SQL查询、获取表结构信息以及执行数据操作。
安装依赖并配置环境变量后,启动服务,然后在Cursor编辑器的MCP扩展管理界面添加服务URL http://localhost:3100/manifest.json 并激活。激活后可在Cursor中使用自然语言操作数据库。
使用 `./start.sh` 启动服务,使用 `./stop.sh` 停止服务;或通过 `npm run dev`(开发模式)和 `npm start`(生产模式)启动。
验证`.env`中的数据库连接信息是否正确,确认数据库服务是否运行,并检查网络连接和防火墙设置。
检查端口是否被占用(如 `lsof -i :3100`),确认Node.js版本是否兼容(要求14.x或更高),并查看日志文件 `./logs/mysql-mcp-*.log`。
执行 `curl http://localhost:3100/manifest.json` 检查服务是否返回JSON清单。
是。可通过 `docker build -t mysql-mcp-server .` 构建镜像,并使用 `docker-compose up -d` 启动。
The Xata MCP server lets AI assistants and agents interact with your Xata organizations, projects, and Postgres database branches.
An official Qdrant Model Context Protocol (MCP) server implementation

Local database MCP server: your agent sees a migration's impact before it runs, for PostgreSQL, MySQL, SQL Server and SQLite, with no database credentials.

nuzur is a model-first database platform for MySQL and PostgreSQL. The MCP server lets any AI assistant or agent (Claude, Cursor, Gemini, or anything else that speaks MCP) design your schema, query your data, generate mi
Postgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
评论