Skip to main content
Glama

wp-content-mcp

WordPress MCP server for posts and pages management.

Installation

npm install wp-content-mcp

Related MCP server: WordPressMCP Server

Configuration

Set environment variables:

export WORDPRESS_URL=https://your-site.com
export WORDPRESS_USERNAME=your-username
export WORDPRESS_APP_PASSWORD=your-app-password

Usage with Claude Desktop

Add to your Claude Desktop config:

{
  "mcpServers": {
    "wp-content": {
      "command": "npx",
      "args": ["wp-content-mcp"],
      "env": {
        "WORDPRESS_URL": "https://your-site.com",
        "WORDPRESS_USERNAME": "your-username",
        "WORDPRESS_APP_PASSWORD": "your-app-password"
      }
    }
  }
}

Tools (12 tools)

Posts

  • create_post - Create a new WordPress post

  • update_post - Update an existing post

  • delete_post - Delete or trash a post

  • get_post - Retrieve a post by ID

  • list_posts - List posts with filtering

Pages

  • create_page - Create a new page

  • update_page - Update an existing page

Advanced

  • duplicate_post - Duplicate a post or page

  • schedule_post - Schedule future publication

  • bulk_edit_posts - Bulk update multiple posts

  • get_revisions - Get revision history

  • trash_restore_post - Trash or restore posts

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers