Back to Blog
Development 2026-04-11 · 11 min read

How to Connect WordPress to AI Tools: The Complete MCP Guide

Turn your WordPress site into an AI-powered content hub using the Model Context Protocol — automate audits, manage content, and fix SEO issues with Claude.

I manage 12 WordPress sites with over 1,000 published articles. At that scale, content management becomes a bottleneck. Updating meta descriptions across 50 posts, finding internal linking opportunities between articles, auditing SEO elements site-wide — these tasks are important but tedious enough that they get postponed indefinitely.

AI tools like Claude and Cursor are transformative for development work, but they've always had a gap: they can't interact with your live WordPress site. You can ask Claude to write a blog post, but you can't ask it to check which of your 200 articles are missing featured images, or to add internal links between related posts, or to find every post where the meta description is blank.

That's why I built Connect My Site to AI. It turns any WordPress site into an MCP (Model Context Protocol) server, which means AI tools can read your content, audit your SEO, and manage your site directly — no manual exports, no copy-pasting, no spreadsheets.

What Is MCP?

The Model Context Protocol is an open standard that lets AI tools connect to external services. Think of it like a USB port for AI — it provides a standardized way for AI models to interact with your data and systems.

Before MCP, if you wanted Claude to work with your WordPress content, you'd need to export your posts to CSV, paste them into the chat, and manually apply any changes back to your site. With MCP, Claude connects directly to your site and can read, search, audit, and (with Pro) modify your content in real time.

MCP is supported by Claude Desktop, Claude Code, Cursor, and a growing list of AI tools. Once your WordPress site is an MCP server, any of these tools can connect to it.

Setting Up MCP on Your WordPress Site

The setup takes about 60 seconds:

  • Step 1: Install Connect My Site to AI on your WordPress site. Upload the plugin, activate it.
  • Step 2: In your AI tool, add the MCP server URL. For Claude Code, the command is: claude mcp add sitename --transport http https://yoursite.com/wp-json/cmsta/v1/mcp
  • Step 3: Authorize the connection. The plugin uses OAuth 2.0 with PKCE — no API keys to manage. You'll see an authorization prompt in your browser, click approve, and you're connected.

That's it. Your AI tool now has access to 24 read-only tools for exploring, searching, and auditing your WordPress content.

What You Can Do With AI + WordPress

Here's what this looks like in practice. These are real tasks I run on my sites regularly.

SEO Auditing

The most immediate value is automated SEO auditing. Instead of clicking through hundreds of posts manually, you can ask Claude to:

  • Find orphan content — pages with zero incoming internal links. These are invisible to Google's crawler and to your visitors. On a 200-post site, you'll typically find 10-30 orphan pages.
  • Find thin content — posts below a word count threshold. Set it to 800 words and see how many of your articles are too short to compete.
  • Find stale content — posts not updated in 6+ months. Stale content signals to Google that you're not maintaining your site.
  • Find missing SEO elements — posts without featured images, excerpts, alt text, categories, or tags. Each missing element is a lost opportunity.
  • Detect keyword cannibalization — multiple posts targeting the same keyword. They compete against each other instead of combining their authority.
  • Analyze content structure — check heading hierarchy and readability scores across all posts.

I covered content auditing in depth in my WordPress content audit guide. The MCP connection makes these audits conversational — you can ask follow-up questions, drill into specific results, and get recommendations in real time.

Internal Linking

Internal linking is one of the highest-leverage SEO activities, and one of the most tedious to do manually. With MCP, you can ask Claude to:

  • Map your entire internal link structure
  • Find posts that should link to each other based on topic relevance
  • Identify hub pages that need more incoming links
  • Check if your category pages are properly linked from related content

With the Pro version, Claude can actually insert the internal links for you — find the right anchor text, add the link in the right paragraph, and update the post. What used to take an afternoon of manual editing becomes a conversation.

Content Management at Scale

The Pro version adds 21 write tools that handle the operational side of running a content site:

  • Bulk operations: Update meta descriptions, categories, tags, or status across multiple posts at once. Capped at 50 per operation for safety.
  • Find and replace: Search across all content and replace text — with dry runs by default so you can preview changes before committing.
  • Redirect management: Create, update, and delete redirects. Essential when you're pruning content and need every deleted URL redirected.
  • Content scheduling: Create and schedule posts for future publication. Useful for planning content calendars with AI assistance.
  • Taxonomy management: Create, reassign, or delete categories and tags. Clean up taxonomy bloat without clicking through the WordPress admin.

Safety Features

Connecting AI to a live website raises legitimate concerns. Here's how the plugin handles them:

  • No permanent deletes. The "trash" tool moves posts to trash — it doesn't delete them. You can always restore.
  • Dry runs by default. Find-and-replace operations preview what would change before making any modifications.
  • Bulk caps. Bulk operations are capped at 50 items per request. This prevents accidental mass changes.
  • OAuth authentication. No API keys stored in config files. The OAuth 2.0 PKCE flow means authorization goes through your browser and requires your explicit approval.
  • Zero frontend impact. The plugin adds nothing to your public-facing site. No JavaScript, no CSS, no performance impact for your visitors.

Real-World Example: Auditing The Turtle Hub

Here's a real conversation I had with Claude connected to The Turtle Hub (my turtle care site with 110+ articles):

Me: "Find all posts with missing featured images and posts shorter than 800 words."

Claude: Found 3 posts without featured images and 7 posts under 800 words. Listed each with title, word count, and edit link.

Me: "Now find internal linking opportunities between the turtle diet articles."

Claude: Mapped 12 diet-related articles, found 8 missing cross-links. Suggested specific anchor text and paragraphs for each link.

Me: "Add those internal links."

Claude: Added 8 internal links across 6 posts. Each link was inserted at a contextually relevant paragraph with natural anchor text.

That entire workflow — audit, analysis, and implementation — took about 10 minutes. Doing it manually would have taken 2-3 hours.

Who This Is For

This plugin makes the most sense if you:

  • Manage a WordPress site with 50+ posts and want to automate repetitive content operations
  • Already use AI tools (Claude, Cursor) and want them to work directly with your site
  • Run SEO audits regularly and want to make them conversational instead of spreadsheet-based
  • Manage multiple WordPress sites and need a scalable way to maintain content quality

If you're running a 10-post site, you probably don't need this — the manual approach is fine at that scale. But once you're past 50 posts, the time savings compound quickly.

Getting Started

The free version of Connect My Site to AI includes all 24 read-only tools — content search, SEO auditing, internal link analysis, media library browsing, and technical health checks. That's enough to run a comprehensive site audit without paying anything.

The Pro version ($49/year per site) adds the 21 write tools for content management, SEO fixes, media management, and taxonomy operations. If you're managing content at scale, the write tools pay for themselves in the first hour.

I use this plugin on all 12 of my sites. It's the tool I wish existed when I was managing everything through the WordPress admin panel manually. Combined with ScanMyPosts for deep content scanning and Always Visible Pin It Button for Pinterest traffic, it's the core toolkit that makes running a portfolio of content sites manageable.