Ecovacs MCP Server for robot vacuum control

Ecovacs MCP Server for robot vacuum control

ecovacs-mcp•byecovacs-ai

An MCP server that connects agents to Ecovacs robot vacuums for listing devices, controlling cleaning and recharging, and checking working status.

License: MIT•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Retrieves the list of all robots bound to the user.
  • •Controls the robot vacuum to start, pause, resume or stop cleaning, using nickname lookup with fuzzy matching.
  • •Starts or stops the robot's return-to-charge behavior.
  • •Queries the robot's current working status, including cleaning, charging and station states.

BEST FOR

  • •Agent developers who want to integrate robot vacuum query, cleaning and recharge capabilities into their applications.
  • •Users of MCP clients such as Claude or Cursor who want to control their robot vacuum through conversation.

ABOUT ECOVACS-MCP

Ecovacs MCP Server for robot vacuum control is cataloged as an MCP server attributed to ecovacs-ai. An MCP server that connects agents to Ecovacs robot vacuums for listing devices, controlling cleaning and recharging, and checking working status. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Ecovacs MCP Server for robot vacuum control are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

本地配置需要哪些环境变量?

Two environment variables are used: ECO_API_KEY for the API access key and ECO_API_URL for the API host.

除了本地运行,是否提供托管的SSE连接方式?

Yes, the README documents an SSE URL configuration for connecting to hosted endpoints in mainland China or other regions.

上游原版 README

在 GitHub 查看同一版本原文

README.md · e6a1df2136d2 · 采集于 2026-11-13 09:54:00 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

扫地机器人控制MCP Server

English | 中文

科沃斯核心API现已全面兼容MCP协议,是全球首家兼容MCP协议的机器人服务商。

科沃斯已经完成了4个核心API接口和MCP协议的对接,包括设备列表查询、清扫控制、回充控制和工作状态查询。

作为全球首家支持MCP协议的清洁机器人服务商,科沃斯MCP Server发布后,智能体开发者仅需简单配置,就可以在大模型中快速接入机器人服务,实现查询、清扫、回充等能力。

大幅降低了智能体应用开发过程中调用机器人控制服务相关能力的门槛,显著提升了智能体应用的开发效率。

工具

设备列表查询

获取用户绑定的所有机器人列表。

Input:

无参数

Returns:

{
  "status": 0,
  "message": "success",
  "data": [
    {
      "nickname": "机器人昵称",
    }
  ]
}

启动清扫

控制扫地机器人开始、暂停、恢复或停止清扫。

Input:

  • nickname: 机器人的昵称,用于查找设备,支持模糊匹配
  • act: 清扫行为
    • s: 开始清扫
    • r: 恢复清扫
    • p: 暂停清扫
    • h: 停止清扫

Returns:

{
  "msg": "OK",
  "code": 0,
  "data": []
}

控制回充

控制机器人开始或停止回充。

Input:

  • nickname: 机器人昵称,用于查找设备
  • act: 机器行为
    • go-start: 开始回充
    • stopGo: 结束回充

Returns:

{
  "msg": "OK",
  "code": 0,
  "data": []
}

查询工作状态

查询机器人当前的工作状态。

Input:

  • nickname: 机器人昵称,用于查找设备

Returns:

{
	"code": 0,
	"msg": "success",
	"data": {
		"ctl": {
			"data": {
				"ret": "ok",
				"cleanSt": "h",
				"chargeSt": "charging",
				"stationSt": "i"
			}
		}
	}
}

状态码说明:

参数名类型说明
cleanStstring清扫状态,请求成功时存在。s-清扫中,p-暂停中,h-空闲中,goposition-正在前往指定位置,gopositionpause-在指定点停止,findpet-寻找宠物,findpetpause-寻找宠物暂停,cruise-巡航中,cruisepause-巡航暂停,buildmap-创建地图,buildmappause-建图暂停
chargeStstring充电状态,请求成功时存在。g-正在回充,gp-回充暂停,i-空闲,sc-底座充电,wc-线充,charging-充电中(包括SC和WC)
stationStstring基站状态,i-空闲,wash-正在清洗拖布,dry-正在烘干,drypause-烘干暂停,dust-集尘中,dustpause-集尘暂停,clean-基站清洁,cleanpause-基站清洁暂停,wash-清洗拖布,washpause-清洗拖布暂停

开始

安装

github本地安装

