What parameters are needed to generate a server?
You need the MySQL IP, port, username (preferably a dedicated account), password, and database name. The generated server file name must include `.py`.
@lanjunfei
基本情報
批量生成基于mysql数据库的mcpserver,支持stdio传输。Generate MCP servers in batch based on MySQL database, supporting stdio transmission.
ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
mysql_mcpserver_stdio is a Flask-based Python tool that generates MCP server files in batch based on a MySQL database, supporting stdio transmission. It is intended for users who need to quickly create multiple MCP server files that query MySQL databases.
Create a virtual environment, install the dependencies from requirments.txt, and run python app.py. Open a browser to 127.0.0.1:5000 to access the server file generation page. Input the MySQL parameters (IP, port, username, password, database name), specify a file name ending with .py, and the tool generates a Python MCP server file. Then use the tool function addition page to define custom SQL queries and optional output formatting. The generated server can be tested with MCP Inspector and used with any stdio‑compatible MCP client.
check_database function for database connection verification.You need the MySQL IP, port, username (preferably a dedicated account), password, and database name. The generated server file name must include `.py`.
On the tool function addition page, enter a function name and a SQL statement. Optionally, specify the output format using the example template (aligning `content.append(...)` with a four‑space indent).
Use MCP Inspector to verify that the tool functions are called correctly.
Cherry Studio is recommended for its convenience.
A `check_database` function that checks the database connection is included by default.
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.
MCP server for interacting with Neon Management API and databases
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.
コメント