Connect WordPress to your Wiro AI agent
Write, schedule and publish posts and media on your WordPress site.
Write a post on winter care for fiddle leaf figs, use the cover photo I sent, and schedule it for Tuesday 8 am.
The upload and the post both had your approval, and the post is scheduled on the Leafwell Plants blog for Tuesday at 8:00 am:
- Title: Fiddle leaf figs in winter: light, water and cold drafts
- Category: Plant Care, tagged Ficus and Winter, all already on your site
- Cover: your photo, with alt text describing the fig beside a frosted window
- Body: about 900 words in four sections, with the care steps as a list
Until Tuesday it waits under Scheduled in your Posts list.
Overview
What WordPress does for your agent
Logs in to a self-hosted WordPress site as a user you create for the agent, with an application password, and acts within that user's Author or Editor role. The agent writes posts and pages in HTML, saves drafts, publishes or schedules them, uploads images, video, audio and PDFs to the media library, sets featured images, categories and tags, and fills Rank Math SEO fields where that plugin runs. The site needs WordPress 5.6 or later over HTTPS, and plugins, themes and settings stay out of reach.
Use cases
What your Wiro agent can do with WordPress
Write, illustrate and schedule a post on your WordPress site
Share a topic and a few points. The agent checks your site for posts on the same subject, writes the article in HTML with headings and links to related posts, picks existing categories and tags, uploads a featured image from a link with alt text, and saves the post as a draft or schedules it for your date.
Add SEO titles, meta descriptions and focus keywords with Rank Math
On sites that run the Rank Math SEO plugin, ask the agent to go through a set of posts. It writes an SEO title, a meta description and a focus keyword for each and saves them the way Rank Math's own editor does, once you approve the list.
Fill in missing alt text in the media library
The agent lists images that have no alt text, writes a short description for each from its title, caption and the post it belongs to, and updates the media items after you approve, which helps screen reader users and image search.
Monday review of drafts and the publishing calendar
Every Monday a Scheduled Task lists the drafts and scheduled posts on your site, points out drafts that have not changed in weeks, notes the days with nothing planned, and posts the list in Chat so you can choose what to finish next.
Refresh an older post without changing its address
Name a post that needs new numbers or screenshots. The agent reads its current content, makes the changes, swaps the featured image if you want and saves it under the same link. Edits to a published post go live at once, so in Chat they wait for your approval first.
Reply to comments and keep spam out
The agent reads new comments, drafts replies to real questions and posts them under the right post. When its WordPress user has the Editor role, it can also approve comments or mark them as spam after you confirm.
How it works
How WordPress works with Wiro
- 01
Connect WordPress
Deploy an agent, open its Connectors tab, choose WordPress and paste what the Connect dialog asks for.
- 02
Choose what each action may do
Set each WordPress action to Allow, Ask or Block, in Chat and in Scheduled Tasks. By default, read-only actions run, and the rest ask first in Chat.
- 03
Ask in Chat or schedule it
Ask your agent for WordPress work in Chat, or put it on a Scheduled Task that runs on its own.
- Where it runsInside your agent. Its requests go straight from the agent to WordPress.
- Where its data goesThe site you connect
- How it signs inPaste a key. It is stored encrypted and never shown again.
What it can do
Actions your Wiro agent can take in WordPress
By default, read-only actions run, and the rest ask first in Chat and run in Scheduled Tasks. Each agent can set any action to Allow, Ask or Block.
Read-only 6 actions
Looks things up in WordPress and changes nothing.
| Action | What it does | Chat | Scheduled Tasks |
|---|---|---|---|
| Get the WordPress site and the connected user | The connected WordPress site and the user the application password belongs to, with its roles and what it may do: publish posts, edit others' posts, publish pages, upload files, manage categories. | Allow | Allow |
| List WordPress posts or pages | Lists the site's posts (or pages), newest first by default: drafts, scheduled and published ones, or one status. | Allow | Allow |
| Get a WordPress post or page | One post (or page) by id, with its raw title, HTML content, excerpt, status, slug, dates, categories, tags, featured image, link and editor link. | Allow | Allow |
| List the WordPress media library | Lists files in the media library, newest first: id, title, source URL, type, alt text, size in pixels and bytes, and the post each is attached to. | Allow | Allow |
| List WordPress categories or tags | Lists the site's categories or tags with their ids, names, slugs, post counts and parents. | Allow | Allow |
| Read other WordPress data | Reads what the actions above do not cover, straight from the WordPress API. | Allow | Allow |
Create and send 3 actions
Creates or sends something new in WordPress, such as a post, a message or an email.
| Action | What it does | Chat | Scheduled Tasks |
|---|---|---|---|
| Create a WordPress post or page | Creates a post (or page). | Ask | Allow |
| Upload a file to the WordPress media library | Downloads a file from a public https URL and uploads it to the media library, with alt text, title and caption. | Ask | Allow |
| Create a WordPress category or tag | Creates a category or tag. | Ask | Allow |
Change and delete 4 actions
Changes or deletes what is already in WordPress.
| Action | What it does | Chat | Scheduled Tasks |
|---|---|---|---|
| Update or publish a WordPress post or page | Changes a post (or page). | Ask | Allow |
| Update a WordPress media item | Changes a media item's alt text, title, caption or description, or the post it is attached to. | Ask | Allow |
| Set a WordPress post's SEO title, description and focus keyword | Writes the SEO title, meta description and focus keyword of a post or page through the Rank Math SEO plugin's own API, the way its editor saves them. | Ask | Allow |
| Make other WordPress changes | Sends any other change straight to the WordPress API. | Ask | Allow |
How to connect
Connect WordPress to Wiro
Open the agent's Connectors tab, choose WordPress and paste what it asks for. Values are stored encrypted and never shown again.
What the Connect dialog asks for
| Field | About |
|---|---|
| WordPress URLRequired | The base URL of the WordPress site the agent will publish to.
|
| UsernameRequired | The WordPress username the agent will publish posts under.
|
| App PasswordRequired |
⚠️ Requires WordPress 5.6+ and HTTPS enabled on your site. |
Troubleshooting
Troubleshooting WordPress
What to check when WordPress stops working for your agent.
- An invalid or expired key If WordPress refuses the key, for example after it was deleted or expired, the agent's WordPress actions fail. Create a new key in WordPress, then open the agent's Connectors tab, choose WordPress and paste it in place of the old one.
- Limits set by WordPress WordPress limits how much an account can do, such as how many requests it takes in a minute. An action over a limit fails until the limit resets: wait and ask again, or check your WordPress plan.
For developers
Connect WordPress from your own product
Every call is a POST to the Wiro API with your project's API key. On a sign-in, your customers see your own app's name.
- 01
Read the connector
Detail answers without a session: what the connector needs and the tools it gives an agent.
POST /AgentConnector/Detail { "slug": "wordpress" }Response { "result": true, "errors": [], "agentconnectors": [ { "slug": "wordpress", "title": "WordPress", "category": "content", "authtype": "fields", "credentialfields": [ { "name": "url", "label": "WordPress URL", "required": true, "secret": false, "format": "url" }, { "name": "user", "label": "Username", "required": true, "secret": true, "format": "password" }, { "name": "apppassword", "label": "App Password", "required": true, "secret": true, "format": "password" } ], "tools": [ { "name": "get_site", "readonly": true }, { "name": "list_posts", "readonly": true } ] } ] } - 02
Connect with the values
Send what the person typed in your form. A value you leave out keeps what the connection holds; an empty one clears it.
POST /UserAgent/ConnectorConnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "wordpress", "values": { "url": "https://example.com", "user": "YOUR_SECRET", "apppassword": "YOUR_SECRET" } }Response { "result": true, "errors": [], "status": "connected", "applied": 1, "restart": "scheduled" } - 03
Read the status
connected, pending (a sign-in not finished), reauth (sign in again) or error. Values and tokens never come back.
POST /UserAgent/ConnectorList { "useragentguid": "YOUR_AGENT_GUID" }Response { "result": true, "errors": [], "useragentconnectors": [ { "slug": "wordpress", "title": "WordPress", "authtype": "fields", "status": "connected", "accounts": {}, "savedvariables": [ "apppassword", "url", "user" ], "lasterror": null } ] } - 04
Disconnect
Revokes a sign-in where the vendor allows it, deletes what the connection holds and removes the connector from the running agent.
POST /UserAgent/ConnectorDisconnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "wordpress" }Response { "result": true, "errors": [], "removed": true, "revoked": false, "restart": "scheduled" }
Questions
WordPress and Wiro FAQ
What can a WordPress AI agent do on my site?
It writes posts and pages in HTML, saves them as drafts, publishes or schedules them, and edits or unpublishes existing ones. It uploads images, video, audio and PDFs from links into the media library with alt text and captions, sets featured images, and finds or creates categories and tags. On sites with Rank Math it writes SEO titles, descriptions and focus keywords. Plugins, themes, users and site settings stay out of its reach.
How do I connect WordPress to an AI agent?
Create a separate WordPress user for the agent with the Author or Editor role. Signed in as that user, open Users, then Profile, and under Application Passwords add one named AI Agent. On your agent's Connectors tab, choose WordPress and enter your site's address, the username and the application password, or ask the agent in Chat to add WordPress.
Which WordPress sites can I connect?
A self-hosted WordPress site on version 5.6 or later, served over HTTPS, with its REST API reachable. If WordPress is installed in a subfolder, such as /blog, include that folder in the address you enter.
Should the agent's WordPress user be an Author or an Editor?
Author lets the agent publish and edit its own posts and upload files. Editor adds editing and publishing other people's posts, publishing pages, managing categories and moderating comments. Choose the smaller role that covers the work; the agent reads the user's abilities when it connects and stays within them.
Will it publish on my WordPress site without asking?
Posts are saved as drafts unless you ask to publish or schedule them. Creating, publishing, editing, uploading and SEO changes ask for your approval in Chat by default; listing posts or browsing the media library does not. For Scheduled Tasks you decide per action: leave it on Allow so a weekly task can work alone, or switch it to Ask or Block.
Where is my WordPress application password kept?
The site address, username and application password are stored encrypted, and the AI model never sees the password. To revoke it, open Users, Profile, Application Passwords in WordPress and click Revoke: requests with it fail at once. Afterwards, remove WordPress from the agent's Connectors tab.
What does it cost to automate WordPress publishing?
Connectors come with every agent plan at no extra charge, and application passwords are built into WordPress. Your host's own limits, such as the upload size it accepts, still apply.
Do I need a WordPress MCP plugin?
No plugin is needed. The agent's WordPress connector uses the REST API built into WordPress, signed in with the application password, and gives the agent its actions the way an MCP server would. If your site runs Rank Math, the agent can also set its SEO fields.
Access
Revoke WordPress access
In WordPress, open Users → Profile → Application Passwords and click Revoke next to its name (or Revoke all application passwords): requests with it fail at once. Then disconnect it here.
Related connectors
More content connectors for your Wiro agent
GitBook
Read and edit the spaces and pages of your GitBook docs.
HackMD
Create, read and edit notes in HackMD.
beehiiv
Newsletter posts and subscribers on beehiiv.
Blogger
Write, schedule and publish posts on your Blogger blogs.
dev.to
List, draft, publish and edit articles on dev.to.
Hashnode
Draft and publish posts on your Hashnode publication.
Put WordPress to work with Wiro
Deploy an agent and connect WordPress from its Connectors tab. Every agent plan includes it: Starter $5, Pro $30 and Max $100 a month.