wordpress-to-mcp-server
henjii instantly turns your WordPress site into a full-featured Model Context Protocol (MCP) server.
Documentation
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
| 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? support@henjii.com
π€ 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
](url)
π License
GPL v2 or later.
View License
built by henjii β modern tools for creative builders
Frequently asked questions
What is wordpress-to-mcp-server?
wordpress-to-mcp-server is henjii instantly turns your WordPress site into a full-featured Model Context Protocol (MCP) server.
How do I install wordpress-to-mcp-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is wordpress-to-mcp-server open source?
Yes β it is hosted on GitHub at https://github.com/stuffyoushouldautomate/WordPress-to-MCP-Server and has 3 stars.
Related MCP tools
Core PHP implementation for the Model Context Protocol (MCP) server Trusted by 700+ developers. Trusted by 700+ developers.
Model Context Protocol SDK for PHP
An SDK building Laravel MCP servers PHP-based implementation.
π OpenHands: Code Less, Make More for the Model Context Protocol. Enhance AI assistants with powerful integrations. Python-based implementation.
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
Universal memory layer for AI Agents; Announcing OpenMemory MCP - local and secure memory management. Python-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP