mcp-mysql-query

v0.1.0
mcp-mysql-query Checked 9 hours ago Published 3 months ago

MCP server for read-only MySQL queries

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

query_mysql

Run a read-only SELECT query against the configured MySQL database. Only SELECT statements are accepted. INSERT, UPDATE, DELETE, DDL, LOAD DATA INFILE, SELECT INTO OUTFILE, and any other data-modifying constructs are rejected. Args: sql: A SELECT SQL statement to execute (MySQL dialect). max_rows: Maximum number of rows to return (default 100, max 1000).

ParameterTypeDescription
sql *string
max_rowsinteger