WordPress migration
MCP Abilities – Site Migration Bridge
Take the files you’ll need on the other side
Moving the whole site? Choose a full export for the database and supported site files. The native defaults include post revisions and spam comments.
Already have the files? A database-only export leaves out the media library, themes, plugins and must-use plugins. Keep those files separately if the destination needs them.
Left: database only. Right: the database and supported site files.
Check the source, the archive and the destination
1. Check the source
Start with ai1wm/status. It reports the site address, whether migration is available and the backups it can see. When you start an export, set confirm: true and supply expected_home to check you are on the intended site.
2. Verify the archive
For an export in the background, keep the job ID returned by ai1wm/export-start and read it with ai1wm/export-status. A completed result gives the archive name and byte count. Verify you can access the archive and that it covers what you intend to restore. A running result is the last saved state. Interrupted jobs are not retried automatically.
3. Back up the destination
An import can overwrite data on the target site. Back it up, approve the exact archive and set confirm: true. Check the target address with expected_target_home. For a large .wpress archive, ai1wm/import-start accepts an allowed URL or an approved local source. It can verify the byte count and SHA-256 and keeps the source file by default.
Connect the bridge to WordPress
Install the ZIP on WordPress 6.9 or later with PHP 8.0 or later and an active, configured All-in-One WP Migration installation. The migration plugin handles archives and cleanup. Its extensions and licensing still apply.
Connect an authenticated MCP client with access to the WordPress Abilities API. The account must have manage_options to use these seven operations.
- Inspect:
ai1wm/status. - Export:
ai1wm/exportruns in the request.ai1wm/export-startruns in the background andai1wm/export-statusreads its saved result. - Import:
ai1wm/import-urlruns from an allowed address in the request.ai1wm/import-startruns in the background andai1wm/import-statusreads its saved result.
Version 0.1.7 · GPLv2 or later · basicus
Run a first export on a test site
Install the bridge on a test copy with All-in-One WP Migration active. Read the site status, export the scope you need and check that the archive is accessible.
