AI Agents
连接 AI to Multisite Migrate (MCP)
Let Claude, Cursor, ChatGPT, and other MCP clients read backup status, health, and archives — and start confirmed backups — without living in wp-admin.
工作原理
- Multisite Migrate registers WordPress Abilities (WordPress 6.9+).
- You install the official MCP Adapter companion plugin (Network Activate on Multisite).
- You generate an Application Password (Claude, Cursor, VS Code, Gemini, Windsurf) or OAuth credentials (ChatGPT).
- Your AI client talks to
/wp-json/mcp/mcp-adapter-default-server.
No custom MCP protocol stack inside Multisite Migrate — same pattern as modern WordPress AI agent plugins.
代理能做什么
| Ability | Edition | Notes |
|---|---|---|
multisite-migrate/backup-status | Free | Active job progress |
multisite-migrate/list-archives | Free | Recent completed backups |
multisite-migrate/health-summary | Free | Health checks + next_action |
multisite-migrate/last-job-error | Free | Last structured job error |
multisite-migrate/backup-now | Free | Requires confirm: true |
multisite-migrate/mapping-propose | Free | Bridge to AI Mapping Assist when available |
| Schedules / cloud / restore | Pro | Extra abilities when Pro is active |
multisite-migrate/split-network | Pro | 每个站点一个归档;需要 confirm: true + Pro 套餐 |
multisite-migrate/split-status | Pro | 拆分进度(只读) |
multisite-migrate/split-cancel | Pro | 取消进行中的拆分;需要 confirm: true |
multisite-migrate/migration-verify | Pro | 扫描残留 URL(只读)— 修复前先展示 |
multisite-migrate/search-replace-run | Pro | 仅在 confirm: true 时应用搜索替换 |
multisite-migrate/restore-migration | Pro | 带 URL 映射的恢复;支持 extract_site_standalone |
Free abilities work without a license. Pro only adds more tools.
如何连接
- Open Multisite Migrate → AI Agents in Network Admin (or site admin on single site).
- Complete the four setup steps: Abilities → Install MCP Adapter → Application Password → Test connection.
- Copy the snippet for your client (Claude Desktop, Claude Code, Cursor, VS Code, Gemini, Windsurf).
- For ChatGPT: use Generate ChatGPT OAuth credentials, then create a Developer Mode connector with Client ID/Secret and the Authorization/Token URLs.
Stdio clients typically use npx -y @automattic/mcp-wordpress-remote with WP_API_URL, username, and application password.
示例提示词
- “What’s the Multisite Migrate backup job status?”
- “List recent backup archives.”
- “Why might backups fail on this host? Check health.”
- “Start a full network backup” (agent must pass confirm).
- “将此网络拆成每个站点一个归档”(Pro;confirm)。
常见问题
- WordPress version? Abilities API requires WordPress 6.9+.
- Application Passwords disabled? Site must be HTTPS (or local). Security plugins can block per-user — Multisite Migrate will not bypass that.
- ChatGPT? Needs OAuth + Developer Mode; Application Passwords alone are not enough.
- Can AI fix my server? No — it can explain health findings and start allowed jobs. Domain mapping assist lives in the restore UI / Mapping Assist feature.