MCP Server Local WP

Provides a read-only MCP bridge to Local by Flywheel WordPress database for precise data access and querying.
  • typescript

6

GitHub Stars

typescript

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "verygoodplugins-mcp-local-wp": {
      "command": "npx",
      "args": [
        "-y",
        "@verygoodplugins/mcp-local-wp@latest"
      ]
    }
  }
}

This MCP server provides a read-only bridge between your Local by Flywheel WordPress database and AI assistants, so your AI can see your real data and understand table structures, relationships, and content. It enables precise, data-driven queries without guessing schema details, making debugging and plugin development faster and safer.

How to use

Connect your MCP client to the Local WP MCP server, then ask your AI to read from your WordPress database and generate exact queries. You gain immediate visibility into the active Local site’s database schema and data, so you can perform targeted reads, join related tables, and validate results in real time. Typical tasks include fetching quiz activity data, inspecting table metadata, or retrieving specific WordPress options and user information. All actions are read-only by design, ensuring your data remains safe while you diagnose issues or develop plugins.

How to install

Prerequisites you need before starting:

  • Local by Flywheel is installed and running
  • An active Local site is started
  • Node.js 18+ is installed for local development

Quick setup for instant use without compiling from source:

{
  "mcpServers": {
    "mcp-local_wp": {
      "command": "npx",
      "args": [
        "-y",
        "@verygoodplugins/mcp-local-wp@latest"
      ]
    }
  }
}

Advanced Setup (Local Development)

If you prefer to build from source and run locally, follow these steps to install, build, and start the server from your machine.

git clone https://github.com/verygoodplugins/mcp-local-wp.git
cd mcp-local-wp
npm install
npm run build
node dist/index.js

Available tools

mysql_query

Execute read-only SQL against your Local WordPress database. Allows SELECT, SHOW, DESCRIBE, and EXPLAIN queries with optional parameters.

mysql_schema

Inspect database schema using INFORMATION_SCHEMA. List all tables by default or inspect a specific table to view columns and indexes.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational