360 Secure SkillHub
360 安全技能中心

Ecovacs Mcp

该技能通过科沃斯官方MCP服务器控制DEEBOT系列扫地机器人,核心功能包括启停/暂停清洁、回充/取消回充、查询设备工作与充电状态、列出绑定的机器人。当用户提及扫地机器人、清洁房屋、让机器人回充或查询状态等需求时自动触发,无需明确提及“科沃斯”。需提前配置API密钥,设备需绑定对应账号,输入为自然语言指令,输出为操作反馈或状态数据。

f-liva
f-liva
热度 53.87
最近更新 2026-05-11 17:31:30
分类:自动化依赖:MCP 服务应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add ecovacs-mcp
Metadata
name
ecovacs-mcp
description
Control Ecovacs robot vacuums (DEEBOT series) via the official Ecovacs MCP server — start/stop/pause cleaning, send the robot to its dock, check battery and cleaning status, list devices. Use this skill whenever the user mentions their robot vacuum, DEEBOT, Ecovacs, floor cleaning robot, or wants to vacuum, mop, clean the house, check if the vacuum is charging, or send it home — even if they don't say "Ecovacs" explicitly.
user-invocable
false
metadata
{"clawdbot":{"emoji":"🤖","requires":{"anyBins":["uvx","python3"],"env":["ECO_API_KEY"]},"primaryEnv":"ECO_API_KEY"}}

Ecovacs Robot Vacuum Control

Control Ecovacs robot vacuums through the official Ecovacs MCP server. This is the first official MCP integration for robotic cleaning devices.

Prerequisites

  • API Key (ECO_API_KEY) from open.ecovacs.com
  • uvx (recommended) or python3 with ecovacs-robot-mcp installed
  • A robot registered in the Ecovacs mobile app, bound to the same account

MCP Server Configuration

The 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:

  • International: https://open.ecovacs.com
  • China mainland: https://open.ecovacs.cn

MCP Tools Reference

The server exposes four tools. All device operations use a nickname parameter that supports fuzzy matching — you don't need the exact name.

get_device_list

Lists all robots bound to the account. No parameters. Always call this first to discover available robots and their nicknames.

start_cleaning

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

control_recharging

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

query_working_status

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)

Operating Guidance

  1. Always list devices first — call get_device_list before any operation to get the correct nickname. Cache the nickname for the session.
  2. Confirm actions — after starting or stopping cleaning, call query_working_status to verify the command took effect.
  3. Standard workflows:
    • Start cleaning: list devices → start_cleaning (act: s) → check status
    • Send home: control_recharging (act: go-start) → check status
    • Pause and resume: start_cleaning (act: p) → later (act: r)
  4. Natural language mapping:
    • "vacuum the house" / "clean the floor" / "start cleaning" → start_cleaning act: s
    • "send it back" / "dock" / "go home" / "charge" → control_recharging act: go-start
    • "stop" / "pause" → start_cleaning act: p or h
    • "what's it doing?" / "is it charging?" → query_working_status

Troubleshooting

  • No devices found — robot must be set up in the Ecovacs app and bound to the same account used for the API key
  • Authentication errors — verify ECO_API_KEY is correct and ECO_API_URL matches your region
  • Server won't start — ensure uvx is available (pip install uv), or install directly: pip install ecovacs-robot-mcp