MCP ExplorerExplorer

Wp Mcp

@glendaviesnzon a year ago
3 MIT
FreeCommunity
AI Systems
An exploration of a Model Context Protocol server to expose WP tools and actions to LLMs and Agents

Overview

What is Wp Mcp

wp-mcp is a Model Context Protocol server designed to expose WordPress tools and actions to Large Language Models (LLMs) and Agents, facilitating interaction between WordPress and AI applications.

Use cases

Use cases for wp-mcp include automating content generation in WordPress, creating intelligent chatbots that can manage WordPress content, and developing AI-driven plugins that enhance WordPress functionality.

How to use

To use wp-mcp, you need a local WordPress instance running at ‘http://localhost:8888/’. Set up the Python environment with ‘uv venv’ and activate it. Install the required packages using ‘uv pip install -r requirements.txt’. Finally, run the server with ‘uv run wp.py’ and configure your ‘claude_desktop_config.json’ to include the MCP server settings.

Key features

Key features of wp-mcp include integration with WordPress, support for LLMs and Agents, and the ability to expose WordPress actions and tools for enhanced AI interactions.

Where to use

wp-mcp can be used in web development, AI application development, and any scenario where WordPress needs to interact with AI models or agents.

Content

Very much a work in progress that has not progressed

You should go to https://github.com/Automattic/wordpress-mcp for a fully functional WordPress MCP implementation.

To try it you currently need a WordPress instance locally on http://localhost:8888/.

It is currently a python app, I used uv locally,so you will need to:

uv venv
source .venv/bin/activate
uv pip install -r requirements.txt

You can then run the server with uv run wp.py to see if you get any errors, but you don’t need to run from terminal as Claude will start its own instance.

You also need to add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "wordpress": {
      "command": "uv",
      "args": [
        "--directory",
        "/FULL/PATH/TO/wp-server-python",
        "run",
        "wp.py"
      ]
    }
  }
}

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers