MCP Local WP
Read-only WordPress database access for Local by Flywheel sites: queries, schema inspection, and site selection.
- CCM score
- 78 of 100
- GitHub stars
- 35
- tools
- 4
- transport
- STDIO
- last updated
- Oct 12, 2026
Own this MCP server? Claim it
What it does
- Reads data with
mysql_queryfor single SELECT, CTE, SHOW, DESCRIBE, or EXPLAIN statements, plusmysql_schemafor paged table listings - Checks context with
mysql_current_siteandmysql_list_sites, which report the selected site and running status - Runs locally over stdio, auto-detects the active Local mysqld, and needs Node.js 24 or newer
- Designed for debugging plugin data, such as tracing custom tables like LearnDash, without guessing schemas
Tools
4 toolsPublic tool metadata for what this MCP can expose to an agent.
mysql_queryExecute read-only SQL against your Local WordPress database.
Execute read-only SQL against your Local WordPress database.
No parameter schema in public metadata yet.
mysql_schemaInspect database schema using INFORMATION_SCHEMA.
Inspect database schema using INFORMATION_SCHEMA.
No parameter schema in public metadata yet.
mysql_current_siteGet information about the currently connected Local WordPress site.
Get information about the currently connected Local WordPress site.
No parameter schema in public metadata yet.
mysql_list_sitesList all available Local WordPress sites and their running status.
List all available Local WordPress sites and their running status.
No parameter schema in public metadata yet.
Readme
MCP Server Local WP
🎯 What if your AI assistant could actually SEE your WordPress database?
A Model Context Protocol (MCP) server that gives AI assistants like Claude and Cursor direct, read-only access to your Local by Flywheel WordPress database. No more guessing table structures. No more writing SQL queries blind. Your AI can now understand your actual data.
Upgrading to 2.0
Version 2.0 requires Node.js 24 or newer and uses MCP SDK v2. Existing tool names and site selectors remain available. Query results are now { "rows": [...] }; schema listing returns { "tables": [...], "hasMore": false, "nextAfter": null } with bounded pages of table names. Successful tools return matching structured and JSON-text results, and failures set isError: true.
Database and Local configuration are resolved lazily, so MCP tool discovery works without a running site. Explicit MYSQL_HOST or MYSQL_SOCKET_PATH selects the manual connection. Keep stdin open until all tool responses arrive; EOF closes the session. The parent watchdog also cleans up abandoned stdio servers.
🤔 What's an MCP Server?
Details
- Repository
- github.com/verygoodplugins/mcp-local-wp
- Website
- verygoodplugins.com/?utm_source=mcp-registry
- Categories
- Databases, Developer Tools
- Package
@verygoodplugins/mcp-local-wp- Transport
- STDIO
- Registry
- MCP registry, active
More from verygoodplugins
All 6Similar to MCP Local WP
More DatabasesMySQL MCP Servermusaddiq-devRead-only MySQL access for listing databases, tables, and schemas, plus bounded SELECT queries.
Postgres MCP Procrystaldba3.5K starsConnects to PostgreSQL databases for schema browsing, SQL execution, query tuning, and health checks.
ClickHouseclickhouse918 starsRead and query access to ClickHouse clusters and embedded chDB, with schema discovery and query checks.
MySQLdesigncomputer1.4K starsConnects to MySQL databases for SQL queries, schema inspection, and table sampling.
DBHubbytebase4K starsGateway to seven SQL databases: run queries, explore schemas, and check query plans.