Registry / devops / all-in-one-wp-migration-rest-api-mcp

all-in-one-wp-migration-rest-api-mcp

JSON →
library1.4.0jsnpmunverified

MCP server that connects Claude AI to the All-in-One WP Migration REST API for managing WordPress backups. Version 1.4.0, Node.js >= 18.0.0. Allows listing, exporting, importing, and deleting backups via natural language prompts in Claude Desktop or Claude Code. Requires the All-in-One WP Migration plugin on the WordPress site and an application password. Differentiates from CLI-only tools by enabling backup management through AI chat interfaces.

npm install all-in-one-wp-migration-rest-api-mcp
INSTALL
IMPORT
SIG · ALL-IN-ONE-WP-MIGR
A
all-in-one-wp-migration-rest-api-mcp
devopsjavascriptv1.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AllInOneWpMigrationMCP
import { AllInOneWpMigrationMCP } from 'all-in-one-wp-migration-rest-api-mcp';
const AllInOneWpMigrationMCP = require('all-in-one-wp-migration-rest-api-mcp');
Default export is the server class; named export available. ESM-only since v1.0.
server
import { server } from 'all-in-one-wp-migration-rest-api-mcp';
import { Server } from 'all-in-one-wp-migration-rest-api-mcp';
The MCP server instance is exported as 'server' (not 'Server').
tools
import { tools } from 'all-in-one-wp-migration-rest-api-mcp/tools';
import { tools } from 'all-in-one-wp-migration-rest-api-mcp';
Tool definitions are in a separate subpath export since v1.3.

Initialize the MCP server with WordPress credentials and list all backups.

import { AllInOneWpMigrationMCP } from 'all-in-one-wp-migration-rest-api-mcp'; const mcp = new AllInOneWpMigrationMCP({ wpSiteUrl: process.env.WP_SITE_URL ?? '', wpUsername: process.env.WP_USERNAME ?? '', wpAppPassword: process.env.WP_APPLICATION_PASSWORD ?? '', }); // List backups mcp.listBackups().then(backups => { console.log('Backups:', backups); }).catch(err => { console.error('Failed to list backups:', err); });
Debug
Known issues
breakingEnvironment variables WP_SITE_URL, WP_USERNAME, WP_APPLICATION_PASSWORD are required at startup.
fix
Set all three environment variables before launching the server.
affects: <1.4
gotchaWordPress Application Password contains spaces; must be quoted in environment config.
fix
Wrap the password in double quotes in JSON config or use single quotes in shell.
affects: >=0.0.0
deprecatedThe `delete_backup` tool renamed to `remove_backup` in v1.2.
fix
Use `remove_backup` instead of `delete_backup`.
affects: >=1.2 <1.3
breakingNode.js version 16 or lower is not supported.
fix
Upgrade Node.js to v18 or later.
affects: <18
Errors
Common errors & fixes
Error: invalid or expired token. Please generate a new Application Password.
Application password is incorrect or expired.
fix
Generate a new application password in WordPress admin and update the environment variable.
TypeError: Cannot read properties of undefined (reading 'wp_site_url')
WP_SITE_URL environment variable not set.
fix
Set WP_SITE_URL to your WordPress site URL in the MCP config.
Error: connect ECONNREFUSED <host>:443
WordPress site unreachable or HTTPS port blocked.
fix
Check network connectivity and ensure the site URL is correct.
Error: All-in-One WP Migration plugin not detected.
The required plugin is not installed/activated on the WordPress site.
fix
Install and activate the 'All-in-One WP Migration' plugin from the WordPress plugin directory.
Upgrade
Version history
1.4.0latest on npm
Audit
Dependencies
@modelcontextprotocol/sdkrequiredCore MCP server SDK for building tools and connecting to AI hosts
node-fetchrequiredHTTP client for WordPress REST API calls (may be bundled)
Agent activity
29 hits · last 30 days
node
26
OpenAI (training)
2
Resources
all-in-one-wp-migration-rest-api-mcp — npm install all-in-one-wp-migration-rest-api-mcp · libregistry