Wordpress MCP logo

Wordpress MCP

WordPress MCP server plugin (WP MCP): connect Claude, ChatGPT, Cursor or any AI agent to WordPress and WooCommerce, and undo any supported AI write. Elementor MCP, Bricks, Divi and Gutenberg tools included. Free WordPress MCP plugin, Pro at wpmcp-pro.com.

Install Wordpress MCP

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for wordpress-mcp, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
Last commit4d agoMost recent push to the default branch.

From the project README

WPMCP, the WordPress MCP server plugin, logo

WordPress MCP Server Plugin (WPMCP)

AI agents can break a live WordPress or WooCommerce site. WPMCP lets you take the change back.

WPMCP is a free, self-hosted WordPress MCP plugin for Claude, ChatGPT, Cursor and other AI agents. It takes a snapshot before each supported write, rolls the change back on its own when the check after it fails, and lets you undo one change or a whole AI session, free.

WordPress MCP server demo: an AI agent changes a page heading over MCP, then one click on Restore in the WPMCP History screen puts the original back

Did WPMCP save you a rollback? Star it on GitHub so other WordPress builders can find it. It is a small project, and every star helps.

Docs · Integrations · Changelog · Pricing · WooCommerce edition

Latest release GitHub stars License: GPL v2+ PHP WordPress

Download wpmcp.zip

What you get

  • Undo for AI edits: a snapshot before each supported write, automatic rollback when the check after it fails, and undo of one change or a whole AI session, free.
  • Your own AI, no usage limits: works with Claude, ChatGPT, Cursor, Antigravity or any MCP client. WPMCP adds no usage limits; only your AI plan's own limits apply.
  • Content and page builders: posts, pages, media, menus and Gutenberg blocks in the free plugin; Elementor, Bricks, Divi and other builders with Pro.
  • WooCommerce: products, variations, prices, stock, orders and coupons, each supported write with undo.
  • Self-hosted and free: a GPL plugin that runs on your own WordPress site. 274 free abilities, 407 with Pro.

Quick start

  1. Download wpmcp.zip.
  2. In wp-admin, go to Plugins > Add New > Upload Plugin, choose the zip, click Install Now, then Activate.
  3. Open wpmcp > Connection and follow its four steps: pick your app, create the connection, add it to your app (the config is filled in for you, or use one of the blocks below), and check that it signed in.

Then ask your AI something read-only to see it work, for example: "List my five latest posts and their status."

Requires WordPress 6.9+ and PHP 8.1+. Free installs update in one click from Dashboard > Updates.

The free plugin keeps your last 20 changes with no time limit. Pro keeps unlimited history while the licence is active. A few writes cannot be undone; they are listed, and each says so in its response.

Copy-paste config

The endpoint is https://your-site.com/wp-json/mcp/wpmcp-server. Each block below signs in with a WordPress application password sent as HTTP Basic auth. The wpmcp > Connection screen fills in the block for the app you pick, with your site and credential, so pasting from there is the quickest route. To fill one in by hand, build the header value like this:

bash
echo -n "your-username:xxxx xxxx xxxx xxxx xxxx xxxx" | base64
# Authorization value: Basic <that output>
Claude Code

One command in your project:

Terminal
claude mcp add --transport http wpmcp https://your-site.com/wp-json/mcp/wpmcp-server --header "Authorization: Basic BASE64_OF_username:application-password"

Or paste into .mcp.json:

config.json
{
  "mcpServers": {
    "wpmcp": {
      "type": "http",
      "url": "https://your-site.com/wp-json/mcp/wpmcp-server",
      "headers": {
        "Authorization": "Basic BASE64_OF_username:application-password"
      }
    }
  }
}
Claude Desktop

Easiest: on wpmcp > Connection, pick Claude Desktop, click Create connection, download wpmcp.mcpb and double-click it, then enter the username and application password when asked.

Or merge this into claude_desktop_config.json, then fully quit and reopen Claude Desktop. The config file only runs local servers, so this entry starts the mcp-remote bridge, which needs Node.js:

config.json
{
  "mcpServers": {
    "wpmcp": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://your-site.com/wp-json/mcp/wpmcp-server", "--header", "Authorization:${WPMCP_AUTH_HEADER}"],
      "env": { "WPMCP_AUTH_HEADER": "Basic BASE64_OF_username:application-password" }
    }
  }
}

Keep Authorization:${WPMCP_AUTH_HEADER} without a space; the value with its space goes in env. The claude.ai and Claude Desktop custom connector signs in with OAuth instead, which is off by default: see the client reference.

Cursor

Paste into .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

