mcpField
W
WordPress MCP – The Ultimate WordPress to Model Context Protocol Server Plugin

WordPress MCP – The Ultimate WordPress to Model Context Protocol Server Plugin

Local
github.com/stuffyoushouldautomateDeveloper Tools3Updated 67w ago

About WordPress MCP – The Ultimate WordPress to Model Context Protocol Server Plugin

WordPress MCP is an open-source plugin that exposes WordPress content and functions to LLMs and AI applications. Site administrators can control endpoint access, authentication, and which content types are available.

Key features

  1. 01Expose posts, pages, and media
  2. 02Manage API keys and authentication
  3. 03Set rate limits and track usage
  4. 04Toggle resources, tools, and prompts
  5. 05Configure reusable prompt templates
  6. 06Choose exposed content types

Use cases

  1. 01Answer chatbot questions from site content
  2. 02Build agents that query articles and media
  3. 03Trigger WordPress functions from AI workflows
  4. 04Keep AI outputs consistent with prompt templates

MCP support

The plugin provides an MCP REST API with endpoints for resources, tools, prompts, and sampling. Administrators can enable or disable endpoint groups and manage API key access.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

WordPress MCP – The Ultimate WordPress to Model Context Protocol Server Plugin

Open Source | Custom Services Available


🚀 Introduction

WordPress MCP is the most powerful, open-source plugin for turning your WordPress site into a full-featured Model Context Protocol (MCP) server. Instantly connect your content, tools, and workflows to LLMs (Large Language Models) and AI applications—no coding required.

  • Modern, dark, responsive admin UI (Helvetica, edge-to-edge)
  • API key management for secure, scalable access
  • Open source for everyone, with cloud and enterprise options for teams

"If you want to make your WordPress site AI-ready, this is the plugin you need." --

💡 Why Use WordPress MCP?

  • Expose your content to AI: Let ChatGPT, Claude, or any LLM access your posts, pages, and media.
  • Build AI-powered search: Enable smart, context-aware search for your site's content.
  • Automate workflows: Trigger custom tools and endpoints from AI or automation platforms.
  • Standardize AI responses: Use prompt templates for consistent, branded outputs.
  • Scale securely: API key auth, rate limiting, and usage tracking out of the box.
  • Open source freedom: Use, extend, and contribute—or upgrade for cloud/enterprise features.

📋 Features Table

FeatureDescriptionExample Use/How-To
MCP REST APIStandardized endpoints for LLM integrationGET /wp-json/henjii/v1/resources to list all posts/pages/media
API Key AuthenticationSecure access to all endpointsAdd X-Henjii-API-Key: YOUR_KEY header to your API requests
API Key ManagementGenerate/delete API keys in admin UIClick "Generate New API Key" in settings
Rate LimitingPrevent abuse by limiting requests per minuteSet max requests/minute in settings
Usage DashboardVisual stats on API usage and endpoint activityView dashboard for total requests, endpoint breakdown, etc.
Endpoint TogglesEnable/disable resources, tools, prompts, sampling endpointsUncheck endpoints in settings to hide from API
Content Type ControlChoose which post types are exposedEnable/disable posts, pages, media in settings
Prompt TemplatesDefine reusable prompts for LLM workflowsAdd prompt templates in the admin, fetch via /prompts endpoint
Tools EndpointExpose custom tools for LLMs to triggerPOST to /tools/search with { "query": "example" }
Sampling EndpointEnable recursive/agentic LLM flowsPOST to /sampling with { "prompt": "Hello", "max_tokens": 100 }
Connection Info PageEasy copy-paste API URLs and auth headersVisit "Connection Info" in admin for ready-to-use examples
API Testing ToolTest endpoints directly from the admin UIUse the "API Testing" tab to try requests and see responses
Documentation PageBuilt-in, always up-to-date integration guideSee "Documentation" tab for full API and usage docs

🌍 Real-World Use Cases

  • AI Chatbots: Let LLMs answer questions based on your WordPress content.
  • Automated Research Agents: Build LLM tools that query your articles, media, and tools.
  • Custom Workflows: Trigger WordPress functions (tools) directly from AI or automation apps.
  • Enterprise Integrations: Provide API access to internal teams, partners, and apps securely.
  • Prompt Consistency: Standardize AI outputs with pre-made prompts and templates.

📚 Documentation & Support

  • In-app Documentation Tab (full API guide)
  • Example code for Python, JS, cURL
  • Troubleshooting and advanced configuration included
  • Need help? [email protected]

🤝 Contributing

Pull requests and issues are very welcome! 🚀
Star the repo ⭐ if you find it helpful and want to see it grow!

GitHub Issues View Current Issues

📜 License

GPL v2 or later.
View License


built by henjii — modern tools for creative builders

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.