The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Wemo MCP Server listing page.
Control WeMo smart home devices through AI assistants using natural language.
mcp-name: io.github.apiarya/wemo
Seamlessly integrate WeMo smart home devices with AI assistants through the Model Context Protocol. Built on pywemo, this server enables natural language control of your WeMo devices with intelligent multi-phase discovery.

Control WeMo devices through AI assistants with natural language - just ask in plain English!

"Goodnight" — one command turns off every device in the house
devices:// and device://{id} URIsAll configurations use uvx (from the uv Python package manager) to run the server. Install uv first:
After installation, restart your terminal and verify:
Get started in seconds with Claude Code CLI:
Click your client to install instantly:
| Client | Install |
|---|---|
| Claude Desktop | |
| Claude Code CLI | Run: claude mcp add wemo -- uvx wemo-mcp-server |
| VS Code | |
| Cursor | |
| Cline | Manual config (VS Code extension) |
| Windsurf | Manual config |
| Zed | Manual config |
| Continue | Manual config (VS Code extension) |
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
Restart Claude Desktop after saving.
Edit ~/.vscode/mcp.json:
Reload VS Code after saving.
Edit ~/.cursor/mcp.json:
Restart Cursor after saving.
Cline is a VS Code extension. Add to VS Code's settings.json:
Reload VS Code after saving.
Edit ~/.windsurf/mcp.json:
Restart Windsurf after saving.
Edit ~/.config/zed/settings.json:
Restart Zed after saving.
Continue is a VS Code extension. Edit ~/.continue/config.json:
Reload VS Code after saving.
The WeMo MCP Server supports flexible configuration through YAML files and environment variables.
The most important setting is your network subnet — the server defaults to 192.168.1.0/24 but your devices may be on a different subnet (e.g. 192.168.86.0/24).
Set it directly in your MCP client config using env:
Or export it before starting the server:
Using Environment Variables (simplest):
Using YAML Config File:
| Setting | Environment Variable | Default | Description |
|---|---|---|---|
| Network | |||
| Default subnet | WEMO_MCP_DEFAULT_SUBNET | 192.168.1.0/24 | Network to scan for devices |
| Scan timeout | WEMO_MCP_SCAN_TIMEOUT | 0.6 | Port probe timeout (seconds) |
| Max workers | WEMO_MCP_MAX_WORKERS | 60 | Concurrent scanning threads |
| Cache | |||
| Enable cache | WEMO_MCP_CACHE_ENABLED | true | Persistent device caching |
| Cache file | WEMO_MCP_CACHE_FILE | ~/.wemo_mcp_cache.json | Cache file location |
| Cache TTL | WEMO_MCP_CACHE_TTL | 3600 | Cache lifetime (seconds) |
| Logging | |||
| Log level | WEMO_MCP_LOG_LEVEL | INFO | DEBUG, INFO, WARNING, ERROR |
Large Network (multiple subnets):
Debug Mode:
Disable Caching:
See config.example.yaml and .env.example for complete configuration templates.
For detailed configuration guide, see CONFIGURATION.md.
Discover WeMo devices on your network using intelligent multi-phase scanning.
Example Prompts:
Example Response:
List all devices cached from previous scans.
Example Prompts:
Example Response:
Get current state and information for a specific device.
Example Prompts:
Example Response:
Control a WeMo device (on/off/toggle/brightness).
Example Prompts:
Example Response:
Rename a WeMo device (change its friendly name).
Example Prompts:
Example Response:
Get the HomeKit setup code for a WeMo device.
Example Prompts:
Example Response:
Note: Not all WeMo devices support HomeKit. If a device doesn't support HomeKit, you'll get an error message.


