wp_mcp_server

wp_mcp_server

3.5

The WordPress MCP Server is a TypeScript-based server that standardizes interactions between AI systems and WordPress sites, providing secure access to WordPress functions via JSON-RPC 2.0. It supports multiple sites and features like CRUD operations, secure authentication, and is optimized for performance and AI integration.

Top Comments

WordPress MCP Server

A TypeScript-based Model Context Protocol (MCP) server that provides a standardized interface for AI systems to interact with WordPress sites. This server enables secure, programmatic access to WordPress functionality through JSON-RPC 2.0.

Choose Your Guide

We've created documentation for different levels of experience:

  • : If you're new to MCP servers and want to learn what this is all about
  • : If you have some technical knowledge and want to implement this in your projects
  • : If you're a developer looking to contribute or extend the functionality

Quick Start

# Clone the repository
git clone https://github.com/yourusername/wordpress-mcp-server.git
cd wordpress-mcp-server

# Install dependencies
npm install

# Configure your WordPress sites
cp config/wp-sites.example.json config/wp-sites.json
cp config/wp-secrets.example.json config/wp-secrets.json

# Build and start
npm run build
npm start

Features

  • Multi-site Support: Manage multiple WordPress sites from a single server
  • Secure Authentication: API key and WordPress application password support
  • Full CRUD Operations: Create, read, update, delete posts, pages, media, and more
  • AI-Ready: Designed for integration with LLM applications
  • Extensible: Easy to add new WordPress features and tools
  • Resource Management: MCP resource exposure for WordPress entities
  • Performance Optimized: Built-in caching and connection pooling
  • Monitoring: Comprehensive metrics and logging

Supported WordPress Features

  • Posts and Pages
  • Media Library
  • Users and Roles
  • Categories and Tags
  • Plugins and Themes
  • Site Settings
  • Custom Post Types

Requirements

  • Node.js 16+
  • WordPress 5.6+ with REST API enabled
  • Application passwords enabled in WordPress

Documentation

Contributing

We welcome contributions! Please see our for details.

License

Support

Acknowledgments

Built with: