mysql_current_site
Get information about the currently connected Local WordPress site.
How to use it
mysql_current_site 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_current_site 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_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
sql
(string): Single read-only statement (SELECT/SHOW/DESCRIBE/EXPLAIN)