Open-source home automation platform.
## OpenHAB MCP Server: Smart Home Automation The **OpenHAB MCP Server** integrates openHAB home automation into Google Antigravity, enabling AI-assisted smart home control, rule creation, and device management across protocols. ### Why OpenHAB MCP? - **Vendor Neutral**: Support for 400+ integrations across brands - **Rule Engine**: Powerful automation with flexible rules - **Persistence**: Store and chart historical data - **User Interfaces**: Multiple UI options including mobile apps - **Community**: Large active community and add-on ecosystem ### Key Features #### 1. Item Control ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "List all openHAB items and control living room thermostat" }] ) ``` #### 2. Thing Management ```python # Manage things response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Show all discovered things and add new Zigbee device" }] ) ``` #### 3. Rules ```python # Create rules response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Create rule to turn on porch lights at sunset" }] ) ``` #### 4. Sitemaps ```python # Configure UI response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Update sitemap to add new room with its devices" }] ) ``` ### Configuration ```json { "mcpServers": { "openhab": { "command": "npx", "args": ["-y", "@anthropic/mcp-server-openhab"], "env": { "OPENHAB_URL": "http://localhost:8080", "OPENHAB_API_TOKEN": "your-api-token" } } } } ``` ### Use Cases **Smart Home Hub**: Central control for multi-vendor smart home. **Automation**: Create sophisticated home automation rules. **Energy Management**: Monitor and optimize energy usage. **Security**: Integrate and automate security systems. The OpenHAB MCP Server brings comprehensive home automation into your workflow.
{
"mcpServers": {
"openhab": {}
}
}