AI assistants like Claude Code, Cowork, and ChatGPT are unbelievable productiveness boosters, and if you happen to needed that you must attach those AI gear with WordPress at once, you then’re now not on my own.

In recent times, I’ve been the usage of WordPress MCP by means of WPVibe to let my AI assistant arrange my web site, and it’s in reality wonderful how a lot time this protects. You’ll merely ask it to create a submit, add symbol, care for admin duties, and extra from a unmarried conversational urged.

On this step-by-step educational, I’ll display you how you can attach your favourite AI gear with WordPress the usage of MCP at the side of sharing a couple of paintings examples, so you’ll be able to see what turns into conceivable whilst you mix WordPress + AI.

How to Connect AI Agents With WordPress Using MCP

You’ll use the short hyperlinks underneath to leap to any segment:

What’s a WordPress MCP and What Can It Do?

MCP stands for Style Context Protocol. It’s as an open same old that we could AI assistants hook up with outdoor gear and services and products.

Call to mind it as a common adapter. As an alternative of each AI software construction a customized integration with each provider, all of them discuss the similar language, so any software and repair that improve MCP can paintings in combination.

With a WordPress MCP, your AI assistant can see what your web site helps and perform duties from a plain-text urged. It does this the usage of a connection WordPress already has in-built (the REST API), so there’s not anything additional to put in.

You’ll use WordPress MCP to regulate your WordPress website online and carry out duties together with:

  • Draft and submit posts – Create weblog posts as drafts, set titles, upload classes and tags, and submit whilst you’re waiting.
  • Add media – Pull pictures from any public URL at once into your WordPress media library.
  • Organize classes and tags – Create or rename taxonomy phrases and assign them to posts.
  • Run admin duties – Flush your website online cache, test which plugins are lively, and turn on or deactivate plugins.
  • Use plugin talents – On WordPress 6.9+, many plugins sign up their very own movements the AI can uncover and run mechanically

Each and every of those will also be executed from a plain-text urged out of your favourite AI software like Claude Code, Cursor, ChatGPT, and many others. I’ll display you the precise activates while you’re totally arrange.

What You Want Earlier than Getting Began

  • Self-hosted WordPress 6.9 or later – With the REST API enabled (it’s on by means of default). You wish to have model 6.9 or later for plugin talents API which is permits you to use AI to regulate plugins like AIOSEO, WPForms, and many others.
  • A publicly available website online – Your website online should be reachable on the web as a result of native construction websites received’t paintings until uncovered by the use of a tunnel.
  • A unfastened WPVibe account — You’ll create this all the way through setup.
  • An HTTPS-enabled website online — WordPress utility passwords require SSL and so they received’t serve as on http:// websites. See our information on how you can upload SSL and HTTPS to WordPress.

Step 1. Set Up MCP on Your WordPress Web page

One of the simplest ways so as to add MCP to a self-hosted WordPress website online is with WPVibe.ai. It’s unfastened and runs on a hosted server, so there’s no infrastructure to configure. It additionally works with each primary AI software thru a unmarried setup.

You’ll learn our complete WPVibe overview for a deeper have a look at the entirety it could do, however this information covers what you want to get attached.

Alternative ways to set this up: There’s additionally an legit WordPress MCP Adapter, which pairs with the brand new Talents API in WordPress 6.9, however it’s constructed for builders and desires guide configuration.

Set up and Turn on the Vibe AI Plugin

First, it is very important set up and turn on the unfastened WPVibe plugin. If you want any assist, our information on how you can set up a WordPress plugin covers each and every step.

Together with connecting your AI gear, the WPVibe plugin unlocks WP-CLI instructions, theme document enhancing, and the plugin talents that I speak about later on this information.

As soon as activated, move to Vibe AI » Vibe AI on your WordPress dashboard. You’ll see the MCP server URL and a three-step setup information.

Stay this tab open. You’ll want the URL in your next step.

The Vibe AI plugin admin page in wp-admin showing the three-step connection setup

Step 2. Attach Your AI Gear to WordPress

