sql
(string): Single read-only statement (SELECT/SHOW/DESCRIBE/EXPLAIN)
How to use it
sql is exposed by the MCP Local Wp MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the sql 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_query
Execute read-only SQL against your Local WordPress database.
mysql_schema
Inspect database schema using INFORMATIONSCHEMA.
params
(string[]): Optional parameter values for ? placeholders