GitHub Stars
0
User Rating
Not Rated
Forks
0
Issues
0
Views
1
Favorites
0
MCP Bridge Integration v2.0.0
š¤ Advanced Home Assistant Integration for Claude.ai with Direct Core Access
This custom integration provides direct Home Assistant core access for the MCP Bridge add-on, enabling advanced automation management, dynamic scene creation, and intelligent dashboard generation through Claude.ai.
š Features
šÆ Direct HA Core Access
- ā Zero API overhead - Direct service calls to HA core
- ā Real-time entity capabilities - Cached device and entity information
- ā Advanced automation templates - Pre-built automation patterns
- ā Transaction-based operations - Bulk device control with rollback
š ļø Advanced Services
š¬ Dynamic Scene Creation
Create complex scenes with advanced configurations:
service: mcp_bridge.create_dynamic_scene
data:
name: "Movie Night"
entities:
- entity_id: light.living_room
state: "on"
brightness: 100
color_temp: 400
- entity_id: climate.main
state: "heat"
temperature: 22
š¤ Automation Management
Create automations from templates with natural language:
service: mcp_bridge.modify_automation
data:
name: "Smart Motion Light"
template: "motion_light"
trigger_entity: binary_sensor.motion_detector
target_entity: light.hallway
š Bulk Device Control
Control multiple devices atomically:
service: mcp_bridge.bulk_device_control
data:
rollback_on_error: true
operations:
- entity_id: light.bedroom_1
action: "turn_on"
params: {brightness: 200}
- entity_id: light.bedroom_2
action: "turn_on"
params: {brightness: 200}
š Dashboard Generation
Generate Lovelace dashboards automatically:
service: mcp_bridge.generate_dashboard
data:
title: "Living Room Control"
area_id: "living_room"
type: "room"
š Monitoring & Status
sensor.mcp_bridge_integration_status
- Integration status and metricssensor.mcp_bridge_capabilities
- Available capabilities and features
š¦ Installation
Method 1: HACS (Recommended)
- Open HACS in Home Assistant
- Go to Integrations ā ā® ā Custom repositories
- Add repository:
https://github.com/shaike1/ha-mcp-bridge-integration
- Category: Integration
- Download and Restart Home Assistant
- Go to Settings ā Devices & Services ā Add Integration
- Search for "MCP Bridge Integration"
Method 2: Manual Installation
- Download the
custom_components/mcp_bridge/
folder - Copy to your Home Assistant
config/custom_components/
directory - Restart Home Assistant
- Add integration via Settings ā Integrations
š Hybrid Integration with Add-on
This integration works seamlessly with the HA MCP Bridge Enhanced add-on:
- š Add-on handles MCP protocol and Claude.ai communication
- ā” Integration provides advanced HA core capabilities
- š Hybrid Bridge enables seamless communication between components
Get the Add-on: https://github.com/shaike1/haos-mcp
šÆ How the Hybrid System Works:
graph LR
A[Claude.ai] --> B[MCP Bridge Add-on]
B --> C{Integration Available?}
C -->|Yes| D[Advanced Tools ā Integration]
C -->|No| E[Basic Tools ā Add-on]
D --> F[Direct HA Core Access]
E --> G[HA REST API]
š ļø Configuration
- Install the Integration
- Go to: Settings ā Integrations
- Add Integration ā Search "MCP Bridge"
- Enable advanced features (recommended)
- Auto-discover add-on (if installed)
š Claude.ai Integration
When used with the enhanced add-on, Claude.ai can now:
- š¬ Create complex scenes based on natural language descriptions
- š¤ Generate automations from simple text instructions
- š Control multiple devices in coordinated actions
- š Build custom dashboards for specific rooms or purposes
Example Claude Commands:
- "Create a movie night scene with dim warm lighting and comfortable temperature"
- "Set up an automation that turns on the hallway light when motion is detected"
- "Control all bedroom lights together and make them warm white"
- "Generate a dashboard for the living room with lights and climate controls"
š§ Advanced Usage
Entity Capabilities Cache
The integration maintains a comprehensive cache of:
- š Device information - Manufacturer, model, identifiers
- š Area assignments - Room and location mapping
- ā” Supported features - Available actions and capabilities
- š Real-time attributes - Current state and configuration
API Communication
When the add-on is installed, it can communicate with this integration via:
GET /api/mcp_bridge/status
- Integration statusPOST /api/mcp_bridge/{service}
- Execute advanced servicesGET /api/mcp_bridge/capabilities
- Available capabilities
š Troubleshooting
Integration not loading:
- Check Home Assistant logs for errors
- Ensure all dependencies are installed
- Verify Home Assistant version ā„ 2023.1.0
Services not available:
- Restart Home Assistant after installation
- Check that integration is properly configured in UI
- Verify no conflicts with other integrations
Add-on communication issues:
- Ensure both add-on and integration are running
- Check add-on logs for connection errors
- Verify API endpoints are accessible
š Support
- š Issues: GitHub Issues
- š Documentation: Full Guide
- š¬ Community: Home Assistant Community
- š Add-on Repository: HA MCP Bridge Add-on
š¤ Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
š License
This project is licensed under the MIT License - see the LICENSE file for details.
ā Credits
- š¤ Claude.ai - AI assistant integration
- š Home Assistant - Smart home platform
- š„ Community - Feature requests and testing
šÆ Part of the MCP Bridge Ecosystem
š Works with: HA MCP Bridge Add-on
šŖ Available via: HACS Custom Repository