Smart home control with MQTT
## IoT Home Automation MCP Server: Universal Smart Home Control The **IoT Home Automation MCP Server** provides universal smart home control within Google Antigravity, enabling AI-assisted device management across multiple platforms and protocols. ### Why IoT Home Automation MCP? - **Protocol Agnostic**: Support for WiFi, Zigbee, Z-Wave, and more - **Multi-Platform**: Control devices across different ecosystems - **Unified Interface**: Single API for all smart home devices - **Scene Management**: Create and trigger complex scenes - **Scheduling**: Time-based automation and scheduling ### Key Features #### 1. Unified Control ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Control all smart devices regardless of platform or protocol" }] ) ``` #### 2. Device Discovery ```python # Discover devices response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Scan network for all smart home devices and their protocols" }] ) ``` #### 3. Scenes ```python # Create scenes response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Create bedtime scene that locks doors, dims lights, and sets thermostat" }] ) ``` #### 4. Schedules ```python # Set schedules response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Schedule porch lights to turn on at sunset and off at midnight" }] ) ``` ### Configuration ```json { "mcpServers": { "iot-automation": { "command": "npx", "args": ["-y", "@anthropic/mcp-server-iot-automation"], "env": { "IOT_HUB_URL": "http://localhost:8080", "IOT_API_KEY": "your-api-key" } } } } ``` ### Use Cases **Multi-Ecosystem**: Manage devices from different smart home platforms. **Automation**: Create cross-platform automations. **Scheduling**: Automate devices based on time and events. **Monitoring**: Monitor all smart home devices centrally. The IoT Home Automation MCP Server brings unified smart home control into your workflow.
{
"mcpServers": {
"iot-automation": {
"mcpServers": {
"iot-automation": {
"env": {
"MQTT_BROKER_URL": "mqtt://localhost:1883"
},
"args": [
"-y",
"iot-home-automation-mcp"
],
"command": "npx"
}
}
}
}
}