MCP tool · Applications
create_wordpress_admin_link
Mint a one-time wp-admin login URL for a WordPress install, to hand to the human so they can manage the site in wp-admin.
create_wordpress_admin_link
Description
Mint a one-time wp-admin login URL for a WordPress install, to hand to the human so they can manage the site in wp-admin. Returns the URL under loginUrl: it is single-use and expires quickly — return it to the user's browser immediately; do not store, log or reuse it. Mint it at most once for an install: generating a new link invalidates the previous one, so a second call in the same reply leaves the customer clicking a dead link. This logs into wp-admin, not the hosting panel (use create_panel_login_link for DirectAdmin). Requires both read:hosting and sso:hosting.
Input
| Name | Type | Description |
|---|---|---|
input
required
|
string |
A domain, email address, website URL, numeric service id, or hosting-account username the customer actually owns. Resolved to the owning account automatically; the resolved target is echoed back in the response.
|
install_id
|
string |
The install to log into, from list_wordpress_installs (installs[].id). Optional when url or path names it instead — prefer those (the address the customer used cannot be mis-copied); with none of the three the install at the domain root is meant.
|
path
|
string |
Instead of install_id: the folder under the domain where WordPress lives (e.g. blog), or `` for the domain root.
|
url
|
string |
Instead of install_id: the site address as listed, e.g. https://example.com/blog.
|