wp -demo
Implements a basic MCP server using Abilities API and the MCP Adapter
claude mcp add --transport stdio jonathanbossenger-wp-mcp-server-demo uvx wordpress-mcp-server-demo \ --env WP_MCP_ADAPTER_ACTIVE="true" \ --env WP_ABILITIES_DEMO_ACTIVE="true"
How to use
This MCP server is a WordPress-based configuration wrapper that exposes a curated set of abilities from the WP Abilities API Demo plugin through a dedicated MCP server named “MCP Demo Server.” It relies on the MCP Adapter for WordPress to register and publish those abilities as MCP tools. Once installed and activated, you can interact with the server via the REST MCP endpoints exposed under /wp-json/mcp-demo-server/mcp/, enabling tools such as site-info, log reading/clearing, plugin listing, post creation, and security checks. The server acts as a bridge, mapping abilities defined in the WP Abilities API Demo plugin into MCP tools accessible over HTTP with proper WordPress authentication and capability checks.
How to install
Prerequisites:
- WordPress 5.0 or higher
- PHP 7.4 or higher
- Active MCP Adapter plugin
- Active WP Abilities API Demo plugin
Installation steps:
-
Install required plugins
- In WordPress, install and activate the MCP Adapter plugin.
- Install and activate the WP Abilities API Demo plugin.
-
Install this MCP server plugin
- Clone or download this repository into the WordPress plugins directory (wp-content/plugins/).
- Activate the wp-mcp-server-demo plugin from the WordPress admin.
-
Verify setup
- Ensure both required plugins are active.
- Access the MCP endpoint: https://your-site/wp-json/mcp-demo-server/mcp/ to list available tools.
Notes:
- This plugin does not require Composer installations for its own dependencies.
- It relies on the WP Abilities API Demo plugin for the actual abilities and on the MCP Adapter for server exposure.
Additional notes
Tips and common issues:
- Ensure both MCP Adapter and WP Abilities API Demo plugins are active; the MCP Demo Server depends on them.
- Abilities exposed by the server inherit their permission requirements from the underlying WP Abilities API Demo plugin (e.g., manage_options, publish_posts).
- Endpoint access requires proper WordPress authentication (e.g., application passwords or cookie-based authentication).
- This server focuses on exposing a fixed set of abilities: site-info, debug/read-log, debug/clear-log, plugins/get-plugins, post/create-post, and security/check-security.
- If an ability is not available, verify that the corresponding feature is active in the WP Abilities API Demo plugin.
- For development or testing, ensure REST API is accessible over HTTPS and that permalinks are configured correctly in WordPress.
Related MCP Servers
drift
Codebase intelligence for AI. Detects patterns & conventions + remembers decisions across sessions. MCP server for any IDE. Offline CLI.
laravel
A Laravel package for implementing secure Model Context Protocol servers using Streamable HTTP and SSE transport, providing real-time communication and a scalable tool system for enterprise environments.
php
基于 PHP 实现的 MCP (Model Control Protocol) 服务器框架,通过注解优雅地定义 MCP 服务,支持 Tool、Prompt、Resource 三种处理器,支持Stdio、Sse 两种 transport。
mcp-profiler-bundle
The Symfony MCP Profiler Bundle mimics the WebProfiler Bundle. It bridges the gap between Profiler data and your favorite MCP-enabled AI-powered IDE.
elementor
Comprehensive Elementor MCP Server plugin.
mcp
Model Context Protocol for Hyperf