With WPVibe arrange, connecting your AI software takes beneath a minute. You upload the similar server URL to any AI shopper you utilize: https://mcp.wpvibe.ai/mcp.

You’ll in finding directions on how to try this in the legit WPVibe documentation. However let me display you precisely the place to seek out that environment in some fashionable AI platforms.

Connecting Claude

If you happen to’re simply getting began, I like to recommend starting with Claude.

The most simple means is so as to add the WPVibe URL as soon as by the use of Claude.ai on the internet, and it syncs mechanically to Claude Desktop, Claude Code, and the Claude cell apps with out a separate setup wanted.

Observe: On Group and Endeavor workspaces, handiest an Proprietor or Admin can upload connectors. Particular person individuals on the ones plans can authenticate with WPVibe as soon as the admin has added it, or use the Claude Code means in step 3 underneath.

  1. Loose, Professional, and Max plans: In Claude.ai, move to Customise » Connectors. Click on the + button, choose ‘Upload customized connector’, and paste https://mcp.wpvibe.ai/mcp.
  2. Group and Endeavor (admin handiest): Move to Group settings » Connectors. Click on ‘Upload’, choose Customized » Internet, and paste the WPVibe URL.
  3. Claude Code (any plan): To your terminal, run claude mcp upload --scope person wpvibe --transport http https://mcp.wpvibe.ai/mcp. Then, open Claude Code, sort /mcp, choose wpvibe, and make a choice ‘Authenticate’.

As soon as stored, apply the on-screen urged to authorize your WordPress website online.

Connecting Claude.ai (Web) to WPVibe
Connecting ChatGPT

WPVibe is to be had at once within the ChatGPT App Market, so each unfastened and paid customers can attach with out copying server URLs or enhancing config information.

In ChatGPT, click on ‘Apps’ within the sidebar and seek for WPVibe. Then click on ‘Attach’ at the app web page and check in together with your WPVibe account when brought about.

After connecting, ChatGPT pre-fills ‘@WPVibe’ firstly of each and every message. You’ll delete it with backspace for activates unrelated to WordPress. Depart it in position when following the authorization step underneath.

Connecting ChatGPT to WPVibe
Connecting Cursor

Cursor provides MCP servers thru a JSON config document. In Cursor, move to Settings » MCP and click on the ‘Upload new international MCP server’ button. This opens the mcp.json document.

Upload the next access and save:

{
  "mcpServers": {
    "wpvibe": {
      "url": "https://mcp.wpvibe.ai/mcp"
    }
  }
}

Make sure to restart Cursor after saving.

WPVibe will seem within the MCP listing as soon as it connects.

Cursor Settings showing the MCP panel with an option to add a new global MCP server
Connecting Windsurf

In Windsurf, open the Cascade panel and click on the ‘Plugins’ icon (puzzle piece). Seek for WPVibe, click on ‘Permit’, and whole the sign-in float when brought about.

To configure manually as a substitute, edit ~/.codeium/windsurf/mcp_config.json and upload the next, then restart Windsurf:

{
  "mcpServers": {
    "wpvibe": {
      "serverUrl": "https://mcp.wpvibe.ai/mcp"
    }
  }
}

Observe: Windsurf makes use of serverUrl (now not url) in its config document. The usage of the incorrect key will purpose the relationship to fail.

Authorize Your WordPress Website online

With the MCP URL added for your AI shopper, return to Vibe AI » Vibe AI on your WordPress dashboard.

Below step 3, you’ll discover a ready-to-copy urged together with your website online’s URL already crammed in.

The WPVibe Setup Page

Paste that urged into your AI chat. Your AI assistant will name WPVibe and go back a one-click authorization hyperlink. Merely click on it to approve the relationship.

You by no means see or replica a password. WordPress and WPVibe care for the credentials securely within the background.

WPVibe site showing connected status in the Vibe AI plugin admin after authorization

What You Can Do As soon as You’re Hooked up (Labored Examples)