Get information about the persistent device cache.
Example Prompts:
Example Response:
Clear the persistent device cache to force a fresh scan.
Example Prompts:
Example Response:
Note: This clears both the persistent cache file and in-memory cache. After clearing, run scan_network to rediscover devices.
View current server configuration settings.
Example Prompts:
Example Response:
Note: Shows all configuration including defaults and environment variable overrides. Use environment variables with WEMO_MCP_ prefix to customize.
Beyond tools, this server exposes the full suite of MCP primitives.
Subscribe to live device data without calling a tool:
| URI | Description |
|---|---|
devices:// | JSON index of all cached devices |
device://{name-or-ip} | Live state for a specific device (URL-encoded name supported) |
Clients that support MCP Resources (VS Code, MCP Inspector) can read these directly.
Four built-in guided prompts available via / slash commands in supporting clients:
| Prompt | Description |
|---|---|
discover-devices | Guided network scan with subnet selection |
device-status-report | Summary report of all device states |
activate-scene | Control multiple devices as a scene |
troubleshoot-device | Step-by-step device troubleshooting |

All four prompts surfaced as /mcp.wemo.* slash commands in VS Code
The server proactively asks for missing information rather than failing silently:
scan_network — if no custom subnet is configured (default 192.168.1.0/24), asks which subnet to scan before proceedingcontrol_device — if a device name isn't found in cache, presents closest matches and asks which device was intended
Elicitation in action — server asks for the subnet rather than scanning the wrong network silently
| Feature | Claude Desktop | VS Code | Cursor | MCP Inspector |
|---|---|---|---|---|
| Tools | ✅ | ✅ | ✅ | ✅ |
| Resources | ⚠️ protocol only | ✅ | ✅ | ✅ |
| Prompts | ⚠️ no slash UI | ✅ / commands | ✅ | ✅ |
| Elicitations | ✅ v1.1+ | ❌ | ❌ | ✅ v0.20+ |
The server uses a three-phase discovery process optimized for reliability:
Phase 1 - UPnP/SSDP Discovery (Primary)
Phase 2 - Network Port Scanning (Backup)
Phase 3 - Device Verification (Backup)
This approach achieves 100% device discovery reliability while maintaining fast scan times (23-30 seconds for complete networks).
All device commands travel exclusively over your local network — no cloud hop required at any stage.
Voice path (Google Home + WeMo):
MCP path (AI assistant + this server):
Both paths use local protocols only after the initial voice recognition (Google Cloud handles speech-to-text; Belkin's cloud is never involved).
Comparison of features between this MCP server and the main wemo-ops-center project:
| Feature | wemo-ops-center | MCP Server | Notes |
|---|---|---|---|
| Device Discovery | ✅ UPnP + Port Scan | ✅ Implemented | Multi-phase discovery with 100% reliability |
| Device Control | ✅ On/Off/Toggle | ✅ Implemented | Includes brightness control for dimmers |
| Device Status | ✅ Real-time | ✅ Implemented | Query by name or IP address |
| Device Rename | ✅ Friendly names | ✅ Implemented | Updates device cache automatically |
| HomeKit Codes | ✅ Extract codes | ✅ Implemented | For HomeKit-compatible devices |
| Multi-subnet | ✅ VLAN support | ❌ Planned | Currently single subnet per scan |
| WiFi Provisioning | ✅ Smart setup | ❌ Not planned | Requires PC WiFi connection changes |
| Scheduling | ✅ Time + Solar | ❌ Not planned | Requires persistent daemon (incompatible with MCP model) |
| Maintenance Tools | ✅ Resets | ❌ Not planned | Factory reset, clear WiFi, clear data |
| Profile Management | ✅ Save/Load | ❌ Not planned | WiFi credential profiles for bulk setup |
| User Interface | ✅ GUI + Web | ❌ N/A | MCP uses AI assistant interface |
Legend:
Why some features aren't planned for MCP:
Current MCP Coverage: 5 of 11 core features (45%) - focused on device discovery, monitoring, and control use cases that fit the MCP model.
In your MCP client config, use:
Contributions welcome! Please:
git checkout -b feature/amazing-feature)python tests/test_e2e.py)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)MIT License - see LICENSE file for details.