MCP ExplorerExplorer

Wp Mcp Server

@w4esteron a year ago
1 MIT
FreeCommunity
AI Systems
A TypeScript-based MCP server for secure WordPress interaction via JSON-RPC 2.0.

Overview

What is Wp Mcp Server

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

Use cases

Use cases include managing multiple WordPress sites from a single server, automating content updates, integrating AI-driven applications for content generation, and enhancing WordPress functionality through custom tools.

How to use

To use wp_mcp_server, clone the repository, install the dependencies, configure your WordPress sites, and then build and start the server using npm commands.

Key features

Key features include multi-site support, secure authentication, full CRUD operations, AI readiness for integration with LLM applications, extensibility for adding new features, resource management for WordPress entities, performance optimization with caching, and comprehensive monitoring.

Where to use

wp_mcp_server can be used in web development projects that require integration between AI systems and WordPress sites, particularly in scenarios involving content management and automation.

Content

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:

  • Friendly Guide: If you’re new to MCP servers and want to learn what this is all about
  • Working Guide: If you have some technical knowledge and want to implement this in your projects
  • Let’s GrOw! Guide: 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 Contributing Guide for details.

License

Support

Acknowledgments

Built with:

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers