Skip to main content

WordPress MCP

In one line: Connect WordPress so your UnleashX agent can create and update posts, manage categories and users, set featured images, and even generate AI cover art.
CategoryCMS
AuthenticationApplication Password
Setup time~6 minutes
DifficultyMedium
Best forContent teams and site owners who want to draft, publish, and organize WordPress content hands-free

1. Overview

WordPress is the world’s most popular content management system, used to run blogs, marketing sites, and online publications. Content is organized into posts, grouped by categories, and managed by users with different roles. Once connected, your UnleashX agent can create and edit posts, search existing content, manage categories and users, attach featured images, and generate AI cover images — all through the WordPress REST API. That lets you turn an idea or briefing into a published (or drafted) post without logging into wp-admin. Connecting WordPress to UnleashX is useful for content marketers and site managers who want to speed up publishing, keep categories tidy, and handle routine site administration through conversation.

2. What you’ll need

  • A self-hosted WordPress site (or one where you control the REST API) reachable over HTTPS.
  • Your site’s base URL (e.g. https://yourblog.com).
  • A WordPress user account with a role that can do what you need (Author/Editor to post; Administrator to manage users).
  • An Application Password for that account.
Application Passwords require WordPress 5.6+ and an HTTPS site. If you don’t see the option, an administrator may have disabled it, or your hosting may need it enabled. Managing other users requires an Administrator account.

3. Get your credentials

WordPress uses an Application Password with the REST API over Basic auth.
1

Open your WordPress profile

Sign in to your site’s admin (https://yoursite.com/wp-admin). In the left sidebar, go to Users, then open Profile (your own account).WordPress Users menu
2

Scroll to Application Passwords

On the profile page, scroll past Account Management to the Application Passwords section.WordPress Application Passwords section
3

Name the password

In the New Application Password Name field, type a name you’ll recognize — for example, UnleashX.
4

Add the Application Password

Click Add Application Password. WordPress generates a password that looks like xxxx xxxx xxxx xxxx xxxx xxxx.
The Application Password is shown only once. Copy it now — if you lose it, revoke it and create a new one. You can paste it with or without the spaces; UnleashX accepts either.
5

Note your username and site URL

You’ll need three things to connect: your WordPress username, this Application Password, and your site URL (e.g. https://yoursite.com).
Don’t see an Application Passwords section? It’s built into WordPress 5.6+ but is hidden on sites served over plain HTTP or where a security plugin has disabled it. Use HTTPS, or enable Application Passwords, then refresh the profile page.
What the credentials can access
Scope / AccessWhy UnleashX needs it
Read & write PostsTo create, update, fetch, search, and delete posts
Read & write CategoriesTo create, update, and organize content categories
Read & write UsersTo create, update, and manage site users (Admin only)
Manage MediaTo upload images and set featured images on posts
An Application Password inherits the role of the user it belongs to. To manage users you must create it on an Administrator account; for posting only, an Author/Editor account is enough.

4. Connect on UnleashX

1

Open your agent

Go to https://www.tryunleashx.com and open the agent you want to connect.
2

Open Data Connectors

In the agent, go to Data Connectors.
3

Find WordPress

Locate WordPress in the list and click Connect / Add / Configure. A form opens with four fields.
4

Fill in the four fields

FieldWhat to enter
WP Site URLYour site’s address, e.g. https://yoursite.com (no /wp-admin).
WP UsernameThe WordPress account you were signed in as when you created the Application Password — e.g. admin. The Application Password belongs to this user, so the username here must match that account.
Account NameA label for this connection inside UnleashX — usually your name or a name for the site (e.g. “Marketing blog”). This is just for you; it doesn’t affect WordPress.
WP App PasswordThe Application Password you copied in Section 3 (xxxx xxxx xxxx xxxx xxxx xxxx).
UnleashX combines WP Username + WP App Password as HTTP Basic auth against your site’s REST API.
5

Add the tool

Click Add Tool. When the status shows a Connected badge, your agent can start working with WordPress.
The WP Username must be the exact account the Application Password was generated under. If an admin created the password while signed in as admin, enter admin here — not your display name or email. A mismatch causes a 401 Unauthorized even when the password is correct.
01 wordpress data connector

5. Available tools

ToolWhat it doesChanges data?
Create PostCreates a new post (draft or published)✏️ Yes
Update PostUpdates an existing post✏️ Yes
Get PostGets a single post by IDNo
Delete PostDeletes a post⚠️ Yes
Search PostsSearches posts by status, author, etc.No
Create CategoryCreates a category✏️ Yes
Update CategoryUpdates a category✏️ Yes
Get CategoryGets a single category by IDNo
Delete CategoryDeletes a category⚠️ Yes
Search CategoriesSearches categoriesNo
Create UserCreates a new site user✏️ Yes
Update UserUpdates a user✏️ Yes
Get UserGets a single user by IDNo
Delete UserDeletes a user⚠️ Yes
Search UsersSearches users by role or nameNo
Set Featured ImageSets a media item as a post’s featured image✏️ Yes
Generate AI ImageGenerates an AI image, uploads it to Media, optionally sets it as featured✏️ Yes

6. Example usage

“Draft a blog post titled ‘Spring Sale Tips’ in the Marketing category and generate a cover image.” Behind the scenes: Search Categories → Create Post → Generate AI Image (sets it as featured). “Find all draft posts by Maria and publish the one about onboarding.” Behind the scenes: Search Users → Search Posts → Update Post.

7. Permissions & data access

UnleashX CAN:
  • Read, create, update, and delete posts and categories.
  • Search posts, categories, and users.
  • Manage users (when connected with an Administrator account).
  • Upload media, set featured images, and generate AI cover images.
UnleashX CANNOT:
  • Do anything the connected user’s role doesn’t permit.
  • Change WordPress core settings, themes, or plugins.
  • Access sites other than the one you connected.
To disconnect: In UnleashX, open your agent → Data ConnectorsWordPressDisconnect. To fully revoke access, go to Users → Profile → Application Passwords in WordPress and click Revoke. Either action stops access immediately.

8. Troubleshooting

ProblemWhat it meansHow to fix it
401 UnauthorizedWrong username/Application Password, or it was revokedRecreate the Application Password and re-enter username + password
403 ForbiddenThe connected user’s role can’t perform that actionConnect with an account that has the needed role (e.g. Administrator for users)
404 Not FoundThe post/category/user ID doesn’t exist, or REST API is disabledVerify the ID and that /wp-json/ is reachable on your site
Application Passwords missingDisabled or site not on HTTPSEnable HTTPS and Application Passwords (WordPress 5.6+)
Connection refusedSite URL wrong or REST API blocked by a plugin/firewallConfirm the base URL and that the REST API isn’t blocked
For general connection issues, see /mcp/integrations.

9. Frequently asked questions

Is my data stored by UnleashX? UnleashX calls your WordPress REST API live with your credentials when a tool runs. It doesn’t keep a separate copy of your site content. Can multiple team members connect? Yes. Each person creates their own Application Password on their own WordPress account, and each connection inherits that user’s role. How do I rotate my key? Create a new Application Password in Users → Profile, update it in UnleashX, then revoke the old one. Access switches over immediately. Does the AI image tool need anything extra? Generate AI Image generates images via OpenAI, so an OpenAI API key must be supplied (passed in or configured at the platform level).

10. References