read-only-local-mysql-mcp-server

v0.1.1
capital.hove/read-only-local-mysql-mcp-server Checked 2 days ago Published 9 months ago

MCP 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.

ParameterTypeDescription
connectionString *stringMySQL 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

ParameterTypeDescription
sql *stringSQL query to execute (read-only)
connectionStringstringOptional: MySQL connection string to override the current connection for this query only