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.

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.
A Model Context Protocol (MCP) server implementation that provides database capabilities for Chroma
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.

Model Context Protocol Servers

Model Context Protocol Servers
コメント