Skip to content

How to Connect Claude Desktop to WordPress

Connecting Claude Desktop to your WordPress site lets you manage content by simply chatting: draft and publish posts, update pages, organize media and categories, or review comments, all from the Claude app. Easy MCP AI runs the MCP server directly inside WordPress, and Claude Desktop connects to it over OAuth in about two minutes, with no API token to manage.

This guide covers the Claude Desktop app and Claude Cowork; both use the same Connectors screen. If you use Claude in the browser, see How to Connect Claude.ai to WordPress instead.

In this article

Prerequisites

  • A WordPress site served over HTTPS with Easy MCP AI installed and activated (see the installation guide).
  • Pretty permalinks enabled (Settings > Permalinks set to anything other than "Plain").
  • The Claude Desktop app with a signed-in Claude account.

You'll need your site's MCP endpoint URL, which is always your domain followed by /wp-json/easy-mcp-ai/v1/mcp:

https://yoursite.com/wp-json/easy-mcp-ai/v1/mcp

You can copy it from Easy MCP AI > Dashboard in your WordPress admin, in the Quick Start: Connect Your AI Client section.

The Easy MCP AI Dashboard Quick Start card with the MCP endpoint URL and Copy button

With OAuth, you never handle a token: Claude Desktop discovers the login flow automatically, you approve it once in your browser, and the connection renews itself from then on.

  1. In Claude Desktop, open Settings > Connectors.
  2. Click Add connector.

If you are on a Team or Enterprise plan and the option is missing, your organization's primary owner must first add the custom connector via the Claude Admin Settings.

  1. Paste your MCP endpoint URL as the server URL.
  2. Set the name to "WordPress" (or anything you like).
  3. Click Save, then Connect.
  4. Your browser opens a WordPress authorization page. Log in if prompted, review the access request, and approve it.

The WordPress OAuth authorization screen asking to approve the Claude Desktop connection

That's it. You're returned to Claude Desktop with the connector active.

Verify the Connection

Back in Claude Desktop, the connector shows as connected in Settings > Connectors, and the WordPress tools appear in the tools menu of a new chat.

Try a first prompt:

Which are the five most recent posts on my site, and which of them are still drafts?

Claude will ask for permission the first time it uses a WordPress tool, then list your posts.

Alternative: Connect with an API Token

If you prefer explicit credentials, you can configure the connection manually instead of using OAuth. This is useful when you want to give Claude a token limited to read-only tools.

  1. Create an API token in Easy MCP AI > API Token & OAuth and copy it.
  2. In Claude Desktop, open Settings > Developer > Edit Config to open claude_desktop_config.json.
  3. Add the server entry, replacing the URL with your endpoint and YOUR_API_TOKEN with your token:
json
{
  "mcpServers": {
    "wordpress": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://yoursite.com/wp-json/easy-mcp-ai/v1/mcp",
        "--header",
        "Authorization: Bearer YOUR_API_TOKEN"
      ]
    }
  }
}
  1. Save the file and restart Claude Desktop.

The manual method runs the connection through the mcp-remote bridge, which requires Node.js on your computer. Your WordPress server still needs nothing extra; the plugin is pure PHP.

What You Can Do Once Connected

Easy MCP AI exposes your site's capabilities as MCP tools, organized by area: posts, pages, media, comments, categories and tags, menus, custom post types, blocks, revisions, users, plugins, themes, site settings, and search. Integrations such as WooCommerce and SEO data sources are included when available. What Claude can actually touch is always bounded by the connected WordPress user's role and your plugin settings.

Some things to try:

Draft a 600-word post about our new spring collection and save it as a draft.

Find every page that still mentions our old phone number and update it.

Show me the comments awaiting moderation and summarize what they're about.

Control What Claude Can Access

The connection acts as the WordPress user who approved it (or the token's assigned user), so WordPress roles apply as usual. On top of that, you can globally disable sensitive tools such as deletions, user management, and site settings. You can also set rate limits, force AI-created posts to stay drafts, and review every action in the audit log. See Creating and Managing API Tokens for all the guardrails.

Security

If you identify a potential security vulnerability in this plugin, please disclose it responsibly. Follow the protocols on the Themeisle Security Page.

Was this helpful?