config.json
{
  "mcpServers": {
    "wpmcp": {
      "type": "http",
      "url": "https://your-site.com/wp-json/mcp/wpmcp-server",
      "headers": {
        "Authorization": "Basic BASE64_OF_username:application-password"
      }
    }
  }
}
Antigravity

In Antigravity, open Customizations > Installed, scroll to MCP Servers and click Copy Config File Path. Paste this into that file (mcp_config.json) and save, then quit and reopen Antigravity and start a new conversation so the tools load:

config.json
{
  "mcpServers": {
    "wpmcp": {
      "type": "http",
      "url": "https://your-site.com/wp-json/mcp/wpmcp-server",
      "headers": {
        "Authorization": "Basic BASE64_OF_username:application-password"
      }
    }
  }
}
Windsurf

The Connection screen does not print a Windsurf block yet. Windsurf runs local (stdio) MCP servers from its mcp_config.json (open it from the MCP servers panel in Windsurf's settings), so the route that works with any stdio client is the same mcp-remote bridge Claude Desktop uses, which needs Node.js:

config.json
{
  "mcpServers": {
    "wpmcp": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://your-site.com/wp-json/mcp/wpmcp-server", "--header", "Authorization:${WPMCP_AUTH_HEADER}"],
      "env": { "WPMCP_AUTH_HEADER": "Basic BASE64_OF_username:application-password" }
    }
  }
}

Then refresh the MCP servers list in Windsurf.

ChatGPT, VS Code and other clients: see Connect your AI client below.

WPMCP Pro, 10% off for GitHub users: use code WPMCPGIT at wpmcp-pro.com/pricing

What the WordPress MCP server does

A WordPress AI agent with undo. Each supported write is snapshotted before it runs, checked after, and rolled back on its own if the check fails. Undo one change or a whole agent session from the AI, or any single change with one click on the History screen in wp-admin. The free plugin keeps your last 20 undo points; Pro keeps unlimited history while the licence is active. The few things that cannot be undone are listed, and each says so in its response.

Build pages in Gutenberg, Elementor and other builders. The free plugin reads and edits Gutenberg blocks, inserts patterns and converts HTML to blocks, verifying the markup after every edit. Pro adds Elementor MCP editing of the full element tree, plus Bricks, Divi, Beaver Builder, Breakdance, Oxygen, WPBakery, Avada and other builders. Builder details.

Run the site. Posts, pages, media, menus, users, settings, plugins and themes, plus cache clearing, performance and security scans and backups. Risky tools (raw database writes, file edits, package updates, code execution) ship switched off until you opt in.

Run your store as a WooCommerce MCP server. Products and variations, bulk price changes, orders, coupons and stock, with undo for each supported write. Pro adds WooCommerce Subscriptions, Bookings and Memberships. Prefer a store-only build? See the WooCommerce edition.

Works with your plugins. Integrations for ACF, Yoast SEO and Rank Math, form, LMS, membership and other plugins register only while that plugin is active, so your AI client sees tools for what your site actually runs. Built on the WordPress Abilities API and the official WordPress MCP Adapter. All integrations.

WPMCP History screen in wp-admin listing WordPress MCP agent operations, each with a one-click Restore button

How undo works

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Wordpress MCP

wordpress-mcp is an MCP server that turns your WordPress site into an MCP server, letting Claude, ChatGPT, Cursor and other AI agents manage WordPress and WooCommerce. It supports undo for supported AI writes and includes Gutenberg, Elementor, Bricks, and Divi tools. The free plugin requires WordPress 6.9+ and PHP 8.1+, and Pro adds expanded builder and history capabilities.

Install wordpress-mcp by downloading the ZIP, uploading it through WordPress admin under Plugins > Add New > Upload Plugin, and activating it. Then open wpmcp > Connection to connect Claude, ChatGPT, or Cursor.

Yes, wordpress-mcp can undo every supported AI write by snapshotting changes before execution and checking them afterward. You can restore individual changes from the wp-admin History screen or undo a complete agent session; the free plugin retains the last 20 undo points.

Yes, wordpress-mcp supports WooCommerce products and variations, bulk price changes, orders, coupons, and stock management, with undo for each supported write. Pro adds support for WooCommerce Subscriptions, Bookings, and Memberships.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWordpress MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/wordpress-mcp-3?style=directory)](https://allmcps.com/mcp/wordpress-mcp-3)
HTML Embed
<a href="https://allmcps.com/mcp/wordpress-mcp-3"><img src="https://allmcps.com/api/badge/wordpress-mcp-3?style=directory" alt="Wordpress MCP on AllMCPs" /></a>