Home Assistant MCP Server
Provides tools for interacting with a Home Assistant instance via its API, including reading entity states, calling services, retrieving configuration and automations, and triggering automations.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Home Assistant MCP Server
📖 Installation Guide — quick start, manual setup, and troubleshooting
FastMCP 3.2.0 MCP server and webapp for Home Assistant. Portmanteau tool, sampling, agentic workflow, prompts, and skills. Webapp follows SOTA standards (React, Tailwind, dark theme, ports 10834/10835).
Features
MCP tools:
ha(operation=...)get_states, get_state, call_service, get_config, get_automations, trigger_automation.ha_help(category).ha_agentic_workflow(goal)with SEP-1577 sampling.Prompts:
ha_quick_start,ha_diagnostics.Skills:
skills/ha-operator.md.REST API: GET /api/v1/health, /api/v1/states, /api/v1/config, /api/v1/automations; POST /api/v1/services/{domain}/{service}, /api/v1/automations/trigger.
Webapp: Dashboard, States (filter by domain), Services (call service form), Automations (list + trigger), Settings, Help, MCP Tools.
Related MCP server: HA Vibecode Agent
Ports
Backend: 10835 (REST + MCP SSE)
Dashboard: 10834 (Vite)
Quick Start
git clone https://github.com/sandraschi/home-assistant-mcp
cd home-assistant-mcp
justThis opens an interactive dashboard showing all available commands. Run just bootstrap to install dependencies, then just serve or just dev to start.
Manual Setup
If you don't have just installed:
Setup
Clone the repo and install dependencies from the repository root (not web_sota/):
git clone https://github.com/sandraschi/home-assistant-mcp.git
Set-Location home-assistant-mcp
uv syncStart the webapp from the same clone:
cd web_sota
npm run devSet HA_URL (e.g. http://homeassistant.local:8123) and HA_TOKEN (Long-Lived Access Token from HA Profile Long-Lived Access Tokens).
MCP client
{
"mcpServers": {
"home-assistant": {
"url": "http://localhost:10835/sse",
"transport": "sse"
}
}
}Fleet
Documented in mcp-central-docs (integrations + projects/home-assistant-mcp).
🛡️ Industrial Quality Stack
This project adheres to SOTA 14.1 industrial standards for high-fidelity agentic orchestration:
Python (Core): Ruff for linting and formatting. Zero-tolerance for
printstatements in core handlers (T201).Webapp (UI): Biome for sub-millisecond linting. Strict
noConsoleLogenforcement.Protocol Compliance: Hardened
stdout/stderrisolation to ensure crash-resistant JSON-RPC communication.Automation: Justfile recipes for all fleet operations (
just lint,just fix,just dev).Security: Automated audits via
banditandsafety.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Connect any AI agent to 1,000+ apps and 27,000+ actions through one remote MCP server (OAuth).
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Remote MCP access to user-authorized Linux, Windows and Intel Mac devices for AI assistants.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to control and monitor Home Assistant smart home devices through natural language interactions. Supports device control, entity state monitoring, history access, and automation generation with both MCP protocol and standalone HTTP REST API modes.1MIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server and Home Assistant add-on that enables AI assistants to manage smart homes by creating automations, designing dashboards, and interacting with entities. It features native access to Home Assistant APIs, built-in Git versioning for safe rollbacks, and full management of HACS integrations.660MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to control Home Assistant smart home devices via MCP, with zero external dependencies. Supports calling services, getting states, and looking up service parameters.MIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP-compatible AI clients to safely control Home Assistant devices and query MQTT sensors through natural language, using allowlist-guarded actions and pre-defined automations.MIT