Hass
БесплатноНе проверенMCP server for controlling and querying Home Assistant via its REST API, exposing tools to get entity states, list all states, and call services.
Описание
MCP server for controlling and querying Home Assistant via its REST API, exposing tools to get entity states, list all states, and call services.
README
An open-source MCP server for controlling and querying Home Assistant.
- Transport: stdio
- Auth: Home Assistant long-lived token
- API: Home Assistant REST API
Features
Tools exposed:
ha_get_state— get state for an entityha_list_states— list all states (can be large)ha_call_service— call any service
Install
pnpm install
pnpm build
Run
export HASS_URL="http://homeassistant.local:8123"
export HASS_TOKEN="<your long-lived access token>"
pnpm start
Configure in an MCP client
Example (conceptual):
{
"mcpServers": {
"homeassistant": {
"command": "npx",
"args": ["-y", "hass-mcp"],
"env": {
"HASS_URL": "http://homeassistant.local:8123",
"HASS_TOKEN": "..."
}
}
}
}
Security
- Treat tokens as secrets.
- Prefer running this server on the same LAN as Home Assistant.
- If your HA is behind Cloudflare Access, run this MCP server on the LAN side.
License
MIT
Установить Hass в Claude Desktop, Claude Code, Cursor
unyly install hass-mcpСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add hass-mcp -- npx -y hass-mcpFAQ
Hass MCP бесплатный?
Да, Hass MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Hass?
Нет, Hass работает без API-ключей и переменных окружения.
Hass — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Hass в Claude Desktop, Claude Code или Cursor?
Открой Hass на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Hass with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
