{"id":11290,"date":"2026-07-10T18:08:55","date_gmt":"2026-07-10T12:38:55","guid":{"rendered":"https:\/\/4ksamachar.com\/?p=11290"},"modified":"2026-07-10T18:08:55","modified_gmt":"2026-07-10T12:38:55","slug":"how-to-connect-ai-agents-with-wordpress-using-mcp-step-by-step","status":"publish","type":"post","link":"https:\/\/4ksamachar.com\/?p=11290","title":{"rendered":"How to Connect AI Agents With WordPress using MCP (Step by Step)"},"content":{"rendered":"<p class=\"wp-block-paragraph\">AI assistants like Claude Code, Cowork, and ChatGPT are incredible productivity boosters, and if you wished that you could connect these AI tools with WordPress directly, then you\u2019re not alone. <\/p>\n<p class=\"wp-block-paragraph\">Lately, I have been using WordPress MCP by WPVibe to let my AI assistant manage my website, and it\u2019s truly amazing how much time this saves. You can simply ask it to create a post, upload image, handle admin tasks, and more from a single conversational prompt.<\/p>\n<p class=\"wp-block-paragraph\">In this step by step tutorial, I\u2019ll show you how to connect your favorite AI tools with WordPress using MCP along with sharing a few work examples, so you can see what becomes possible when you combine WordPress + AI.<\/p>\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"680\" height=\"385\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2026\/07\/how-to-connect-ai-ag-featured.jpg\" alt=\"How to Connect AI Agents With WordPress Using MCP\" class=\"wp-image-409227\"><\/figure>\n<p class=\"wp-block-paragraph\">You can use the quick links below to jump to any section:<\/p>\n<div class=\"wp-block-aioseo-table-of-contents\">\n<ul>\n<li><a class=\"aioseo-toc-item\" href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-connect-ai-agents-with-wordpress-using-mcp\/#aioseo-what-is-the-wordpress-model-context-protocol-18\" target=\"_blank\" rel=\"noopener\">What is a WordPress MCP and What Can It Do?<\/a><\/li>\n<li><a class=\"aioseo-toc-item\" href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-connect-ai-agents-with-wordpress-using-mcp\/#aioseo-what-you-need-before-getting-started-35\" target=\"_blank\" rel=\"noopener\">What You Need Before Getting Started<\/a><\/li>\n<li><a class=\"aioseo-toc-item\" href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-connect-ai-agents-with-wordpress-using-mcp\/#aioseo-step-1-set-up-mcp-on-your-wordpress-website-48\" target=\"_blank\" rel=\"noopener\">Step 1. Set Up MCP on Your WordPress Website<\/a>\n<ul><\/ul>\n<\/li>\n<li><a class=\"aioseo-toc-item\" href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-connect-ai-agents-with-wordpress-using-mcp\/#aioseo-step-2-connect-your-ai-tools-to-wordpress-70\" target=\"_blank\" rel=\"noopener\">Step 2. Connect Your AI Tools to WordPress<\/a>\n<ul><\/ul>\n<\/li>\n<li><a class=\"aioseo-toc-item\" href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-connect-ai-agents-with-wordpress-using-mcp\/#aioseo-3-things-you-can-do-right-away-worked-examples-95\" target=\"_blank\" rel=\"noopener\">What You Can Do Once You&#8217;re Connected (Worked Examples)<\/a>\n<ul><\/ul>\n<\/li>\n<li><a class=\"aioseo-toc-item\" href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-connect-ai-agents-with-wordpress-using-mcp\/#aioseo-is-wordpress-mcp-safe-132\" target=\"_blank\" rel=\"noopener\">Is WordPress MCP Safe?<\/a><\/li>\n<li><a class=\"aioseo-toc-item\" href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-connect-ai-agents-with-wordpress-using-mcp\/#aioseo-troubleshooting-connection-issues-141\" target=\"_blank\" rel=\"noopener\">Troubleshooting Connection Issues<\/a><\/li>\n<li><a class=\"aioseo-toc-item\" href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-connect-ai-agents-with-wordpress-using-mcp\/#aioseo-frequently-asked-questions-139\" target=\"_blank\" rel=\"noopener\">Frequently Asked Questions About WordPress MCP<\/a><\/li>\n<\/ul>\n<\/div>\n<h4 class=\"wp-block-heading\">What is a WordPress MCP and What Can It Do?<\/h4>\n<p class=\"wp-block-paragraph\">MCP stands for Model Context Protocol. It is as an open standard that lets AI assistants connect to outside tools and services.<\/p>\n<p class=\"wp-block-paragraph\">Think of it as a universal adapter. Instead of every AI tool building a custom integration with every service, they all speak the same language, so any tool and service that support MCP can work together.<\/p>\n<p class=\"wp-block-paragraph\">With a WordPress MCP, your AI assistant can see what your website supports and carry out tasks from a plain-text prompt. It does this using a connection WordPress already has built in (the REST API), so there\u2019s nothing extra to install.<\/p>\n<p class=\"wp-block-paragraph\">You can use WordPress MCP to manage your WordPress site and perform tasks including:<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>Draft and publish posts<\/strong> \u2013 Create blog posts as drafts, set titles, add categories and tags, and publish when you\u2019re ready.<\/li>\n<li><strong>Upload media<\/strong> \u2013 Pull images from any public URL directly into your WordPress media library.<\/li>\n<li><strong>Manage categories and tags<\/strong> \u2013 Create or rename taxonomy terms and assign them to posts.<\/li>\n<li><strong>Run admin tasks<\/strong> \u2013 Flush your site cache, check which plugins are active, and activate or deactivate plugins.<\/li>\n<li><strong>Use plugin abilities<\/strong> \u2013 On WordPress 6.9+, many plugins register their own actions the AI can discover and run automatically<\/li>\n<\/ul>\n<p class=\"wp-block-paragraph\">Each of these can be done from a plain-text prompt from your favorite AI tool like Claude Code, Cursor, ChatGPT, etc. I\u2019ll show you the exact prompts once you\u2019re fully set up.<\/p>\n<h4 class=\"wp-block-heading\">What You Need Before Getting Started<\/h4>\n<ul class=\"wp-block-list\">\n<li><strong>Self-hosted WordPress 6.9 or later<\/strong> \u2013 With the REST API enabled (it\u2019s on by default). You need version 6.9 or later for plugin abilities API which is allows you to use AI to manage plugins like AIOSEO, WPForms, etc.<\/li>\n<li><strong>A publicly accessible site<\/strong> \u2013 Your site must be reachable on the internet because local development sites won\u2019t work unless exposed via a tunnel.<\/li>\n<li><strong>A free WPVibe account<\/strong> \u2014 You\u2019ll create this during setup.<\/li>\n<li><strong>An HTTPS-enabled site<\/strong> \u2014 WordPress application passwords require SSL and they won\u2019t function on <code>http:\/\/<\/code> sites. See our guide on <a href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-add-ssl-and-https-in-wordpress\/\" title=\"How to Add SSL and HTTPS in WordPress\" target=\"_blank\" rel=\"noopener\">how to add SSL and HTTPS to WordPress<\/a>.<\/li>\n<\/ul>\n<h4 class=\"wp-block-heading\">Step 1. Set Up MCP on Your WordPress Website<\/h4>\n<p class=\"wp-block-paragraph\">The easiest way to add MCP to a self-hosted WordPress site is with <a href=\"https:\/\/wpvibe.ai\/\" target=\"_blank\" rel=\"noopener\" title=\"WPVibe - Your AI Just Learned WordPress\">WPVibe.ai<\/a>. It\u2019s free and runs on a hosted server, so there\u2019s no infrastructure to configure. It also works with every major AI tool through a single setup.<\/p>\n<p class=\"wp-block-paragraph\">You can read our full <a href=\"https:\/\/www.wpbeginner.com\/solutions\/wpvibe\/\" title=\"WPVibe Review\" target=\"_blank\" rel=\"noopener\">WPVibe review<\/a> for a deeper look at everything it can do, but this guide covers what you need to get connected.<\/p>\n<p class=\"wp-block-paragraph\"><strong>Other ways to set this up:<\/strong> There\u2019s also an official WordPress MCP Adapter, which pairs with the new Abilities API in WordPress 6.9, but it\u2019s built for developers and needs manual configuration.<\/p>\n<h5 class=\"wp-block-heading\">Install and Activate the Vibe AI Plugin<\/h5>\n<p class=\"wp-block-paragraph\">First, you will need to install and activate the <a href=\"https:\/\/wordpress.org\/plugins\/vibe-ai\/\" target=\"_blank\" rel=\"noopener\" title=\"WPVibe free plugin\">free WPVibe plugin<\/a>. If you need any help, our guide on <a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners\/\" title=\"How to Install a WordPress Plugin\" target=\"_blank\" rel=\"noopener\">how to install a WordPress plugin<\/a> covers each step.<\/p>\n<p class=\"wp-block-paragraph\">Along with connecting your AI tools, the WPVibe plugin unlocks WP-CLI commands, theme file editing, and the plugin abilities that I talk about later in this guide.<\/p>\n<p class=\"wp-block-paragraph\">Once activated, go to <strong>Vibe AI \u00bb Vibe AI<\/strong> in your WordPress dashboard. You\u2019ll see the MCP server URL and a three-step setup guide. <\/p>\n<p class=\"wp-block-paragraph\">Keep this tab open. You\u2019ll need the URL in the next step.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"680\" height=\"383\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2026\/06\/wpvibe-setup-2.jpg\" alt=\"The Vibe AI plugin admin page in wp-admin showing the three-step connection setup\" class=\"wp-image-407711\"><\/figure>\n<h4 class=\"wp-block-heading\">Step 2. Connect Your AI Tools to WordPress<\/h4>\n<p class=\"wp-block-paragraph\">With WPVibe set up, connecting your AI tool takes under a minute. You add the same server URL to any AI client you use: <code>https:\/\/mcp.wpvibe.ai\/mcp<\/code>.<\/p>\n<p class=\"wp-block-paragraph\">You\u2019ll find instructions on how to do this in <a href=\"https:\/\/wpvibe.ai\/docs\/ai-client-setup\/\" target=\"_blank\" rel=\"noopener\" title=\"WPVibe Documentation: AI Client Setup\">the official WPVibe documentation<\/a>. But let me show you exactly where to find that setting in some popular AI platforms.<\/p>\n<h5 class=\"wp-block-heading\">Connecting Claude<\/h5>\n<p class=\"wp-block-paragraph\">If you\u2019re just getting started, I recommend beginning with Claude. <\/p>\n<p class=\"wp-block-paragraph\">The simplest method is to add the WPVibe URL once via Claude.ai on the web, and it syncs automatically to Claude Desktop, Claude Code, and the Claude mobile apps with no separate setup needed.<\/p>\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> On Team and Enterprise workspaces, only an Owner or Admin can add connectors. Individual members on those plans can authenticate with WPVibe once the admin has added it, or use the Claude Code method in step 3 below.<\/p>\n<ol class=\"wp-block-list\">\n<li><strong>Free, Pro, and Max plans:<\/strong> In Claude.ai, go to <strong>Customize \u00bb Connectors<\/strong>. Click the + button, select \u2018Add custom connector\u2019, and paste <code>https:\/\/mcp.wpvibe.ai\/mcp<\/code>.<\/li>\n<li><strong>Team and Enterprise (admin only):<\/strong> Go to <strong>Organization settings \u00bb Connectors<\/strong>. Click \u2018Add\u2019, select <strong>Custom \u00bb Web<\/strong>, and paste the WPVibe URL.<\/li>\n<li><strong>Claude Code (any plan):<\/strong> In your terminal, run <code>claude mcp add --scope user wpvibe --transport http https:\/\/mcp.wpvibe.ai\/mcp<\/code>. Then, open Claude Code, type <code>\/mcp<\/code>, select wpvibe, and choose \u2018Authenticate\u2019.<\/li>\n<\/ol>\n<p class=\"wp-block-paragraph\">Once saved, follow the on-screen prompt to authorize your WordPress site.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"680\" height=\"383\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2026\/06\/wpvibe-connect-claudeai-web.png\" alt=\"Connecting Claude.ai (Web) to WPVibe\" class=\"wp-image-408004\"><\/figure>\n<h5 class=\"wp-block-heading\">Connecting ChatGPT<\/h5>\n<p class=\"wp-block-paragraph\">WPVibe is available directly in the ChatGPT App Marketplace, so both free and paid users can connect without copying server URLs or editing config files.<\/p>\n<p class=\"wp-block-paragraph\">In ChatGPT, click \u2018Apps\u2019 in the sidebar and search for WPVibe. Then click \u2018Connect\u2019 on the app page and sign in with your WPVibe account when prompted.<\/p>\n<p class=\"wp-block-paragraph\">After connecting, ChatGPT pre-fills \u2018@WPVibe\u2019 at the start of each message. You can delete it with backspace for prompts unrelated to WordPress. Leave it in place when following the authorization step below.<\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"313\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2026\/07\/wpvibe-connect-chatgpt.jpg\" alt=\"Connecting ChatGPT to WPVibe\" class=\"wp-image-408725\"><\/figure>\n<h5 class=\"wp-block-heading\">Connecting Cursor<\/h5>\n<p class=\"wp-block-paragraph\">Cursor adds MCP servers through a JSON config file. In Cursor, go to <strong>Settings \u00bb MCP<\/strong> and click the \u2018Add new global MCP server\u2019 button. This opens the <code>mcp.json<\/code> file.<\/p>\n<p class=\"wp-block-paragraph\">Add the following entry and save:<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \">\n<pre class=\"brush: jscript; title: ; notranslate\">\n{\n  \"mcpServers\": {\n    \"wpvibe\": {\n      \"url\": \"https:\/\/mcp.wpvibe.ai\/mcp\"\n    }\n  }\n}\n<\/pre>\n<div class=\"wpcode-syntax-footer\">\n<div class=\"wpcode-syntax-code-footer-left\">Hosted with \u2764\ufe0f by <strong><a href=\"https:\/\/wpcode.com\/\" target=\"_blank\" rel=\"noopener\">WPCode<\/a><\/strong><\/div>\n<div class=\"wpcode-syntax-code-footer-right\">\n<p>\t\t\t<a href=\"https:\/\/library.wpcode.com\/use-snippet\/\" target=\"_blank\" rel=\"noopener\">1-click Use in WordPress<\/a>\n\t\t<\/div>\n<\/p><\/div>\n<\/div>\n<p class=\"wp-block-paragraph\">Make sure you restart Cursor after saving. <\/p>\n<p class=\"wp-block-paragraph\">WPVibe will appear in the MCP list once it connects.<\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"268\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2026\/07\/wpvibe-connect-cursor.jpg\" alt=\"Cursor Settings showing the MCP panel with an option to add a new global MCP server\" class=\"wp-image-408727\"><\/figure>\n<h5 class=\"wp-block-heading\">Connecting Windsurf<\/h5>\n<p class=\"wp-block-paragraph\">In Windsurf, open the Cascade panel and click the \u2018Plugins\u2019 icon (puzzle piece). Search for WPVibe, click \u2018Enable\u2019, and complete the sign-in flow when prompted.<\/p>\n<p class=\"wp-block-paragraph\">To configure manually instead, edit <code>~\/.codeium\/windsurf\/mcp_config.json<\/code> and add the following, then restart Windsurf:<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \">\n<pre class=\"brush: jscript; title: ; notranslate\">\n{\n  \"mcpServers\": {\n    \"wpvibe\": {\n      \"serverUrl\": \"https:\/\/mcp.wpvibe.ai\/mcp\"\n    }\n  }\n}\n<\/pre>\n<div class=\"wpcode-syntax-footer\">\n<div class=\"wpcode-syntax-code-footer-left\">Hosted with \u2764\ufe0f by <strong><a href=\"https:\/\/wpcode.com\/\" target=\"_blank\" rel=\"noopener\">WPCode<\/a><\/strong><\/div>\n<div class=\"wpcode-syntax-code-footer-right\">\n<p>\t\t\t<a href=\"https:\/\/library.wpcode.com\/use-snippet\/\" target=\"_blank\" rel=\"noopener\">1-click Use in WordPress<\/a>\n\t\t<\/div>\n<\/p><\/div>\n<\/div>\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> Windsurf uses <code>serverUrl<\/code> (not <code>url<\/code>) in its config file. Using the wrong key will cause the connection to fail.<\/p>\n<h5 class=\"wp-block-heading\">Authorize Your WordPress Site<\/h5>\n<p class=\"wp-block-paragraph\">With the MCP URL added to your AI client, go back to <strong>Vibe AI \u00bb Vibe AI<\/strong> in your WordPress dashboard. <\/p>\n<p class=\"wp-block-paragraph\">Under step 3, you\u2019ll find a ready-to-copy prompt with your site\u2019s URL already filled in.<\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"383\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2026\/07\/wpvibe-setup-3.jpg\" alt=\"The WPVibe Setup Page\" class=\"wp-image-409062\"><\/figure>\n<p class=\"wp-block-paragraph\">Paste that prompt into your AI chat. Your AI assistant will call WPVibe and return a one-click authorization link. Simply click it to approve the connection.<\/p>\n<p class=\"wp-block-paragraph\">You never see or copy a password. WordPress and WPVibe handle the credentials securely in the background.<\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"383\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2026\/07\/wpvibe-setup-3-connected-and-ready.jpg\" alt=\"WPVibe site showing connected status in the Vibe AI plugin admin after authorization\" class=\"wp-image-409026\"><\/figure>\n<h4 class=\"wp-block-heading\">What You Can Do Once You\u2019re Connected (Worked Examples)<\/h4>\n<p class=\"wp-block-paragraph\">Once your AI tool is connected to WordPress, here are the first prompts I tried, including one for <a href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/woocommerce-tutorial-ultimate-guide\/\" title=\"WooCommerce store owners\" target=\"_blank\" rel=\"noopener\">WooCommerce store owners<\/a>.<\/p>\n<p class=\"wp-block-paragraph\">My examples are from Claude Code terminal, but these will work with whichever AI tool you connected. <\/p>\n<h5 class=\"wp-block-heading\">1. Write and Draft a Blog Post<\/h5>\n<p class=\"wp-block-paragraph\">Type this into your AI tool: <em>\u2018Create a draft WordPress post titled \u201cHow to Start a Blog\u201d with an intro paragraph explaining why blogging is still worth it.\u2019<\/em><\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"345\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2026\/07\/wpvibe-example-draft-post.png\" alt=\"AI Prompt for Drafting a New Post\" class=\"wp-image-409030\"><\/figure>\n<p class=\"wp-block-paragraph\">Your AI assistant calls the WordPress REST API, saves the post as a draft, and returns a confirmation with a link to edit it in wp-admin.<\/p>\n<p class=\"wp-block-paragraph\">Nothing goes live until you choose to publish it yourself.<\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"369\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2026\/07\/wpvibe-preview-new-draft-post.png\" alt=\"A Draft Post Created Using AI\" class=\"wp-image-409031\"><\/figure>\n<h5 class=\"wp-block-heading\">2. Upload a Photo to Your Media Library<\/h5>\n<p class=\"wp-block-paragraph\">Type: <em>\u2018Upload this image to my WordPress media library: [paste a public image URL]. Set the alt text to \u201cA person working at a laptop\u201d.\u2019<\/em><\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"169\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2026\/07\/wpvibe-example-upload-image.png\" alt=\"AI Prompt for Adding a Public Image to Your WordPress Media Library\" class=\"wp-image-409033\"><\/figure>\n<p class=\"wp-block-paragraph\">WPVibe validates the source URL, downloads the image, and adds it to your media library with the alt text you specified.<\/p>\n<p class=\"wp-block-paragraph\">You can reference it in any post from there.<\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"346\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2026\/07\/wpvibe-preview-uploaded-image.png\" alt=\"WordPress media library showing a newly uploaded image via MCP\" class=\"wp-image-409034\"><\/figure>\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> The prompt above uses a public URL, which is the simplest approach. Uploading a local file from your computer works too, but WPVibe will generate a browser upload link as an intermediate step.<\/p>\n<h5 class=\"wp-block-heading\">3. Manage Your WooCommerce Store<\/h5>\n<p class=\"wp-block-paragraph\">WooCommerce 10.9 ships with native MCP support, which exposes product and order abilities through the same standard that WPVibe uses.<\/p>\n<p class=\"wp-block-paragraph\">If your site runs WooCommerce, try: <em>\u2018Draft a new product called \u201cSummer T-Shirt\u201d with a short description and a price of $29.95.\u2019<\/em><\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"269\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2026\/07\/wpvibe-example-new-product.png\" alt=\"AI Prompt for Creating a New WooCommerce Product\" class=\"wp-image-409036\"><\/figure>\n<p class=\"wp-block-paragraph\">The product saves as a draft in your store. Beyond creating products, your AI can also query orders, update their status, and add order notes, so you can handle routine store admin from the same chat window.<\/p>\n<p class=\"wp-block-paragraph\">You can see the example below. <\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"324\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2026\/07\/wpvibe-preview-new-product.png\" alt=\"A New Product Created by AI and WPVibe\" class=\"wp-image-409037\"><\/figure>\n<p class=\"wp-block-paragraph\">The next three examples go beyond WordPress\u2019s built-in actions. On <a href=\"https:\/\/www.wpbeginner.com\/news\/whats-new-in-wordpress-6-9\/\" title=\"What&#039;s New in WordPress 6.9? (Features &amp; Screenshots)\" target=\"_blank\" rel=\"noopener\">WordPress 6.9<\/a> or later, plugins can register their own actions (called \u2018abilities\u2019) that your AI discovers automatically, so if you use these tools, you can drive them from the same chat.<\/p>\n<h5 class=\"wp-block-heading\">4. Optimize Your SEO with AI<\/h5>\n<p class=\"wp-block-paragraph\">If you use <a href=\"https:\/\/wordpress.org\/plugins\/all-in-one-seo-pack\" target=\"_blank\" title=\"Free version of All in One SEO Plugin\" rel=\"noopener\">AIOSEO<\/a>, then you can ask your AI to handle common SEO tasks from the chat window. It can check TruSEO scores, generate meta titles and descriptions, and run SEO audits.<\/p>\n<p class=\"wp-block-paragraph\">My starting point was to ask it to find every post missing a meta description and write one for each.<\/p>\n<p class=\"wp-block-paragraph\">Try this prompt: <em>\u2018Find all posts missing meta descriptions and write and apply them in one go.\u2019<\/em><\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"347\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2026\/07\/wpvibe-example-add-metadescriptions-using-aioseo.png\" alt=\"Claude Code chat showing prompt to find and apply missing AIOSEO meta descriptions\" class=\"wp-image-409038\"><\/figure>\n<p class=\"wp-block-paragraph\">Your AI checks every post, writes the missing meta descriptions, and applies them through AIOSEO in one step.<\/p>\n<p class=\"wp-block-paragraph\">See our <a href=\"https:\/\/www.wpbeginner.com\/plugins\/users-guide-for-all-in-one-seo-pack\/\" title=\"How to Set Up All in One SEO\" target=\"_blank\" rel=\"noopener\">complete AIOSEO setup guide<\/a> to get it configured first.<\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"217\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2026\/07\/wpvibe-preview-add-metadescription-using-aioseo.png\" alt=\"AIOSEO meta description field in WordPress showing an AI-generated meta description\" class=\"wp-image-409039\"><\/figure>\n<h5 class=\"wp-block-heading\">5. Manage Landing Pages and Maintenance Mode<\/h5>\n<p class=\"wp-block-paragraph\">If you use <a href=\"https:\/\/wordpress.org\/plugins\/coming-soon\" target=\"_blank\" title=\"Free version of SeedProd WordPress Page Builder plugin\" rel=\"noopener\">SeedProd<\/a>, then your AI can manage your coming soon page, maintenance mode, and landing page settings without going into wp-admin.<\/p>\n<p class=\"wp-block-paragraph\">For example: <em>\u2018Check if maintenance mode is currently active\u2019<\/em> or <em>\u2018Enable the coming soon page.\u2019<\/em><\/p>\n<h5 class=\"wp-block-heading\">6. Build a Form with AI<\/h5>\n<p class=\"wp-block-paragraph\">If you use <a href=\"https:\/\/wordpress.org\/plugins\/wpforms-lite\" target=\"_blank\" title=\"Free version of WPForms Contact Form builder plugin\" rel=\"noopener\">WPForms<\/a>, then your AI can build forms from a plain-English description.<\/p>\n<p class=\"wp-block-paragraph\">Try: <em>\u2018Create a contact form with name, email, and a message field.\u2019<\/em> WPForms creates the form in your dashboard, ready to configure and embed.<\/p>\n<p class=\"wp-block-paragraph\">Before using this, make sure you enable write access under <strong>WPForms \u00bb Tools<\/strong>.<\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"305\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2026\/07\/wpforms-enable-write-access.png\" alt=\"Enabling MCP Write Access for WPForms\" class=\"wp-image-409064\"><\/figure>\n<p class=\"wp-block-paragraph\">WPForms Lite supports basic field types. Paid plans add phone, date\/time, file upload, and more.<\/p>\n<h5 class=\"wp-block-heading\">See What Your Site Can Do<\/h5>\n<p class=\"wp-block-paragraph\">You don\u2019t have to guess which of your plugins support this. Because WPVibe automatically discovers every registered ability, you can just ask your connected AI: <em>\u2018What can you do on my WordPress site?\u2019<\/em><\/p>\n<p class=\"wp-block-paragraph\">It will list the abilities your installed plugins expose, so the answer stays accurate no matter which plugins you run.<\/p>\n<h4 class=\"wp-block-heading\">Is WordPress MCP Safe?<\/h4>\n<p class=\"wp-block-paragraph\">I had the same concern when I first tested this. Here\u2019s how WPVibe handles security.<\/p>\n<p class=\"wp-block-paragraph\">WordPress manages the connection using application passwords, a built-in feature that creates a separate password for each external tool you connect. The AI only gets the permissions of <a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/wordpress-user-roles-and-permissions\/\" title=\"Beginner&#039;s Guide to WordPress User Roles and Permissions\" target=\"_blank\" rel=\"noopener\">the user account you connected<\/a>.<\/p>\n<p class=\"wp-block-paragraph\">So, it\u2019s worth connecting with a limited, non-admin account rather than your main administrator login. If you create a dedicated Editor-role user for the connection, then the AI can only do what an Editor can do.<\/p>\n<p class=\"wp-block-paragraph\">WPVibe encrypts your application password before storing it, using a separate key for each site, and keeps it on secure servers hosted by Cloudflare. Every connection between your AI client, WPVibe, and your WordPress site is encrypted too, so your credentials are never exposed along the way.<\/p>\n<p class=\"wp-block-paragraph\">WPVibe also doesn\u2019t store your conversation content. It stays within your AI client.<\/p>\n<p class=\"wp-block-paragraph\">On the WordPress side, new posts always save as drafts and deletions go to the trash rather than permanent deletion.<\/p>\n<p class=\"wp-block-paragraph\">To fully revoke access at any time, go to <strong>Users \u00bb Profile<\/strong> in your WordPress dashboard and scroll down to the Application Passwords section to delete it.<\/p>\n<h4 class=\"wp-block-heading\">Troubleshooting Connection Issues<\/h4>\n<p class=\"wp-block-paragraph\">Connecting your AI client to WordPress is the step that trips people up most often. <\/p>\n<p class=\"wp-block-paragraph\">If the connection fails or WPVibe doesn\u2019t appear, then work through these checks:<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>WPVibe isn\u2019t in your client\u2019s tool or MCP list<\/strong> \u2013 Restart the AI client after saving the config. New MCP servers only load on a fresh start.<\/li>\n<li><strong>The connection fails silently in Windsurf<\/strong> \u2013 Windsurf uses the <code>serverUrl<\/code> key, not <code>url<\/code>. The wrong key produces no error message, so double-check it.<\/li>\n<li><strong>Application passwords won\u2019t authenticate<\/strong> \u2013 Your site must <a href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-add-ssl-and-https-in-wordpress\/\" title=\"How to Properly Move WordPress from HTTP to HTTPS (Beginner\u2019s Guide)\" target=\"_blank\" rel=\"noopener\">run on HTTPS<\/a>. Application passwords don\u2019t work over <code>http:\/\/<\/code>.<\/li>\n<li><strong>Your AI client can\u2019t reach the site<\/strong> \u2013 The site has to be publicly reachable. A local development site won\u2019t connect unless you expose it through a tunnel.<\/li>\n<li><strong>Authorization keeps failing<\/strong> \u2013 Re-check that you pasted the correct MCP server URL: <code>https:\/\/mcp.wpvibe.ai\/mcp<\/code>.<\/li>\n<\/ul>\n<h4 class=\"wp-block-heading\">Frequently Asked Questions About WordPress MCP<\/h4>\n<p class=\"wp-block-paragraph\"><strong>Is WPVibe free?<\/strong><\/p>\n<p class=\"wp-block-paragraph\">Yes. <a href=\"https:\/\/wpvibe.ai\/\" target=\"_blank\" title=\"WPVibe - Easily Connect AI Assistants With WordPress\" rel=\"noopener\">WPVibe<\/a> has no API key costs and everything in this guide works on the free plan. There is now a paid Pro plan (early-access pricing, $99 per year) that adds higher daily usage limits and priority support, not new features, so you don\u2019t need it for anything covered here.<\/p>\n<p class=\"wp-block-paragraph\"><strong>Does WordPress MCP work with all AI tools?<\/strong><\/p>\n<p class=\"wp-block-paragraph\">WPVibe works with Claude.ai (web), Claude Desktop, Claude Code, ChatGPT, Cursor, and Windsurf. Because MCP is an open protocol, any new AI tool that adopts the standard will work with the same WPVibe setup automatically.<\/p>\n<p class=\"wp-block-paragraph\"><strong>Does WordPress MCP work with WordPress.com?<\/strong><\/p>\n<p class=\"wp-block-paragraph\">No, not through WPVibe. WordPress.com has its own built-in MCP setup that works differently. This guide covers self-hosted WordPress (WordPress.org) only.<\/p>\n<p class=\"wp-block-paragraph\"><strong>Do I need WordPress 6.9 to use MCP?<\/strong><\/p>\n<p class=\"wp-block-paragraph\">No. You can create posts, upload media, and run admin tasks on WordPress 6.0 or later. WordPress 6.9 is only required if you want to use plugin abilities like those from All in One SEO or SeedProd.<\/p>\n<p class=\"wp-block-paragraph\"><strong>Can I connect more than one WordPress site to WPVibe?<\/strong><\/p>\n<p class=\"wp-block-paragraph\">Yes. WPVibe supports multiple sites under one free account. Install the Vibe AI plugin on each additional site and complete the site authorization step. Your existing WPVibe account covers all your sites.<\/p>\n<p class=\"wp-block-paragraph\"><strong>What happens if I disconnect WPVibe from my site?<\/strong><\/p>\n<p class=\"wp-block-paragraph\">You can remove a site from WPVibe in the plugin admin or on wpvibe.ai at any time. To fully revoke access, also delete the credential under <strong>Users \u00bb Profile \u00bb Application Passwords<\/strong>.<\/p>\n<p class=\"wp-block-paragraph\">I hope this article helped you get WordPress MCP set up on your site. You may also want to see our guide on the <a href=\"https:\/\/www.wpbeginner.com\/showcase\/best-ai-automation-tools-for-wordpress\/\" title=\"I tested 9 best AI automation tools for WordPress (my honest reviews)\" target=\"_blank\" rel=\"noopener\">best AI Automation Tools for WordPress<\/a>.<\/p>\n<p class=\"wp-block-paragraph\">If you liked this article, then please subscribe to our\u00a0<a href=\"https:\/\/youtube.com\/wpbeginner?sub_confirmation=1\" target=\"_blank\" rel=\"noreferrer noopener nofollow\" title=\"Subscribe to WPBeginner YouTube Channel\">YouTube Channel<\/a>\u00a0for WordPress video tutorials. You can also find us on\u00a0<a href=\"https:\/\/twitter.com\/wpbeginner\" target=\"_blank\" rel=\"noreferrer noopener nofollow\" title=\"Follow WPBeginner on Twitter\">Twitter<\/a>\u00a0and <a href=\"https:\/\/facebook.com\/wpbeginner\" target=\"_blank\" rel=\"noreferrer noopener nofollow\" title=\"Join WPBeginner Community on Facebook\">Facebook<\/a>.<\/p>\n<p>The post <a href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-connect-ai-agents-with-wordpress-using-mcp\/\" target=\"_blank\" rel=\"noopener\">How to Connect AI Agents With WordPress using MCP (Step by Step)<\/a> first appeared on <a href=\"https:\/\/www.wpbeginner.com\/\" target=\"_blank\" rel=\"noopener\">WPBeginner<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>AI assistants like Claude Code, Cowork, and ChatGPT are incredible productivity boosters, and if you wished that you could connect these AI tools with WordPress directly, then you\u2019re not alone. Lately, I have been using WordPress MCP by WPVibe to let my AI assistant manage my website, and it\u2019s truly amazing how much time this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":11291,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11290","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"blog_post_layout_featured_media_urls":{"thumbnail":["https:\/\/4ksamachar.com\/wp-content\/uploads\/2026\/07\/how-to-connect-ai-ag-featured-XNjql2-150x150.jpg",150,150,true],"full":["https:\/\/4ksamachar.com\/wp-content\/uploads\/2026\/07\/how-to-connect-ai-ag-featured-XNjql2.jpg",680,385,false]},"categories_names":{"1":{"name":"Uncategorized","link":"https:\/\/4ksamachar.com\/?cat=1"}},"tags_names":[],"comments_number":"0","wpmagazine_modules_lite_featured_media_urls":{"thumbnail":["https:\/\/4ksamachar.com\/wp-content\/uploads\/2026\/07\/how-to-connect-ai-ag-featured-XNjql2-150x150.jpg",150,150,true],"cvmm-medium":["https:\/\/4ksamachar.com\/wp-content\/uploads\/2026\/07\/how-to-connect-ai-ag-featured-XNjql2-300x300.jpg",300,300,true],"cvmm-medium-plus":["https:\/\/4ksamachar.com\/wp-content\/uploads\/2026\/07\/how-to-connect-ai-ag-featured-XNjql2-305x207.jpg",305,207,true],"cvmm-portrait":["https:\/\/4ksamachar.com\/wp-content\/uploads\/2026\/07\/how-to-connect-ai-ag-featured-XNjql2-400x385.jpg",400,385,true],"cvmm-medium-square":["https:\/\/4ksamachar.com\/wp-content\/uploads\/2026\/07\/how-to-connect-ai-ag-featured-XNjql2-600x385.jpg",600,385,true],"cvmm-large":["https:\/\/4ksamachar.com\/wp-content\/uploads\/2026\/07\/how-to-connect-ai-ag-featured-XNjql2.jpg",680,385,false],"cvmm-small":["https:\/\/4ksamachar.com\/wp-content\/uploads\/2026\/07\/how-to-connect-ai-ag-featured-XNjql2-130x95.jpg",130,95,true],"full":["https:\/\/4ksamachar.com\/wp-content\/uploads\/2026\/07\/how-to-connect-ai-ag-featured-XNjql2.jpg",680,385,false]},"_links":{"self":[{"href":"https:\/\/4ksamachar.com\/index.php?rest_route=\/wp\/v2\/posts\/11290","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/4ksamachar.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/4ksamachar.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/4ksamachar.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/4ksamachar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11290"}],"version-history":[{"count":0,"href":"https:\/\/4ksamachar.com\/index.php?rest_route=\/wp\/v2\/posts\/11290\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/4ksamachar.com\/index.php?rest_route=\/wp\/v2\/media\/11291"}],"wp:attachment":[{"href":"https:\/\/4ksamachar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/4ksamachar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/4ksamachar.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}