wordpress_switch_site
Switch the active WordPress site when you have multiple sites configured in the MCP server.
wordpress_switch_site
Switch to a different WordPress site (for multi-site setups).
Parameters
1 parameter, 1 required.
| Name | Type | Required | What it is |
|---|---|---|---|
site_id | string | yes | Site ID from configuration |
Example call
The smallest valid call, with the required parameters only:
{
"name": "wordpress_switch_site",
"arguments": {
"site_id": "value"
}
}
Response
{
"success": true,
"activeSite": "staging"
}
What it changes
It writes to the site. It is not covered by a snapshot, so check the arguments before calling it. Calling it twice with the same arguments leaves the site in the same state as calling it once. On a connection set to read-only it is refused with respira_scope_denied.
How long it takes
A typical call takes about 420 ms. 19 in 20 finish within 870 ms. Measured on real sites over the last week, so it includes the site's own hosting.
Availability
Works on any WordPress site, whichever page builder it uses. Available since Respira 1.0.0.
Notes
- Useful for agencies and multi-site workflows
- After switching, subsequent tool calls operate on the selected site
Example Prompts
- "Switch to my staging site"
- "Use siteId 'production'"
Related Tools
Was this page helpful?