Vitruvian Roborock MCP

Roborock vacuum control MCP server and local daemon (rrctl) for room cleaning, status, and dock control.

Documentation

Vitruvian Roborock MCP

Vitruvian Roborock MCP Banner

Autonomous agent control and real-time telemetry for Roborock vacuums. Check on and control your vacuum from a terminal (rrctl), from an AI agent (Antigravity and Claude Code), or from a live map in your browser.


Architecture

One lightweight local process, the daemon, manages the single authenticated session with the vacuum (over local LAN or cloud MQTT), protecting device connection quotas. The CLI, MCP tools, and live dashboard communicate securely with the daemon over local loopback.

flowchart LR
    cli["rrctl (CLI)"] --> daemon
    mcp["MCP server (agents)"] --> daemon
    web["Live Dashboard (Browser)"] --> daemon
    daemon["Daemon 127.0.0.1:8765"] -- "Local LAN / Cloud Session" --> vacuum["Roborock Vacuum"]

Quick Installation

rrctl is one self-contained binary: the daemon, the CLI and the MCP server. The plugins start it as rrctl mcp, so put rrctl on your PATH first, one of these ways:

  • Download it from a release (macOS universal, Linux x86_64). Check the download against its .sha256, and put rrctl in a directory on your PATH, such as ~/.local/bin.
  • Build it with Rust installed: cargo install --locked --git https://github.com/VitruvianSoftware/vitruvian-roborock-mcp
  • In the vitruvian-core monorepo: bazel build //apps/mcp/vitruvian-roborock-mcp:rrctl, then copy bazel-bin/apps/mcp/vitruvian-roborock-mcp/rrctl onto your PATH.

Claude Code:

claude plugin marketplace add VitruvianSoftware/vitruvian-roborock-mcp
claude plugin install vitruvian-roborock-mcp

Antigravity:

agy plugin install https://github.com/VitruvianSoftware/vitruvian-roborock-mcp

Just the CLI, without an agent: install rrctl as above and you are done.


Quick Start

rrctl setup        # Log in with your Roborock account (email verification code)
rrctl status       # Display live vacuum state, battery, and rooms
rrctl dashboard    # Open the real-time visual map in your browser

Command Reference

CommandDescription
rrctl setupLog in with an emailed Roborock verification code
rrctl status [--json]View state, battery, room layout, and cleaning history
rrctl map [-o file.png]Save the current floor plan map as a high-res PNG
rrctl pause / resume / dockControl cleaning runs
rrctl daemon [status|start|stop]Manage the background connection daemon
rrctl dashboard [--no-open]Launch the live web dashboard
rrctl mcpStart the MCP server over stdio

Agent Capabilities & Skills

When installed as a plugin, your AI agent automatically gains two specialized skills and seven MCP tools:

  • Skills:
    • roborock-control: Natural language cleaning, targeted room dispatch, docking, and mop washing.
    • roborock-setup: First-time authentication flow directly inside the conversation.
  • MCP Tools:
    • get_status: Live status, battery, active errors, and room names.
    • start_clean: Start cleaning (full floor plan).
    • control: Pause, resume, stop, or find the vacuum.
    • return_to_dock: Return to the Ultra dock.
    • wash_mop: Trigger automatic mop washing on Ultra docks.
    • get_map: Fetch real-time rendered floor map with vacuum trajectory.
    • setup_login: Authenticate with Roborock cloud.

Documentation

Subdirectories & Boundaries

  • rust_src: Component package providing implementation for apps/mcp/vitruvian-roborock-mcp/rust_src.