A Model Context Protocol (MCP) server for interacting with Home Assistant. This server provides tools to control and monitor your Home Assistant devices through MCP-enabled applications.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add home-assistant -- npx -y @smithery/cli install @hekmon8/Homeassistant-server-mcp --client claude~/.codex/config.toml
[mcp_servers.home-assistant]
command = "npx"
args = ["-y", "@smithery/cli", "install", "@hekmon8/Homeassistant-server-mcp", "--client", "claude"]
# codex mcp add home-assistant -- npx -y @smithery/cli install @hekmon8/Homeassistant-server-mcp --client claude~/.cursor/mcp.json
{
"mcpServers": {
"home-assistant": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@hekmon8/Homeassistant-server-mcp",
"--client",
"claude"
]
}
}
}.vscode/mcp.json
{
"servers": {
"home-assistant": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@hekmon8/Homeassistant-server-mcp",
"--client",
"claude"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"home-assistant": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@hekmon8/Homeassistant-server-mcp",
"--client",
"claude"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"home-assistant": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@hekmon8/Homeassistant-server-mcp",
"--client",
"claude"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"home-assistant": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@hekmon8/Homeassistant-server-mcp",
"--client",
"claude"
]
}
}
}