WordPress MCP – The Ultimate WordPress to Model Context Protocol Server Plugin
LocalAbout 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
- 01Expose posts, pages, and media
- 02Manage API keys and authentication
- 03Set rate limits and track usage
- 04Toggle resources, tools, and prompts
- 05Configure reusable prompt templates
- 06Choose exposed content types
Use cases
- 01Answer chatbot questions from site content
- 02Build agents that query articles and media
- 03Trigger WordPress functions from AI workflows
- 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.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEWordPress 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
| Feature | Description | Example Use/How-To |
|---|---|---|
| MCP REST API | Standardized endpoints for LLM integration | GET /wp-json/henjii/v1/resources to list all posts/pages/media |
| API Key Authentication | Secure access to all endpoints | Add X-Henjii-API-Key: YOUR_KEY header to your API requests |
| API Key Management | Generate/delete API keys in admin UI | Click "Generate New API Key" in settings |
| Rate Limiting | Prevent abuse by limiting requests per minute | Set max requests/minute in settings |
| Usage Dashboard | Visual stats on API usage and endpoint activity | View dashboard for total requests, endpoint breakdown, etc. |
| Endpoint Toggles | Enable/disable resources, tools, prompts, sampling endpoints | Uncheck endpoints in settings to hide from API |
| Content Type Control | Choose which post types are exposed | Enable/disable posts, pages, media in settings |
| Prompt Templates | Define reusable prompts for LLM workflows | Add prompt templates in the admin, fetch via /prompts endpoint |
| Tools Endpoint | Expose custom tools for LLMs to trigger | POST to /tools/search with { "query": "example" } |
| Sampling Endpoint | Enable recursive/agentic LLM flows | POST to /sampling with { "prompt": "Hello", "max_tokens": 100 } |
| Connection Info Page | Easy copy-paste API URLs and auth headers | Visit "Connection Info" in admin for ready-to-use examples |
| API Testing Tool | Test endpoints directly from the admin UI | Use the "API Testing" tab to try requests and see responses |
| Documentation Page | Built-in, always up-to-date integration guide | See "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
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.