MCPInstall
WordPress-to-MCP-Server logo

WordPress-to-MCP-Server

by stuffyoushouldautomate 3 stars stuffyoushouldautomate/WordPress-to-MCP-Server

henjii instantly turns your WordPress site into a full-featured Model Context Protocol (MCP) server.

READMEmain

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? 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

📜 License

GPL v2 or later.
View License


built by henjii — modern tools for creative builders

More Content Management MCP servers

Similar servers from the same category.

Giphy

microsoft

Submit recent chat history ('context') and a search term to retrieve a list of candidate results from GIPHY and load their image data.

chatdata+4

A Model Context Protocol (MCP) server that connects AI assistants to the Hashnode API, enabling seamless content creation, management, and retrieval through AI interactions. Create, update, and search Hashnode articles directly through Claude or other AI assistants.

APISearch+8

A local, private MCP (Model Context Protocol) server for interacting with a Confluence instance.

TextModel

This project provides an MCP (Model Context Protocol) server to interact with the Nuxeo Platform. It supports creating, modifying, deleting, and searching for folders and documents, as well as extracting their text content.

SearchDocument+7