mysql_query
Execute read-only SQL against your Local WordPress database.
How to use it
mysql_query is exposed by the MCP Local Wp MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the mysql_query tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL MCP LOCAL WP LISTINGOther tools in MCP Local Wp (5)
mysql_current_site
Get information about the currently connected Local WordPress site.
mysql_list_sites
List all available Local WordPress sites and their running status.
mysql_schema
Inspect database schema using INFORMATIONSCHEMA.
params
(string[]): Optional parameter values for ? placeholders
sql
(string): Single read-only statement (SELECT/SHOW/DESCRIBE/EXPLAIN)