Sponsored by Deepsite.site

Mcp Demo

Created By
yansircca year ago
Content

WordPress MCP (Model Context Protocol)

A comprehensive Model Context Protocol (MCP) implementation for WordPress, enabling AI models to interact with WordPress sites through a standardized interface.

Features

Content Management

  • Full CRUD operations for posts, pages, and custom post types
  • Bulk content operations (create, update, delete)
  • Advanced content querying with flexible filters
  • Special operations (status changes, taxonomy assignments)

Taxonomy Management

  • Create, read, update, and delete taxonomies and terms
  • Bulk operations for terms
  • Advanced term querying and filtering
  • Special operations (term merging, hierarchical management)

Media Management

  • Upload and manage media attachments
  • Support for various media types
  • Media metadata handling

User Management

  • User CRUD operations
  • Role and capability management
  • User meta handling

Comments

  • Comment CRUD operations
  • Comment moderation
  • Comment filtering and querying
  • Create and manage navigation menus
  • Menu item organization
  • Menu location assignment

Theme Management

  • List and manage themes
  • Theme activation
  • Theme deletion

Plugin Management

  • List installed plugins
  • Activate/deactivate plugins
  • Plugin removal

Site Settings

  • View and update WordPress settings
  • Manage site configuration
  • Handle date/time settings

Installation

# Install dependencies
bun install

# Start the server
bun start

Configuration

The MCP server requires the following environment variables:

  • WORDPRESS_URL: Your WordPress site URL
  • WORDPRESS_USERNAME: WordPress admin username
  • WORDPRESS_APPLICATION_PASSWORD: WordPress application password

Docker Support

Build the Docker image:

docker build -t wordpress-mcp .

Run the container:

docker run -it wordpress-mcp

Project Structure

src/entities/
├── attachment/     # Media attachment management
├── comment/        # Comment system operations
├── content/        # Post, page, and custom post type handling
├── menu/          # Navigation menu management
├── plugin/        # Plugin management
├── settings/      # WordPress settings management
├── taxonomy/      # Category, tag, and custom taxonomy operations
├── theme/         # Theme management
└── user/          # User management

Each module follows a consistent structure:

  • api.ts: API implementation
  • schema.ts: JSON Schema definitions
  • utils.ts: Helper functions
  • index.ts: Module exports

Development

Prerequisites

  • Bun 1.x or newer
  • WordPress site with REST API enabled
  • Application password generated in WordPress

Local Development

# Run in development mode
bun dev

# Run tests
bun test

# Check code style
bun run check

Deployment

This MCP can be deployed using Smithery. Required files are included:

  • Dockerfile: Container configuration
  • smithery.yaml: Smithery deployment configuration

License

MIT

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a new Pull Request

Server Config

{
  "mcpServers": {
    "mcp-demo": {
      "command": "uvx",
      "args": [
        "-y",
        "src/index.ts"
      ],
      "env": {
        "WORDPRESS_API_URL": "<WORDPRESS_URL>",
        "WORDPRESS_USERNAME": "<WORDPRESS_USERNAME>",
        "WORDPRESS_PASSWORD": "<WORDPRESS_APPLICATION_PASSWORD>"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
CursorThe AI Code Editor
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Amap Maps高德地图官方 MCP Server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Serper MCP ServerA Serper MCP Server
ChatWiseThe second fastest AI chatbot™
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Tavily Mcp
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
WindsurfThe new purpose-built IDE to harness magic
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Playwright McpPlaywright MCP server
DeepChatYour AI Partner on Desktop