mcp-local-wp

MCP.Pizza Chef: verygoodplugins

This MCP server lets AI assistants like Claude and Cursor directly access your Local by Flywheel WordPress database. Instead of guessing table names or writing blind queries, your AI sees the real database structure and data. This makes debugging plugins, writing SQL queries, and exploring your WordPress data fast and accurate. It works locally with your running Local sites and requires minimal setup by pasting a config snippet into your AI app.

Coding
Data
Other

Use This MCP server To

See my Local WordPress database tables and columns Have AI write accurate SQL queries for my WordPress data Debug plugin issues using real database info Fetch specific WordPress data like user quiz results Automatically connect AI to the right Local site database Explore relationships between WordPress tables with AI help

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.

🤔 What's an MCP Server?

Think of MCP (Model Context Protocol) as a secure bridge between AI assistants and your development tools. Instead of copying and pasting database schemas or query results, MCP servers let AI assistants directly interact with your tools while you maintain complete control.

Without MCP: "Hey AI, I think there's a table called wp_something with a column that might be named user_meta... can you write a query?"
With MCP: "Hey AI, check what's in my database and write the exact query I need."

💡 The WordPress Developer's Dilemma

Picture this: You're debugging a LearnDash integration issue. Quiz results aren't syncing properly. You fire up Cursor to help diagnose the problem, but without database access, even the most advanced AI is just making educated guesses about your table structures.

The Real-World Impact

Here's an actual support ticket we were working on. The task was simple: fetch quiz activity data from LearnDash tables.

❌ Before MCP Server (AI Flying Blind):

Very Good Plugins  Cursor+Diagnose LearnDash quiz field syncing issue — wp-fusion (Workspace)  2025-09-09 at 12 34 38

The AI tried its best, suggesting this query:

mcp-local-wp FAQ

Can I use this to let my AI assistant read my Local by Flywheel WordPress database?
Yes — it gives AI assistants like Claude and Cursor direct, read-only access to your Local WordPress database, so they see your actual tables and data.
Can I use this to help debug WordPress plugins with AI?
Yes — your AI can understand real database structures and relationships, making plugin debugging faster and more accurate.
Which apps support this MCP server?
It works with Claude Desktop and Cursor, letting those AI apps connect to your Local WordPress database.
Do I need an API key or account to use this?
No — it connects locally to your running Local by Flywheel site without extra accounts or keys.
How hard is it to set up?
Setup involves pasting a small config snippet into your AI app settings, so it's easy for non-developers.
What do I need installed before using this?
You need Local by Flywheel running an active WordPress site and Node.js 18+ if you want local development.
Can it handle multiple Local sites?
Yes — it automatically detects and connects to the right site based on your working directory or environment variables.