Control Home Assistant instances programmatically—manage dashboards, automations, add-ons, and files via MCP. For developers integrating Home Assistant into AI workflows or building custom automation tools.
io.github.jarahkon/hass-mcp-server
Local install
STDIO
2 required env vars
How models use it and what it is built for.
Control Home Assistant instances programmatically—manage dashboards, automations, add-ons, and files via MCP. For developers integrating Home Assistant into AI workflows or building custom automation tools.
Local install — runs as a subprocess.
Configuration this server reads at startup.
Home Assistant base URL (e.g. http://homeassistant.local:8123)
Home Assistant long-lived access token
SSH hostname for file management (optional)
SSH port (default: 22)
SSH username (must be root)
Path to SSH private key
SSH password (alternative to key)
Where to find authoritative docs and source for Home Assistant.
Paste any of these into Agent Studio after connecting Home Assistant.
Common questions about connecting and running Home Assistant.
What do I need to connect this MCP server to Home Assistant?
You need your Home Assistant base URL (HA_URL) and a long-lived access token (HA_TOKEN). For file management over SSH, optionally provide HA_SSH_HOST, SSH credentials, and a private key path or password.
Can I manage Home Assistant files remotely with this server?
Yes, if you configure SSH variables (HA_SSH_HOST, HA_SSH_USER, HA_SSH_KEY_PATH or HA_SSH_PASSWORD). SSH access requires root user permissions and defaults to port 22.
What Home Assistant resources can I control through this MCP server?
You can manage dashboards, automations, add-ons, and files. The server provides full programmatic control over these Home Assistant components via the MCP protocol.
How do I generate a long-lived access token for HA_TOKEN?
In Home Assistant, go to your user profile settings, scroll to the bottom, and create a new long-lived access token. Copy it and set it as the HA_TOKEN environment variable.
Is SSH file access required to use this server?
No, SSH is optional. You can control dashboards, automations, and add-ons with just HA_URL and HA_TOKEN. SSH variables are only needed if you want to manage Home Assistant files remotely.
MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 60+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.
Open Agent StudioJudges Panel
45 judges that evaluate AI-generated code for security, cost, and quality with built-in AST.
Addozhang Nexus
Query Sonatype Nexus Repository (OSS/Pro) for Maven, Python, and Docker artifacts
Cyanheads MCP Ts Template
TypeScript template for building MCP servers with declarative tooling, observability, and auth.
Chernistry Bernstein
Declarative agent orchestration for engineering teams