read-only-local-mysql-mcp-server
v0.1.1MCP server for read-only MySQL database queries in Claude Desktop
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
connect
Connect to a MySQL database using a connection string. The connection will be used for subsequent queries until changed.
| Parameter | Type | Description |
|---|---|---|
connectionString * | string | MySQL connection string (e.g., mysql://user:password@host:port/database) |
disconnect
Disconnect from the current runtime database and revert to the default environment-configured connection
query
Run a read-only SQL query against the currently connected database
| Parameter | Type | Description |
|---|---|---|
sql * | string | SQL query to execute (read-only) |
connectionString | string | Optional: MySQL connection string to override the current connection for this query only |