An MCP stdio server providing read-only access to multiple MySQL instances through a single MCP connection. Version 1.0.0. Leverages the Model Context Protocol (MCP) to expose MySQL databases as tools for AI agents, with independent connection pools per instance. Key differentiators: multi-instance support via external JSON config, strict read-only enforcement (only SELECT/SHOW/DESCRIBE/EXPLAIN), real-time availability detection with list_instances, and timezone configuration per query. Ideal for LLM-driven database tools.
npm install multiple-mysql-mcpNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to configure and run the MCP server, including external instance config and MCP client setup.
Use import syntax or dynamic import().
Ensure application only sends SELECT, SHOW, DESCRIBE, EXPLAIN.
Validate config file for duplicate 'name' fields.
Always set MYSQL_CONFIG_FILE environment variable.
Run 'npm install @modelcontextprotocol/sdk' in your project.
Set MYSQL_CONFIG_FILE to the path of your JSON config file.
Check host, port, network connectivity, and firewall rules.
Verify username/password and ensure user has read-only grants.