- Created detailed getting started guide with installation and configuration instructions - Added main documentation README with structured table of contents - Developed troubleshooting guide with common issues, debugging tips, and FAQ - Included development guide with project structure, setup, and contribution guidelines - Added tools documentation with overview of available management tools
2.8 KiB
2.8 KiB
Home Assistant MCP Tools
This section documents all available tools in the Home Assistant MCP.
Available Tools
Device Management
-
- List all available Home Assistant devices
- Group devices by domain
- Get device states and attributes
-
- Control various device types
- Support for lights, switches, covers, climate devices
- Domain-specific commands and parameters
History and State
-
- Fetch device state history
- Filter by time range
- Get significant changes
-
- List available scenes
- Activate scenes
- Scene state information
Automation
-
- List automations
- Toggle automation state
- Trigger automations manually
-
- Create new automations
- Update existing automations
- Delete automations
- Duplicate automations
Add-ons and Packages
-
- List available add-ons
- Install/uninstall add-ons
- Start/stop/restart add-ons
- Get add-on information
-
- Manage HACS packages
- Install/update/remove packages
- List available packages by category
Notifications
- Notify
- Send notifications
- Support for multiple notification services
- Custom notification data
Real-time Events
-
- Subscribe to Home Assistant events
- Monitor specific entities
- Domain-based monitoring
-
- Get SSE connection statistics
- Monitor active subscriptions
- Connection management
Using Tools
All tools can be accessed through:
- REST API endpoints
- WebSocket connections
- Server-Sent Events (SSE)
Authentication
Tools require authentication using:
- Home Assistant Long-Lived Access Token
- JWT tokens for specific operations
Error Handling
All tools follow a consistent error handling pattern:
{
success: boolean;
message?: string;
data?: any;
}
Rate Limiting
Tools are subject to rate limiting:
- Default: 100 requests per 15 minutes
- Configurable through environment variables
Tool Development
Want to create a new tool? Check out:
Examples
Each tool documentation includes:
- Usage examples
- Code snippets
- Common use cases
- Troubleshooting tips
Support
Need help with tools?
- Check individual tool documentation
- See Troubleshooting Guide
- Create an issue on GitHub