MCP tool · Applications
import_wordpress
Bring an existing site under Installatron management.
import_wordpress
Description
Bring an existing site under Installatron management. source=this_account adopts a site already installed at domain/path on this account, in place (nothing is copied) — updates, backups and staging start working on it. source=remote_server pulls a whole site from another host onto this account: give source_url (the live site) and source_path, a transfer URI with the remote credentials — sftp://user:password@host/path-to-site (also ftp/ftps/ssh), or app://wp-admin-user:wp-admin-password@ to migrate a WordPress with only its wp-admin login. The migration runs in the background: poll get_app_activity and confirm with list_wordpress_installs — never report it done without seeing the install.
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.
|
source
required
|
enum |
this_account adopts a site already on this hosting account, in place. remote_server pulls a copy from another host (needs source_url + source_path). One of this_account, remote_server.
|
domain
required
|
string |
The destination domain on this account (e.g. example.com) — where the site lives (this_account) or should land (remote_server).
|
path
|
string |
Optional subfolder under the domain (e.g. blog).
|
application
|
string |
The application type, default wordpress. Another Installatron app slug works too.
|
source_url
|
string |
For remote_server: the source site's live URL, e.g. https://www.oldhost-site.com/blog.
|
source_path
|
string |
For remote_server: the transfer URI with credentials — sftp://user:password@host/path, ftp://…, ssh://…, or app://wp-admin-user:wp-admin-password@ (WordPress only, no file access needed). Used once, never stored.
|
source_url_ip
|
string |
Optional for remote_server: connect to the source via this IP instead of its public DNS (for sites already moved in DNS).
|