MCP Local WP
v2.0.0WordPress database access via Local by Flywheel.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mysql_query Query WordPress database
Execute a single read-only SELECT (including WITH CTEs)/SHOW/DESCRIBE/EXPLAIN statement in a database-enforced read-only transaction.
| Parameter | Type | Description |
|---|---|---|
sql * | string | One SQL statement; executable comments are forbidden. |
params | array | Values for SQL placeholders (?). |
mysql_schema Inspect WordPress schema
List up to 100 table names by default (maximum 200). Filter by literal prefix, continue with nextAfter as after, or request statistics. Inspect columns and indexes with table.
| Parameter | Type | Description |
|---|---|---|
after | string | nextAfter from the previous page; keep the same prefix. |
includeStats | boolean | Include engine, row estimate and byte statistics; defaults to false. |
limit | integer | Page size; defaults to 100. |
prefix | string | Case-sensitive literal table-name prefix; % and _ are not wildcards. |
table | string |
mysql_current_site Current Local site
Show the selected Local WordPress site without connecting to MySQL.
mysql_list_sites List Local sites
List available Local sites and their running status without connecting to MySQL.