FleetWP Docs
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

ToolDescription
list_sitesList all sites in the workspace
get_siteShow details for one site
list_backupsList a site's backups
create_backupTrigger a backup (type: full / db / files)
update_siteApply updates, optionally limited to specific plugins
site_login_urlGenerate a one-click admin login URL
get_activityRecent 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.

On this page