mcp_install_plugin_zip
Install a WordPress plugin directly from a ZIP URL, including GitHub release assets, with options to activate it and overwrite an existing plugin folder.
Instructions
Install a plugin from a ZIP URL (GitHub releases, custom sources). The URL must end in .zip or be a github.com / api.github.com release asset URL (private repo assets supported with a token).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>",
"url": "<url>"
},
"name": "mcp_install_plugin_zip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to the plugin ZIP, or a github.com/api.github.com release asset URL | |
| site | Yes | Site id (see list_sites) | |
| token | No | Write-only GitHub token for a PRIVATE release asset. Sent only to github.com/api.github.com, never echoed. Omit to use the site's mcpe_github_token option / GITHUB_UPDATER_TOKEN constant. | |
| activate | No | Activate after install (default false) | |
| overwrite | No | Deactivate and replace the plugin folder if it already exists (default true) |