As soon as your AI software is hooked up to WordPress, listed below are the primary activates I attempted, together with one for WooCommerce retailer house owners.

My examples are from Claude Code terminal, however those will paintings with whichever AI software you attached.

1. Write and Draft a Weblog Publish

Kind this into your AI software: ‘Create a draft WordPress submit titled “The right way to Get started a Weblog” with an intro paragraph explaining why running a blog remains to be price it.’

AI Prompt for Drafting a New Post

Your AI assistant calls the WordPress REST API, saves the submit as a draft, and returns a affirmation with a hyperlink to edit it in wp-admin.

Not anything is going reside till you select to submit it your self.

A Draft Post Created Using AI
2. Add a Picture to Your Media Library

Kind: ‘Add this symbol to my WordPress media library: [paste a public image URL]. Set the alt textual content to “An individual running at a pc”.’

AI Prompt for Adding a Public Image to Your WordPress Media Library

WPVibe validates the supply URL, downloads the picture, and provides it for your media library with the alt textual content you specified.

You’ll reference it in any submit from there.

WordPress media library showing a newly uploaded image via MCP

Observe: The urged above makes use of a public URL, which is the most straightforward way. Importing an area document out of your pc works too, however WPVibe will generate a browser add hyperlink as an intermediate step.

3. Organize Your WooCommerce Retailer

WooCommerce 10.9 ships with local MCP improve, which exposes product and order talents thru the similar same old that WPVibe makes use of.

In case your website online runs WooCommerce, take a look at: ‘Draft a brand new product known as “Summer time T-Blouse” with a brief description and a value of $29.95.’

AI Prompt for Creating a New WooCommerce Product

The product saves as a draft on your retailer. Past growing merchandise, your AI too can question orders, replace their standing, and upload order notes, so you’ll be able to care for regimen retailer admin from the similar chat window.

You’ll see the instance underneath.

A New Product Created by AI and WPVibe

The following 3 examples transcend WordPress’s integrated movements. On WordPress 6.9 or later, plugins can sign up their very own movements (known as ‘talents’) that your AI discovers mechanically, so if you happen to use those gear, you’ll be able to power them from the similar chat.

4. Optimize Your search engine optimization with AI

If you happen to use AIOSEO, then you’ll be able to ask your AI to care for commonplace search engine optimization duties from the chat window. It might test TruSEO rankings, generate meta titles and outlines, and run search engine optimization audits.

My start line used to be to invite it to seek out each submit lacking a meta description and write one for each and every.

Do this urged: ‘To find all posts lacking meta descriptions and write and follow them in a single move.’

Claude Code chat showing prompt to find and apply missing AIOSEO meta descriptions

Your AI exams each submit, writes the lacking meta descriptions, and applies them thru AIOSEO in a single step.

See our whole AIOSEO setup information to get it configured first.

AIOSEO meta description field in WordPress showing an AI-generated meta description
5. Organize Touchdown Pages and Upkeep Mode

If you happen to use SeedProd, then your AI can arrange your coming quickly web page, upkeep mode, and touchdown web page settings with out going into wp-admin.

As an example: ‘Take a look at if upkeep mode is recently lively’ or ‘Permit the approaching quickly web page.’

6. Construct a Shape with AI

If you happen to use WPForms, then your AI can construct bureaucracy from a plain-English description.

Take a look at: ‘Create a touch shape with title, e mail, and a message box.’ WPForms creates the shape on your dashboard, waiting to configure and embed.

Earlier than the usage of this, be sure to permit write entry beneath WPForms » Gear.

Enabling MCP Write Access for WPForms

WPForms Lite helps elementary box sorts. Paid plans upload telephone, date/time, document add, and extra.

See What Your Website online Can Do

You don’t need to bet which of your plugins improve this. As a result of WPVibe mechanically discovers each registered skill, you’ll be able to simply ask your attached AI: ‘What are you able to do on my WordPress website online?’

It’s going to listing the talents your put in plugins reveal, so the solution remains correct regardless of which plugins you run.

Is WordPress MCP Secure?

