SuperAPIAI Directory

wemo-mcp-server

github.com · AI agents

Local control of WeMo smart home devices without the cloud: discovery, dimmer brightness, device renaming and HomeKit codes.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

Purpose

wemo-mcp-server is used to let AI assistants control WeMo smart home devices through natural language. It is built on the Model Context Protocol (MCP) and relies on pywemo to communicate with devices. The server runs entirely within the local network, and all device commands are transmitted over the local network, without going through the Belkin cloud.

Main capabilities

  • Device discovery: Multi-stage intelligent scanning (UPnP/SSDP multicast discovery, network port scanning, HTTP device verification), claiming 100% discovery reliability. Supports parallel probing, and scanning a complete subnet takes about 23-30 seconds.
  • Device control: Supports turning on, turning off, toggling, and brightness adjustment (all device types).
  • Device management: Rename devices, extract HomeKit setup codes.
  • Status query: Query real-time device status and brightness.
  • Caching: Persistent device cache with a TTL of 1 hour, still valid after restart; the cache can be viewed and cleared.
  • Configuration: Configure through a YAML configuration file and environment variables (prefix WEMO_MCP_), such as subnet, cache, etc.
  • Automatic retry: Automatically retries on network errors, using exponential backoff.
  • Error handling: Provides detailed error information and actionable suggestions.
  • MCP primitives: Supports MCP resources (devices:// and device://{id} URI subscriptions to real-time device data), MCP prompts (four built-in guided prompts: discover, status report, scene control, troubleshoot), and MCP interactive clarification (proactively asks when the subnet or device name is unclear).

How to use

  1. Install uv (the uv Python package manager), then restart the terminal and verify.
  2. Configure the MCP client: Supports Claude Code CLI, Claude Desktop, VS Code, Cursor, Cline, Windsurf, Zed, Continue, etc. You can install with one click or manually edit the configuration file. For example, for Claude Desktop edit ~/Library/Application Support/Claude/claude_desktop_config.json, for VS Code edit ~/.vscode/mcp.json, for Cursor edit ~/.cursor/mcp.json , etc. After saving, restart the corresponding client.
  3. Configure the subnet: The default subnet is 192.168.1.0/24. If the device is on another subnet (such as 192.168.86.0/24), you need to set it in the MCP client configuration via env , or export an environment variable, or use a YAML configuration file.
  4. Use the tools: Invoke tools through natural language instructions, for example, "scan for WeMo devices on the network," "turn on the office light," "dim the bedroom light to 50%," "get the HomeKit code for the office light," etc.
  5. Development version: If you need to use the development version, you can specify it in the MCP client configuration.

Applicable scenarios

  • Users who want to control WeMo devices at home by voice or text natural language through AI assistants (such as Claude, VS Code Copilot, etc.).
  • Smart home users who need local control and do not want to rely on the cloud.
  • Scenarios that require batch discovery and management of multiple WeMo devices (including dimmers, switches, etc.).
  • Developers who need to integrate WeMo devices into AI workflows that support MCP.

Limitations

  • Not all WeMo devices support HomeKit; when they do not, getting the HomeKit code will return an error.
  • Some features (such as scheduled automation, WiFi setup, maintenance tools) are not implemented in MCP because they require a background resident daemon or would interrupt the host network.
  • You need to install uv yourself and configure the correct subnet to discover devices.
  • The server runs through uvx and requires MCP client support.
  • Fees, pricing, and specific commercialization information are not yet provided.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools