Get the FREE Ultimate OpenClaw Setup Guide →

wp -demo

Implements a basic MCP server using Abilities API and the MCP Adapter

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
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:

  1. Install required plugins

    • In WordPress, install and activate the MCP Adapter plugin.
    • Install and activate the WP Abilities API Demo plugin.
  2. 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.
  3. Verify setup

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

Sponsor this space

Reach thousands of developers