wordpress-mcp  by Automattic

WordPress plugin exposes site functionality to AI agents

Created 5 months ago
601 stars

Top 54.5% 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

1 month ago

Responsiveness

1 week

Pull Requests (30d)
0
Issues (30d)
1
Star History
37 stars in the last 30 days

Explore Similar Projects

Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
5 more.

composio by ComposioHQ

0.2%
26k
Toolset for AI agent integrations via function calling
Created 1 year ago
Updated 2 days ago
Feedback? Help us improve.