How to Connect Claude to WordPress Using MCP

Abstract network diagram showing interconnected teal nodes on a dark navy background, representing the MCP protocol ecosystem

Claude can connect directly to a WordPress site and create posts, update media, write SEO metadata, and publish content without you touching the WordPress admin interface. The connection runs through the Model Context Protocol (MCP), an open standard that lets AI models communicate with external tools and services.

This guide covers what you need, how the connection works, and how to get it running.

What you need

You need three things: a WordPress site with a plugin that exposes a REST API endpoint compatible with MCP, a Claude account with MCP connector support (available on Claude.ai Pro and above), and the URL and authentication key for your MCP endpoint.

On the WordPress side, the plugin to use is Easy MCP AI. It installs like any other WordPress plugin, activates with a single click, and generates a unique authenticated endpoint URL from its settings page. That URL is what you give to Claude.

How the connection works

MCP uses a client-server model. Claude is the client. Your WordPress site is the server. When you connect them, Claude gains access to a defined set of tools – operations the WordPress MCP plugin has registered and made available. These typically include creating posts, updating posts, listing media, updating media metadata, and reading existing content.

Every request Claude makes to your WordPress site goes through the authenticated endpoint. The key embedded in the URL ensures only authorised clients can call the tools. Claude never has your WordPress admin password – it only has access to the operations the plugin explicitly exposes.

Setting up Easy MCP AI on WordPress

Install Easy MCP AI from the WordPress plugin directory or by uploading the zip file manually. Once activated, go to Settings and find the Easy MCP AI configuration page. The plugin will display your unique MCP endpoint URL, which follows the format:

https://yoursite.com/wp-json/easy-mcp-ai/v1/mcp/[your-key]

Copy that URL. You will not need to configure anything else on the WordPress side for basic operation.

Connecting Claude to your WordPress site

In Claude.ai, go to Settings and open the Connectors or Integrations section. Add a new MCP connector and paste your WordPress endpoint URL. Claude will verify the connection by querying the available tools. Once confirmed, the connector appears in your tool panel and can be activated in any conversation.

With the connector active, you can instruct Claude to create a post, set a featured image, write Yoast SEO fields, or update existing content directly. Claude calls the appropriate MCP tool, your WordPress site executes the operation, and the result is returned to Claude in the conversation.

What Claude can do once connected

The operations available depend on what the MCP plugin registers, but a standard Easy MCP AI installation gives Claude access to the following:

  • Create posts with title, content, categories, tags, author, and featured image
  • Update existing posts, including changing status from draft to published
  • Read post content to check what is currently live before editing
  • List media library items by filename to retrieve attachment IDs and dimensions
  • Update media metadata including alt text and caption
  • Write Yoast SEO fields including focus keyphrase, SEO title, and meta description
  • Write custom schema markup to registered REST fields

Practical workflow

A typical publishing workflow with Claude and WordPress MCP looks like this. You brief Claude on the article. Claude researches the topic, writes the content, looks up the featured image in your media library using its filename, sets the alt text, builds the caption shortcode for any body images, writes the Yoast SEO fields, and creates the post as a draft – all in a single conversation. You review the draft in WordPress and publish it.

The same workflow applies to updates. Claude fetches the current live version of a post first, applies your requested changes to that fetched content, and updates it – preserving any edits you have made in the WordPress editor since the post was created.

Security considerations

Treat your MCP endpoint URL as you would an API key. Anyone who has it can call your WordPress tools. Store it securely, do not share it publicly, and regenerate it if you believe it has been compromised. The Easy MCP AI plugin provides a regeneration option in its settings.

MCP connections operate within the permissions of the WordPress user account the plugin is authenticated against. Limiting that account to editor-level permissions rather than administrator is a sensible precaution if you want to restrict what Claude can access.