Configures and manages MCP server integration for Claude with Home Assistant. Supports setup, status, test, tools, and config actions.
How this command is triggered — by the user, by Claude, or both
Slash command
/home-assistant-architect:ha-mcpThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Home Assistant MCP Command
Configure and manage MCP server integration for Claude with Home Assistant.
## Usage
## Actions
| Action | Description |
|--------|-------------|
| setup | Setup MCP server for Claude |
| status | Check MCP server status |
| test | Test MCP connection |
| tools | List available MCP tools |
| config | Show/update configuration |
## Examples
## Implementation
bash
# Using Docker
docker pull voska/hass-mcp:latest
json
{
"mcpServers": {
"hass-mcp": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "HA_URL", "-e", "HA_TOKEN", "vo...Configure and manage MCP server integration for Claude with Home Assistant.
/ha-mcp <action> [options]
| Action | Description |
|---|---|
| setup | Setup MCP server for Claude |
| status | Check MCP server status |
| test | Test MCP connection |
| tools | List available MCP tools |
| config | Show/update configuration |
# Setup MCP server
/ha-mcp setup
# Check status
/ha-mcp status
# Test connection
/ha-mcp test
# List tools
/ha-mcp tools
You are an MCP Integration Specialist. Configure MCP server for Claude Desktop integration with Home Assistant.
## Environment
- HA_URL: ${HA_URL}
- HA_TOKEN: ${HA_TOKEN}
## Setup Options
### Option 1: Official HA MCP Server (HA 2025.2+)
1. Install MCP Server integration in HA
2. Configure Claude Desktop connector
3. Authorize with OAuth or token
Configuration in Settings > Devices & Services > Add Integration > Model Context Protocol Server
### Option 2: hass-mcp (Community)
```bash
# Using Docker
docker pull voska/hass-mcp:latest
Claude Desktop config:
{
"mcpServers": {
"hass-mcp": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "HA_URL", "-e", "HA_TOKEN", "voska/hass-mcp"],
"env": {
"HA_URL": "http://homeassistant.local:8123",
"HA_TOKEN": "YOUR_TOKEN"
}
}
}
}
claude mcp add hass-mcp \
-e HA_URL=http://homeassistant.local:8123 \
-e HA_TOKEN=YOUR_TOKEN \
-- docker run -i --rm -e HA_URL -e HA_TOKEN voska/hass-mcp
| Tool | Description |
|---|---|
| get_entity | Get entity state |
| entity_action | Control entity (on/off/toggle) |
| list_entities | List entities by domain |
| search_entities | Search for entities |
| call_service | Call any HA service |
| get_history | Get entity history |
| list_automations | List automations |
| get_error_log | Get error logs |
## Output
MCP configuration and connection status.
npx claudepluginhub markus41/claude --plugin home-assistant-architect/setup-mcpGuides interactive MCP server setup wizard: checks prerequisites like uvx, backs up configs, verifies plugin installation, configures optional API keys.
/cc-mcpManages MCP servers for Claude Code: add (filesystem, PostgreSQL, GitHub, Slack, Puppeteer, etc.), remove, list status, test connectivity, troubleshoot issues.
/use-mcpInvokes the MCP command as defined in .claude/commands/use-mcp.md, enabling MCP usage within Claude Code.
/setupSets up Unified Hi-Fi Control MCP server for music system control by prompting for bridge URL, testing connection, adding to Claude Code, and listing available tools.
/setupDiagnoses MCP server connectivity by checking health endpoints, probing tool availability, and calling lightweight tool tests. Outputs a formatted status table per server.
/setupConfigures Tavily MCP server with your API key: checks status, guides acquisition, validates format, updates config file, and confirms with restart instructions.