I had the similar worry once I first examined this. Right here’s how WPVibe handles safety.

WordPress manages the relationship the usage of utility passwords, a integrated function that creates a separate password for each and every exterior software you attach. The AI handiest will get the permissions of the person account you attached.

So, it’s price connecting with a restricted, non-admin account moderately than your primary administrator login. If you happen to create a devoted Editor-role person for the relationship, then the AI can handiest do what an Editor can do.

WPVibe encrypts your utility password earlier than storing it, the usage of a separate key for each and every website online, and assists in keeping it on protected servers hosted by means of Cloudflare. Each and every connection between your AI shopper, WPVibe, and your WordPress website online is encrypted too, so your credentials are by no means uncovered alongside the best way.

WPVibe additionally doesn’t retailer your dialog content material. It remains inside of your AI shopper.

At the WordPress facet, new posts at all times save as drafts and deletions move to the trash moderately than everlasting deletion.

To totally revoke entry at any time, move to Customers » Profile on your WordPress dashboard and scroll all the way down to the Utility Passwords segment to delete it.

Troubleshooting Connection Problems

Connecting your AI shopper to WordPress is the step that journeys folks up maximum steadily.

If the relationship fails or WPVibe doesn’t seem, then paintings thru those exams:

  • WPVibe isn’t on your shopper’s software or MCP listing – Restart the AI shopper after saving the config. New MCP servers handiest load on a contemporary get started.
  • The relationship fails silently in Windsurf – Windsurf makes use of the serverUrl key, now not url. The incorrect key produces no error message, so double-check it.
  • Utility passwords received’t authenticate – Your website online should run on HTTPS. Utility passwords don’t paintings over http://.
  • Your AI shopper can’t achieve the website online – The website online must be publicly reachable. An area construction website online received’t attach until you reveal it thru a tunnel.
  • Authorization assists in keeping failing – Re-check that you simply pasted the right kind MCP server URL: https://mcp.wpvibe.ai/mcp.

Regularly Requested Questions About WordPress MCP

Is WPVibe unfastened?

Sure. WPVibe has no API key prices and the entirety on this information works at the unfastened plan. There may be now a paid Professional plan (early-access pricing, $99 in keeping with yr) that provides upper day-to-day utilization limits and precedence improve, now not new options, so that you don’t want it for anything else coated right here.

Does WordPress MCP paintings with all AI gear?

WPVibe works with Claude.ai (internet), Claude Desktop, Claude Code, ChatGPT, Cursor, and Windsurf. As a result of MCP is an open protocol, any new AI software that adopts the usual will paintings with the similar WPVibe setup mechanically.

Does WordPress MCP paintings with WordPress.com?

No, now not thru WPVibe. WordPress.com has its personal integrated MCP setup that works otherwise. This information covers self-hosted WordPress (WordPress.org) handiest.

Do I want WordPress 6.9 to make use of MCP?

No. You’ll create posts, add media, and run admin duties on WordPress 6.0 or later. WordPress 6.9 is handiest required if you wish to use plugin talents like the ones from All in One search engine optimization or SeedProd.

Can I attach multiple WordPress website online to WPVibe?

Sure. WPVibe helps more than one websites beneath one unfastened account. Set up the Vibe AI plugin on each and every further website online and whole the website online authorization step. Your present WPVibe account covers your entire websites.

What occurs if I disconnect WPVibe from my website online?

You’ll take away a website online from WPVibe within the plugin admin or on wpvibe.ai at any time. To totally revoke entry, additionally delete the credential beneath Customers » Profile » Utility Passwords.

I’m hoping this newsletter helped you get WordPress MCP arrange to your website online. You might also wish to see our information at the best possible AI Automation Gear for WordPress.

If you happen to preferred this newsletter, then please subscribe to our YouTube Channel for WordPress video tutorials. You’ll additionally in finding us on Twitter and Fb.

The submit The right way to Attach AI Brokers With WordPress the usage of MCP (Step by means of Step) first gave the impression on WPBeginner.

WordPress Maintenance

[ continue ]