WordPress-to-MCP-Server

WordPress-to-MCP-Server

3.4

WordPress MCP is an open-source plugin that transforms a WordPress site into a Model Context Protocol server, enabling integration with LLMs and AI applications.

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

|


🚀 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."


🆕 What's New in v2.0?

  • One-click API key generation (secure, random)
  • Always-on dark mode, Helvetica font, edge-to-edge UI
  • Streamlined dashboard and settings
  • Improved documentation and onboarding
  • Bug fixes and performance improvements

💡 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.

🎨 Fun Interactive Demo

We created a live interactive UI that shows random use cases to help you imagine what’s possible with henjii:
👉 Demo coming soon...


📚 Documentation & Support

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

🤝 Contributing

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

GitHub Issues

📜 License

GPL v2 or later.
View License


built by henjii — modern tools for creative builders