mcp-local-mysql
v3.4.2MCP server for local MySQL database operations
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
query
Execute a SQL query on the MySQL database. Supports parameterized queries for safety. Use ? as placeholders and provide params array.
| Parameter | Type | Description |
|---|---|---|
query * | string | The SQL query to execute. Use ? for parameters (e.g., 'SELECT * FROM users WHERE id = ?') |
database | string | Optional: Database name to use for this query |
params | array | Optional: Array of parameters to bind to the query placeholders |
list_databases
List all databases in the MySQL instance
list_tables
List all tables in a specific database
| Parameter | Type | Description |
|---|---|---|
database * | string | Database name |
describe_table
Show the structure of a table
| Parameter | Type | Description |
|---|---|---|
database * | string | Database name |
table * | string | Table name |