35 lines
987 B
Markdown
35 lines
987 B
Markdown
# MCP Bridge
|
|
|
|
Bridge integration between Home Assistant and MCP (Model Context Protocol) servers for AI agent control.
|
|
|
|
## Features
|
|
|
|
- ✅ Expose entities to AI agents via voice assistant settings
|
|
- ✅ Control which scripts are accessible using labels
|
|
- ✅ Complete entity metadata including area, device class, and attributes
|
|
- ✅ Secure: Only exposes what you explicitly mark
|
|
|
|
## Services
|
|
|
|
- `mcp_bridge.get_exposed_entities` - Get all exposed entities
|
|
- `mcp_bridge.get_exposed_scripts` - Get MCP-accessible scripts
|
|
- `mcp_bridge.get_entity_metadata` - Get detailed entity info
|
|
|
|
## Configuration
|
|
|
|
No configuration needed! The integration auto-loads after installation.
|
|
|
|
### Exposing Entities
|
|
|
|
Go to: **Settings → Voice Assistants → Expose**
|
|
|
|
Toggle the entities you want the AI agent to control.
|
|
|
|
### Exposing Scripts
|
|
|
|
1. Create or edit a script
|
|
2. Click the settings icon ⚙️
|
|
3. Add the label: `mcp_accessible`
|
|
4. Save
|
|
|
|
That's it! The script is now accessible to AI agents. |