Control Ecovacs robot vacuums through the official Ecovacs MCP server. This is the first official MCP integration for robotic cleaning devices.
ECO_API_KEY) from open.ecovacs.comuvx (recommended) or python3 with ecovacs-robot-mcp installedThe MCP server entry should look like this in your settings:
{
"ecovacs_mcp": {
"command": "uvx",
"args": ["--from", "ecovacs-robot-mcp", "python", "-m", "ecovacs_robot_mcp"],
"env": {
"ECO_API_KEY": "YOUR_API_KEY",
"ECO_API_URL": "https://open.ecovacs.com"
}
}
}
Regional endpoints:
https://open.ecovacs.comhttps://open.ecovacs.cnThe server exposes four tools. All device operations use a nickname parameter that supports fuzzy matching — you don't need the exact name.
Lists all robots bound to the account. No parameters. Always call this first to discover available robots and their nicknames.
Controls cleaning operations.
| Parameter | Values | Description |
|---|---|---|
| ----------- | -------- | ------------- |
nickname | string | Robot name (fuzzy match) |
act | s | Start cleaning |
act | p | Pause cleaning |
act | r | Resume cleaning |
act | h | Stop cleaning |
Controls dock/charging operations.
| Parameter | Values | Description |
|---|---|---|
| ----------- | -------- | ------------- |
nickname | string | Robot name (fuzzy match) |
act | go-start | Return to charging dock |
act | stopGo | Cancel return to dock |
Returns real-time robot state. No input besides nickname. Returns three status fields:
cleanSt — Cleaning state (sweeping, mopping, paused, idle, mapping)chargeSt — Charging state (returning to dock, docking, charging, idle)stationSt — Dock station state (washing mop, drying, dust collection, idle)get_device_list before any operation to get the correct nickname. Cache the nickname for the session.query_working_status to verify the command took effect.start_cleaning (act: s) → check statuscontrol_recharging (act: go-start) → check statusstart_cleaning (act: p) → later (act: r)start_cleaning act: scontrol_recharging act: go-startstart_cleaning act: p or hquery_working_statusECO_API_KEY is correct and ECO_API_URL matches your regionuvx is available (pip install uv), or install directly: pip install ecovacs-robot-mcp共 1 个版本