Developers
MCP server
Let AI agents manage your WordPress fleet through the Model Context Protocol.
@fleetwp/mcp is a Model Context Protocol server. Point an MCP-capable agent
(Claude Desktop, Claude Code, or any MCP client) at it and the agent can manage
your fleet through the same token-authenticated API.
Configure
The server reads FLEETWP_URL and FLEETWP_TOKEN from its environment. In an
MCP client config:
{
"mcpServers": {
"fleetwp": {
"command": "npx",
"args": ["-y", "@fleetwp/mcp"],
"env": {
"FLEETWP_URL": "https://app.fleetwp.io",
"FLEETWP_TOKEN": "fwp_your_token_here"
}
}
}
}Tools
| Tool | Description |
|---|---|
list_sites | List all sites in the workspace |
get_site | Show details for one site |
list_backups | List a site's backups |
create_backup | Trigger a backup (type: full / db / files) |
update_site | Apply updates, optionally limited to specific plugins |
site_login_url | Generate a one-click admin login URL |
get_activity | Recent workspace activity |
Scope your token
Give the agent a token whose scope matches what you want it to do. A read token lets it observe the fleet without being able to trigger backups, updates, or logins.