wordpress-mcp  by Automattic

WordPress plugin exposes site functionality to AI agents

created 3 months ago
415 stars

Top 71.9% on sourcepulse

GitHubView on GitHub
Project Summary

This plugin exposes WordPress functionality to AI agents and LLMs via the Model Context Protocol (MCP), enabling secure, standardized interaction with WordPress sites. It targets developers and AI practitioners looking to integrate WordPress content and actions into AI workflows.

How It Works

The plugin implements MCP using dual transport protocols: STDIO and HTTP-based Streamable (JSON-RPC 2.0). It leverages JWT authentication for secure access and provides a React-based admin interface for token management. An extensible architecture allows for custom tools, resources, and prompts, with adapters for WordPress's feature API and experimental generic tools for any REST API endpoint.

Quick Start & Requirements

  • Installation: Download the .zip from releases, upload to /wp-content/plugins/, and activate. For development, use composer install and npm install && npm run build.
  • Prerequisites: A WordPress installation.
  • Setup: Minimal setup time for basic functionality; configuration of tokens and permissions required for secure operation.
  • Docs: docs/README.md

Highlighted Details

  • Supports both STDIO and Streamable (JSON-RPC 2.0) transport protocols.
  • Features JWT authentication with a management UI and an alternative Application Passwords option.
  • Includes experimental generic tools for CRUD operations on any WordPress REST API endpoint.
  • Offers an extensible architecture for custom tools, resources, and prompts.

Maintenance & Community

  • Developed by Automattic.
  • Support via GitHub Issues and Discussions.
  • License: GPL v2 or later.

Limitations & Caveats

The experimental REST API CRUD tools are noted as potentially changing or being removed in future versions. DELETE operations via these tools should be used with caution.

Health Check
Last commit

4 days ago

Responsiveness

Inactive

Pull Requests (30d)
4
Issues (30d)
12
Star History
391 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.