MCP Local WP

v2.0.0
io.github.verygoodplugins/mcp-local-wp Checked 16 hours ago Published 1 month ago

WordPress 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.

ParameterTypeDescription
sql *stringOne SQL statement; executable comments are forbidden.
paramsarrayValues 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.

ParameterTypeDescription
afterstringnextAfter from the previous page; keep the same prefix.
includeStatsbooleanInclude engine, row estimate and byte statistics; defaults to false.
limitintegerPage size; defaults to 100.
prefixstringCase-sensitive literal table-name prefix; % and _ are not wildcards.
tablestring

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.