安装需要哪些依赖?
需要 Python 虚拟环境,并执行 `pip install -r requirements.txt` 安装 Flask 及 MCP 相关依赖。
@lanjunfei
Basic information
批量生成基于mysql数据库的mcpserver,支持stdio传输。Generate MCP servers in batch based on MySQL database, supporting stdio transmission.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mysql_mcpserver_stdio_sse": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
一个基于 Flask 的 Web 工具,用于批量生成连接 MySQL 数据库的 MCP(Model Context Protocol)服务器脚本。生成的脚本同时支持 stdio(本地子进程/管道)和 SSE/HTTP(远程端点 /sse)两种传输方式,适合需要快速创建多个数据库 MCP 工具的用户。
安装 Python 虚拟环境和依赖 (pip install -r requirements.txt),启动 python app.py 后在浏览器访问 http://127.0.0.1:5000,输入 MySQL 连接信息并指定输出文件名,点击生成。生成的脚本可直接运行(默认 stdio 模式,加 --http 参数启用 SSE 模式),也可通过 MCP Inspector 测试。
check_database 连通性测试工具MCP_PORT 自定义 SSE 服务端口需要 Python 虚拟环境,并执行 `pip install -r requirements.txt` 安装 Flask 及 MCP 相关依赖。
同时支持 stdio(默认)和 SSE(HTTP,通过 `--http` 参数启用),SSE 端点位于 `http://127.0.0.1:8000/sse`。
启动前设置环境变量 `MCP_PORT`,例如 `export MCP_PORT=9110`(Linux/macOS)或 `set MCP_PORT=9110`(Windows),然后运行 `python my_server.py --http`。
生成器的 “新增工具函数” 页面允许为每条 SQL 查询定义工具函数名、说明、SQL 语句(使用 `%s` 占位符)和输出格式,保存后脚本会自动插入相应工具。
运行 `npx @modelcontextprotocol/inspector`,Transport 选择 SSE,URL 填写 `http://127.0.0.1:8000/sse`,连接成功后即可看到并调用所有工具。
A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.

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
An official Qdrant Model Context Protocol (MCP) server implementation
A MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.

Oracle MCP server with no run-sql tool: It generates tools for each of the PL/SQL procedures, tables and approved SQL you choose. The server doesn't expose a SQL prompt, and can't reveal how it's connected to Oracle.
Comments