Manage your WordPress sites from Claude, Cursor, VS Code and other AI assistants.
XeroWP runs a Model Context Protocol (MCP) server. Connect it to your AI assistant and ask it, in plain language, to list your sites, change PHP versions, install plugins, connect domains or manage WordPress users. The assistant only sees and changes the sites on your account.
Server URL
https://xerowp.com/mcp
Add the server URL to your client. The first time it connects, your browser opens XeroWP: sign in, review the access the app asks for and click Allow. No API key is needed.
claude mcp add --transport http xerowp https://xerowp.com/mcp
{
"mcpServers": {
"xerowp": {
"url": "https://xerowp.com/mcp"
}
}
}{
"servers": {
"xerowp": {
"type": "http",
"url": "https://xerowp.com/mcp"
}
}
}{
"mcpServers": {
"xerowp": {
"serverUrl": "https://xerowp.com/mcp"
}
}
}If your client can't sign in with OAuth, create a key on the API Keys page and send it as a Bearer token:
{
"mcpServers": {
"xerowp": {
"url": "https://xerowp.com/mcp",
"headers": {
"Authorization": "Bearer <your-api-key>"
}
}
}
}Find, create and remove sites. Tools that act on a site take a site argument: its ID or any of its domains.
| Tool | What it does |
|---|---|
| list-sites-tool | List your sites with their status, PHP and WordPress versions and plan. Filter by status or search by domain. |
| get-site-tool | Get one site in detail: status, versions, plan and billing, location, server IP, admin user and domains. |
| create-wp-site-tool | Create a free-trial WordPress site, on a free *.mywpsite.xyz subdomain by default. |
| delete-site-tool | Permanently delete a site with its files and database. The site's domain must be given again to confirm. |
Change how a site runs.
| Tool | What it does |
|---|---|
| set-site-maintenance-mode-tool | Turn maintenance mode on or off. |
| update-site-php-version-tool | Switch the site to another PHP version. |
| update-site-wp-version-tool | Update WordPress core to a newer version or the latest release. |
| get-site-login-link-tool | Get a one-time WordPress admin login link that expires after 5 minutes. |
Plugins and themes that aren't installed are installed from WordPress.org when activated.
| Tool | What it does |
|---|---|
| list-site-plugins-tool | List installed plugins with their status and version. |
| manage-site-plugins-tool | Activate, deactivate or delete plugins by slug. |
| list-site-themes-tool | List installed themes with their status and version. |
| manage-site-themes-tool | Activate a theme, or delete themes by slug. |
Connect custom domains. SSL is set up automatically once DNS points to the site.
| Tool | What it does |
|---|---|
| list-site-domains-tool | List the site's domains, whether their DNS is verified, and the DNS records to set. |
| add-site-domain-tool | Add a domain to the site. |
| verify-site-domain-dns-tool | Check whether a domain's DNS now points to the site. |
| remove-site-domain-tool | Remove a domain. The primary domain can't be removed. |
Manage the users of a site's WordPress admin.
| Tool | What it does |
|---|---|
| list-site-wp-users-tool | List users with their ID, username, email and role. |
| create-site-wp-user-tool | Create a user. A strong password is generated if none is given. |
| update-site-wp-user-tool | Change a user's email, role, password or profile. |
| delete-site-wp-user-tool | Delete a user, optionally reassigning their posts to another user. |
Assistants are told to confirm with you before deleting anything. Deleting a site also requires its domain to be typed again, and it can't be undone, so take a backup first if you might need the site later.
Need more help? Contact Support