Connect My Site to AI – MCP Server for WordPress
Turn your WordPress site into an MCP server. Let Claude, Cursor, and other AI tools read your content, audit your SEO, and manage your site — all through a secure, authenticated connection.
24 free read-only tools. 21 pro write tools. Zero impact on frontend performance.
What Is MCP and Why Does Your WordPress Site Need It?
Model Context Protocol (MCP) is an open standard created by Anthropic — the company behind Claude AI — that lets AI applications connect directly to external tools and data sources. Think of it as a universal adapter between AI and your data.
Without MCP, getting AI to work with your WordPress site means copying and pasting content, manually exporting data, or building custom API integrations. With MCP, the AI tool connects directly to your site and can search your content, audit your SEO, check your site health, and even create or edit posts — all through natural language.
This plugin turns your WordPress site into a fully compliant MCP server. It exposes 45 purpose-built tools that any MCP-compatible AI can call. Authentication is handled via OAuth 2.0 with PKCE — the same security standard used by Google, GitHub, and Slack. No API keys to manage, no webhooks to configure, no code to write.
The free version gives you 24 read-only tools for content search, SEO auditing, media library browsing, and technical health checks. Pro adds 21 write tools — create posts, fix SEO issues, upload images, manage redirects, and handle taxonomies, all through your AI assistant. See all WordPress plugins by Muntaseer Rahman.
How to Connect Your WordPress Site to AI
Three steps. Under two minutes. No coding required.
Works With Your Favorite AI Tools
Any AI tool that supports the Model Context Protocol can connect to your WordPress site.
24 Free Read-Only Tools
Search content, audit SEO, browse media, and check site health — no Pro license required.
Content (7 tools)
SEO Audit (9 tools)
Media Library (3 tools)
Technical & Health (5 tools)
21 Pro Write Tools
Create, update, merge, find & replace, upload media, manage redirects, and handle taxonomies — all through your AI assistant.
Content Management PRO (9 tools)
SEO Fix Tools PRO (7 tools)
Media Management PRO (2 tools)
Taxonomy Management PRO (3 tools)
Free vs Pro — Full Feature Comparison
Every capability side by side. See exactly what each version includes.
| Capability | Free | Pro |
|---|---|---|
| Content Reading | ||
| Get post/page by ID, slug, or URL | ✓ | ✓ |
| Search content by keyword, type, category, tag, status | ✓ | ✓ |
| List posts with sorting and pagination | ✓ | ✓ |
| List categories and tags with counts | ✓ | ✓ |
| View post revision history | ✓ | ✓ |
| Read ACF field groups and values | ✓ | ✓ |
| SEO Auditing | ||
| Internal link mapping (outgoing, incoming, both) | ✓ | ✓ |
| Find orphan content (no incoming links) | ✓ | ✓ |
| Find thin content (below word count threshold) | ✓ | ✓ |
| Find stale content (not updated in X months) | ✓ | ✓ |
| Find missing SEO elements (excerpts, alt text, images) | ✓ | ✓ |
| Find duplicate titles (keyword cannibalization) | ✓ | ✓ |
| Content structure analysis (headings, readability) | ✓ | ✓ |
| Keyword density analysis | ✓ | ✓ |
| Find broken media (404 images) | ✓ | ✓ |
| Media Library | ||
| Search media by keyword | ✓ | ✓ |
| Browse media with filters (date, type, unattached) | ✓ | ✓ |
| Get all images for a specific post | ✓ | ✓ |
| Upload media from URL | ✗ | ✓ |
| Batch-update alt text, titles, captions (up to 50) | ✗ | ✓ |
| Technical & Health | ||
| Site info (name, URL, content counts, post types) | ✓ | ✓ |
| Technical info (PHP, WP version, plugins, theme) | ✓ | ✓ |
| Security audit (outdated software, debug mode, etc.) | ✓ | ✓ |
| Content calendar (publishing frequency, gaps) | ✓ | ✓ |
| Author statistics | ✓ | ✓ |
| Content Management (Write) | ||
| Create posts, pages, and custom post types | ✗ | ✓ |
| Update title, slug, content, excerpt, status | ✗ | ✓ |
| Trash and restore posts | ✗ | ✓ |
| Bulk update status (up to 50 posts) | ✗ | ✓ |
| Duplicate post with all metadata | ✗ | ✓ |
| Clone post as template (structure only) | ✗ | ✓ |
| Merge thin/duplicate posts into one | ✗ | ✓ |
| Schedule future publish dates | ✗ | ✓ |
| SEO Fixing (Write) | ||
| Batch-fix excerpts, categories, tags, featured images | ✗ | ✓ |
| Add internal links to post content | ✗ | ✓ |
| Update post meta / custom fields / ACF | ✗ | ✓ |
| Find and replace across site (dry run default) | ✗ | ✓ |
| Bulk update meta on 50 posts at once | ✗ | ✓ |
| Redirects & Taxonomy | ||
| Create 301/302/307 redirects (Redirection plugin) | ✗ | ✓ |
| Delete redirects | ✗ | ✓ |
| Create categories and tags | ✗ | ✓ |
| Delete categories and tags | ✗ | ✓ |
| Bulk reassign taxonomy terms (up to 50 posts) | ✗ | ✓ |
| Security & Infrastructure | ||
| OAuth 2.0 with PKCE authentication | ✓ | ✓ |
| Dynamic client registration | ✓ | ✓ |
| Per-client rate limiting | ✓ | ✓ |
| Request logging with stats | ✓ | ✓ |
| Client revocation from admin | ✓ | ✓ |
| Write OAuth scope for write tools | N/A | ✓ |
| Totals | ||
| Total tools | 24 | 45 |
Built-In Safety Guards
Every write tool is designed so you can trust AI with your WordPress site.
What Can You Do With It?
Real workflows that WordPress site owners use every day.
Example Prompts You Can Use
Copy any of these into your AI tool after connecting. These are real prompts that work out of the box.
Technical Details
For developers who want to understand what's under the hood.
Frequently Asked Questions
What is MCP (Model Context Protocol)?
MCP is an open protocol created by Anthropic that lets AI applications connect to external data sources and tools. Think of it as a standardized way for AI to talk to your WordPress site — reading content, running audits, and even making changes through a secure, authenticated API. It's supported by Claude Desktop, Claude Code, Cursor, and a growing number of AI tools.
Which AI tools work with this plugin?
Any AI tool that supports the MCP protocol via Streamable HTTP transport. This includes Claude Desktop (Anthropic's desktop app), Claude Code (CLI tool for developers), Cursor (AI code editor), and any other MCP-compatible client. The list is growing as more AI tools adopt the MCP standard.
Is my site data safe?
Yes. The plugin uses OAuth 2.0 with PKCE — the same authentication standard used by Google, GitHub, and other major platforms. AI tools must be explicitly authorized by a WordPress admin before they can access anything. Tokens expire after one week, and you can revoke access at any time from the plugin settings.
What's the difference between free and Pro?
The free version gives you 24 read-only tools for searching content, auditing SEO, checking site health, and browsing your media library. Pro adds 21 write tools that let the AI create posts, update content, manage media, handle redirects, and more. All write operations have safety guards — no permanent deletes, dry runs by default on find & replace, and bulk operations capped at 50 items.
Do I need coding skills to use this?
No. Install the plugin, go to Settings > Connect to AI, click "Copy Instructions for AI", and paste it into your AI tool. That's it. The AI handles the OAuth connection automatically — no API keys to configure, no code to write.
Does it work with custom post types?
Yes. Every tool that accepts a post type parameter works with any registered custom post type — WooCommerce products, portfolio items, testimonials, events, or any other CPT on your site.
Does it support Advanced Custom Fields (ACF)?
Yes. The free get_acf_fields tool lists all ACF field groups and their fields for any post type, including current values for specific posts. The Pro update_post_meta tool can read and write ACF field values — the AI knows exactly what fields exist before trying to update them.
Can the AI permanently delete my content?
No. The trash_post tool moves content to the WordPress trash — it never permanently deletes anything. Trashed posts can be restored from the admin trash or via the Pro restore_from_trash tool. The find_and_replace tool defaults to dry_run mode, showing a preview of changes before applying them. Bulk operations are capped at 50 items per call.
Does it work with Yoast SEO or RankMath?
Yes, indirectly. SEO plugins store their metadata as post meta fields. The Pro update_post_meta tool can write to any meta key — including Yoast's _yoast_wpt_metadesc, RankMath's rank_math_description, or any other SEO plugin's fields. The AI can audit SEO issues with the free tools and fix them with Pro.
How does the redirect management work?
The manage_redirects and delete_redirect tools integrate with the Redirection plugin by John Godley (a free WordPress plugin with 2+ million installs). You can create 301, 302, or 307 redirects and delete them — all through your AI assistant. If the Redirection plugin isn't installed, the tool returns a helpful error message.
What happens when I merge posts?
The merge_posts tool combines content from multiple posts into one primary post. It appends the content from source posts (separated by an HR tag), merges their categories and tags into the primary post, and moves the source posts to trash — never permanently deletes them. This is perfect for consolidating thin content that's hurting your SEO.
Can I use it on multiple WordPress sites?
Yes. Install the plugin on each site you want to connect. Each site gets its own MCP endpoint URL. In your AI tool, add each site as a separate MCP server. You can then switch between sites or query multiple sites in the same conversation.
Does it slow down my website?
No. The plugin only responds when an AI tool sends a request to the MCP endpoint. It has zero impact on frontend page loads — no JavaScript, no CSS, no database queries on regular page views. Rate limiting prevents any single client from overwhelming your server.
Is this plugin on WordPress.org?
No. Connect My Site to AI is distributed exclusively from this website (muntaseerrahman.com). This gives us faster release cycles and the ability to include Pro features in the same plugin file, gated by license key.
How do I upgrade to Pro?
Install the plugin (it includes both free and Pro code). Go to Settings > Connect to AI > License tab and enter your Pro license key. All 21 write tools are unlocked instantly — no re-uploading required.
Ready to Connect Your WordPress Site to AI?
Download the free plugin and connect in under two minutes. 24 read-only tools included. Upgrade to Pro when you need write access — create posts, fix SEO, manage media, and more through your AI assistant.