What are the prerequisites for running MySQL MCP Server?
Docker and docker-compose are required for containerized deployment. For local development, you need Python 3.13+ and Poetry.
@ganganbiz1
基本信息
暂无概览
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mysql-mcp-server-ganganbiz1": {
"command": "docker",
"args": [
"build",
"-t",
"mysql-mcp-server",
"."
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
A MySQL Model Context Protocol (MCP) server implemented with FastMCP 2.0 and Python. It enables AI assistants and MCP clients to execute SQL queries, retrieve database schema information, and explore MySQL databases via standardized MCP tools.
Deploy using Docker (recommended) or run locally with Poetry. Set environment variables (MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE) to connect to a MySQL instance. For Cursor integration, add the provided configuration to ~/.cursor/mcp.json. The server exposes five MCP tools: execute_query, execute_update, get_tables, get_table_schema, and describe_database.
Docker and docker-compose are required for containerized deployment. For local development, you need Python 3.13+ and Poetry.
Set the environment variables `MYSQL_HOST`, `MYSQL_PORT`, `MYSQL_USER`, `MYSQL_PASSWORD`, and `MYSQL_DATABASE` before starting the container. The Docker run command passes these variables from the host environment.
Five tools: `execute_query` (read-only SQL), `execute_update` (INSERT/UPDATE), `get_tables`, `get_table_schema`, and `describe_database` (comprehensive structure).
Add the provided JSON block to `~/.cursor/mcp.json`, specifying the Docker command and environment variables. The server will then be available as an MCP tool within Cursor.
Yes, the project is packaged with Poetry for local development. The README lists Poetry as a prerequisite for non-Docker usage, though no explicit local run command is given.

Fund Momentum MCP Server — VC intelligence for AI assistants. 1000+ active VC funds, live investor signals, AI-powered startup matching.

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.
Local MCP server for DuckDB and MotherDuck
A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.
评论