git clone git@github.com:ecovacs-ai/ecovacs-mcp.git

uv add "mcp[cli]" mcp requests

uv run ecovacs_mcp/robot_mcp_stdio.py

pipy

pip install ecovacs-robot-mcp

python3 -m ecovacs_robot_mcp

环境变量

  • ECO_API_KEY: API访问密钥,用于验证接口调用权限
  • ECO_API_URL: API HOST
    • 中国内地: https://open.ecovacs.cn
    • 非中国内地: https://open.ecovacs.com

获取AK & 删除AK

在选择两种方法(本地或者SSE)之前,你需要在科沃斯开放平台的控制台中创建一个服务端AK,通过AK你才能够调用机器人的API能力。

如果你想取消授权,在科沃斯开放平台的控制台中同样可以移除AK的授权。

科沃斯开放平台(中国内地):https://open.ecovacs.cn

科沃斯开放平台(非中国内地):https://open.ecovacs.com

获取AK

配置

在任意MCP客户端(如Claude.app)中添加如下配置,部分客户端下可能需要做一些格式化调整。

其中 ECO_API_KEY为API访问密钥 ECO_API_URL为API HOST

  • Using uvx
{
  "mcpServers": {
    "ecovacs_mcp": {
      "command": "uvx",
      "args": ["ecovacs-robot-mcp"],
      "env": {
        "ECO_API_KEY": "your AK...........",
        "ECO_API_URL": "https://open.ecovacs.cn" // 如果是非中国内地,配置为 https://open.ecovacs.com
      }
    }
  }
}
  • Using pip installation
{
  "mcpServers": {
    "ecovacs_mcp": {
      "command": "python",
      "args": ["-m", "ecovacs-robot-mcp"],
      "env": {
          "ECO_API_KEY": "your AK...........",
          "ECO_API_URL": "https://open.ecovacs.cn" // 如果是非中国内地,配置为 https://open.ecovacs.com
      }
    }
  }
}

使用示例(Claude示列)

打开Claude for Desktop的Setting,切换到Developer,点击Edit Config,用任意的IDE打开配置文件。

Claude设置界面 Claude配置文件

将以下配置添加到配置文件中,ECO_API_KEY 是访问科沃斯开放平台API的AK,在此页面中申请获取:

{
    "mcpServers": {
        "ecovacs_mcp": {
            "command": "python3",
            "args": ["-m", "ecovacs_robot_mcp"],
            "env": {
                "ECO_API_KEY": "your ak......",
                "ECO_API_URL": "https://open.ecovacs.cn"// 如果是非中国内地,配置为 https://open.ecovacs.com
            }
        }
    }
}

重启Claude,此时设置面板已经成功加载了科沃斯机器人MCP Server。在软件主界面对话框处可以看到有4个可用的MCP工具,点击可以查看详情。

Claude MCP工具

效果

接下来就可以进行提问,验证科沃斯机器人小助手的能力了。

Claude交互效果

使用示例(Cursor示列)

进入 Cursor 设置界面配置 SSE 连接

Cursor设置界面

添加一个新的 MCP Server 配置

  • 中国内地
{
  "mcpServers": {
    "robot_control_server": {
      "url": "https://mcp-open.ecovacs.cn/sse?ak=your ak"
      // For regions outside Mainland China, configure as https://mcp-open.ecovacs.com/sse?ak=your ak
    }
  }
}
  • 非中国内地
{
  "mcpServers": {
    "robot_control_server": {
      "url": "https://mcp-open.ecovacs.com/sse?ak=your ak"
    }
  }
}

返回 Cursor 设置界面查看 MCP 服务工具状态

Cursor MCP服务状态

选择配置 Cursor 大模型让你拥有更好的服务体验,建议选择 claude-3.7-sonnet

Cursor模型配置

模型交互模式 :选择 Agent 方式

Cursor交互模式

效果

Cursor交互模式

许可证

MIT © ecovacs

反馈

在使用科沃斯机器人MCP Server时遇到的任何问题,欢迎通过issue或者联系我们,我们也欢迎每一个积极的PR`,非常感谢各位的支持与贡献❤️

联系方式

Mail: pei.zhou@ecovacs.com

Wechat:

微信二维码

更新

版本功能说明更新日期
V1.0Ecovacs MCP Server正式上线2025年4月24日

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Ecovacs MCP Server for robot vacuum control from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/ecovacs-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops