NihFix.Valetudo.Mcp

AlekseyKapustyanenko/NihFix.Valetudo.Mcp

3.1

If you are the rightful owner of NihFix.Valetudo.Mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Valetudo MCP is a server that allows Large Language Models (LLMs) to control Valetudo-powered robot vacuums using natural language commands.

Tools
6
Resources
0
Prompts
0

Valetudo MCP - LLM Control for Robot Vacuums

Valetudo MCP is a specialized server that enables Large Language Models (LLMs) to control your Valetudo-powered robot vacuum. This project bridges the gap between conversational AI and smart home automation, allowing AI assistants to perform vacuum operations through natural language commands.

Features

  • LLM-Powered Vacuum Control: Enable AI models to control your robot vacuum through a clean API interface
  • Valetudo Integration: Works seamlessly with Valetudo, the cloud-free control software for robot vacuums
  • Multiple Operation Modes: Run in stdio mode for direct LLM integration or HTTP/SSE mode for web-based access

Usage Modes

Stdio Mode (for Claude Desktop, Anything-LLM, etc.)

Perfect for direct integration with LLM applications. Example configuration:

{
  "mcpServers": {
    "vacuum-robot": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ValetudoMcp__RobotUri",
        "-e",
        "ValetudoMcp__ServerType",
        "nihfix/valetudo.mcp",
        "--access-mode=unrestricted"
      ],
      "env": {
        "ValetudoMcp__RobotUri": "http://192.168.1.12", // your robot url
        "ValetudoMcp__ServerType": "Stdio"
      }
    }
  }
}

HTTP/SSE Mode (for Web Integrations such as n8n)

Run as a standalone server that exposes endpoints for HTTP and Server-Sent Events:

docker run -i --rm \
  -e ValetudoMcp__RobotUri="http://192.168.1.12" \
  -e ValetudoMcp__ServerType=http \
  -p 3005:8080 \
  nihfix/valetudo.mcp
  • SSE endpoint: http://localhost:3005/sse
  • Streamable protocol endpoint: http://localhost:3005/

Configuration

Environment VariableDescription
ValetudoMcp__RobotUriURL of your Valetudo-powered robot (required)
ValetudoMcp__ServerTypeServer mode: "Stdio" or "http"
ValetudoMcp__UsernameUsername for robot auth (if required)
ValetudoMcp__PasswordPassword for robot auth (if required)

Available Tools

The server provides a rich set of tools for vacuum control:

Tool NameDescription
get-map-segmentsGet available zones for the vacuum robot to clean. Returns a list of segments with names and corresponding IDs.
clean-map-segmentsEnforce vacuum robot to clean defined segments. Requires segment IDs which can be obtained via the get-map-segments tool.
clean-allEnforce vacuum robot to clean the entire map (flat, apartment or house) or resume current cleaning.
stop-cleaningEnforce vacuum robot to stop its current cleaning operation.
pause-cleaningEnforce vacuum robot to pause its current cleaning operation.
go-homeEnforce vacuum robot to return to its charging station. If you encounter errors, try using stop-cleaning first.

These tools allow LLMs to perform precise control over your robot vacuum, enabling sophisticated automation and voice-controlled cleaning scenarios.

Experience the next level of smart home automation by connecting your AI assistants directly to your robot vacuum!