Home Assistant MCP Control
Provides tools for controlling Home Assistant devices, including lights and other entities, via a configurable whitelist.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Home Assistant MCP Controlturn on the living room lights"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Home Assistant MCP Control
一个用于控制外部 Home Assistant 设备的 MCP 控制层与前端系统页面。
当前架构
Home Assistant 不在本仓库内启动
本仓库只负责 MCP 控制层与前端系统页面
通过根目录
.env连接你自己的 Home Assistant 地址与 Token
Related MCP server: Home Assistant MCP Server
快速启动
1. 准备环境文件
复制 .env.example 为 .env,并填写你的 Home Assistant 地址与 token。
HOME_ASSISTANT_BASE_URL=http://192.168.150.11:8123
HOME_ASSISTANT_TOKEN=your_home_assistant_long_lived_token
HOME_ASSISTANT_TIMEOUT_MS=150002. 一键启动
Windows 下直接运行:
pnpm docker:dev它会自动:
检查
.env构建并启动 Docker 服务
打印访问地址
尝试自动打开浏览器
如果你只想后台启动容器,也可以使用:
docker compose up -d3. 访问地址
系统页面: http://127.0.0.1:5173
MCP API: http://127.0.0.1:4000/healthz
设备控制 API: http://127.0.0.1:4000/api/control/lights
常用命令
pnpm docker:dev
docker compose up -d --build
docker compose up -d
docker compose ps
docker compose logs -f mcp-server
docker compose logs -f log-platform
docker compose down目录说明
packages/mcp-server:MCP 控制层后端apps/log-platform:前端系统页面config/lights.json:可控制设备白名单start.bat/start.ps1:Windows 一键启动脚本
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/chllhc-SVG/home-assistant-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server