MCP for WordPress

Connect your WordPress site to Claude, ChatGPT, Cursor and other AI apps. Our free plugin, Vibe MCP Bridge, turns your site into an MCP server, so you can ask an AI to draft posts, fix SEO fields or check for plugin updates, and it can only do what your WordPress user is allowed to do.

Download the plugin (.zip) Free · Version 0.3.1 · 29 KB · GPLv2 Needs WordPress 5.6+ and PHP 7.4+

What is MCP?

MCP (Model Context Protocol) is the open standard AI apps use to call outside tools. An app that supports MCP can connect to an MCP server and use the actions that server offers. This plugin makes your WordPress site one of those servers. Once it is connected you can write requests in plain language, for example "Draft a post about our spring sale and attach a featured image" or "Which plugins need updates?", and the AI carries them out through the plugin.

What the AI can do on your site

The tools come in three groups. You can switch each group off in the plugin settings.

  • Content: search, list, create and edit posts, pages and custom post types; revisions and preview links; categories and tags; the media library (including importing an image from a public URL); comments; classic menus; custom fields; Additional CSS; and SEO title, description and focus keyword when Yoast SEO or Rank Math is active.
  • Admin: list, activate, deactivate and update plugins; list and switch themes; a quick site health check; the last lines of debug.log; scheduled cron events; flush caches; a short list of safe settings such as site title and permalinks; and a few WP-CLI-style commands that run inside WordPress, never in a shell.
  • WooCommerce (only when WooCommerce is active): a store summary, products, orders and their status, and coupons.

Which AI apps can connect?

AppHow it connects
Claude (claude.ai, desktop, mobile)One click: add a custom connector with your site's URL, then press Allow on your WordPress approval screen. No password to copy.
Claude CodeOne command in the terminal, then the same WordPress approval screen.
ChatGPTAs a custom connector, on plans that allow you to add your own MCP servers. It uses the same connector URL and sign-in.
Cursor, Gemini CLI and other MCP clientsWith a WordPress Application Password. The plugin's settings page builds the config for you.

How to install it

  1. Download the zip. Don't unzip it.
  2. In WordPress open Plugins → Add New Plugin → Upload Plugin, choose the zip, click Install Now and then Activate.
  3. Open Settings → Vibe MCP. The Connect to Claude tab shows your connector URL and a readiness check.

Your connector URL looks like this (with your own domain):

https://your-site.com/wp-json/vibe-mcp/v1/mcp

How to connect Claude

  1. In Claude open the connector settings (Customize → Connectors → Add custom connector, or Settings → Connectors on some plans).
  2. Name it WordPress, paste your connector URL, leave the OAuth fields empty and click Add.
  3. Click Connect. A WordPress tab opens: log in if asked and press Allow.
  4. Try it: "Use WordPress to show my site info."

In Claude Code, run this, then type /mcp, pick wordpress and choose Authenticate:

claude mcp add --transport http wordpress https://your-site.com/wp-json/vibe-mcp/v1/mcp

How to connect other AI apps

Apps without the one-click sign-in log in with a WordPress Application Password. Create one under Users → Profile → Application Passwords. Then open the Advanced (other clients) tab in the plugin: enter the username and that password, and it writes ready-to-paste configs for Claude Code, Claude Desktop, Cursor and any client that accepts a URL plus headers. It builds them in your browser and doesn't save or send them anywhere. Treat the result like a password.

For Cursor it looks like this:

{
  "mcpServers": {
    "wordpress": {
      "url": "https://your-site.com/wp-json/vibe-mcp/v1/mcp",
      "headers": { "Authorization": "Basic <base64 of username:app-password>" }
    }
  }
}

Is it safe to give an AI access to my site?

The plugin is built so the AI can't do more than you allow:

  • It works as your WordPress user. The AI gets exactly that user's permissions and no more. An Editor account can manage content but can't touch plugins or settings. That user must be at least able to edit posts.
  • Drafts by default. New posts are saved as drafts. Publishing, moving a post to the trash, restoring a revision, switching the theme, changing plugins and changing an order's status all require an explicit confirmation, and the AI is told to ask you first.
  • Read-only mode and an off switch. Under Safety & settings you can hide every write tool, turn whole tool groups off, or disable the endpoint completely.
  • You can see and revoke access. The Activity tab logs the last 100 changes the AI made. The Connections tab lists every connected app, and you can revoke one or all of them.
  • Secure sign-in. The one-click connection uses OAuth 2.1 with PKCE, and access tokens expire after an hour. The site stores only hashes of tokens, never the tokens themselves.
  • Limits on the sensitive parts. Settings changes are limited to a short safe list. Hidden custom fields (keys starting with _) are refused. Media imports reject local and private network addresses.

Our advice: start with an Editor account or read-only mode, and only switch to an Administrator account once you are comfortable with how it works.

What do I need?

  • WordPress 5.6 or later and PHP 7.4 or later.
  • A public HTTPS address. Claude can't reach localhost, .local or .test sites; use a real domain or a tunnel.
  • Pretty permalinks (any setting except "Plain" under Settings → Permalinks).
  • Your host or firewall must allow /.well-known/ and /wp-json/vibe-mcp/. The plugin's Run connection test button checks this.

Good to know

  • Running several sites? Install the plugin on each one and add each as its own connector, for example wordpress-blog and wordpress-shop.
  • If Claude says it can't connect, the Troubleshooting tab in the plugin covers the usual causes.
  • The plugin is free and open source under the GPLv2 licence. The zip contains plain PHP files you can read before you install.

The plugin runs entirely on your own WordPress site. It doesn't send anything to Xplorekit, and we never see your content or passwords. What you ask an AI app, and what it reads from your site, is handled by that app under its own terms. Read our full privacy policy.