MCP server for full Home Assistant control β dashboards, files, automations, add-ons, and more
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
MCP server for full Home Assistant control. AI agents (GitHub Copilot, Claude, etc.) can manage your dashboards, automations, files, apps, entities, and more β so you never have to touch HA settings yourself.
66 tools across 5 categories, using three HA transport layers: REST API, WebSocket API, and SSH/SFTP.
No installation needed β your MCP client runs the server automatically via npx. Just add the configuration to your client and you're ready to go.
The server is configured through environment variables set in your MCP client's configuration file. The client injects these into the server process at launch time β you never need to set system-wide environment variables.
| Variable | Description | Example |
|---|---|---|
HA_URL | Home Assistant base URL | http://homeassistant.local:8123 |
HA_TOKEN | Long-lived access token | (from HA Profile β Security) |
File management tools require SSH access. See Setting Up SSH below.
| Variable | Description | Example |
|---|---|---|
HA_SSH_HOST | SSH hostname | homeassistant.local |
HA_SSH_PORT | SSH port (default: 22) | 22 |
HA_SSH_USER | SSH username (must be root) | root |
HA_SSH_KEY_PATH | Path to SSH private key | See examples per OS |
HA_SSH_PASSWORD | SSH password (alternative to key) | (your password) |
Choose the setup for your MCP client below. In each case, add the configuration and the client will automatically download and run the server via npx.
Tip: You can omit the
HA_SSH_*variables if you don't need file management tools. The server will start without SFTP and only fail if you try to use a file tool.
The easiest way β install the Home Assistant MCP Server extension from the VS Code Marketplace. It registers the MCP server automatically and stores your credentials securely.
homeAssistantMcp.url.Ctrl+Shift+P).For file management, configure the SSH settings (homeAssistantMcp.ssh.*) and optionally run "Home Assistant MCP: Set SSH Password".
mcp.jsonClick the badge at the top of this README, or use the link below. VS Code will prompt you for your Home Assistant URL and access token.
mcp.json setupCreate .vscode/mcp.json in your workspace (or add to your User Settings for global access):
With SSH (for file management tools):
Edit the Claude Desktop config file:
| OS | Config file path |
|---|---|
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
Edit ~/.cursor/mcp.json:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/home-assistant-mcp-server)<a href="https://allmcps.com/mcp/home-assistant-mcp-server"><img src="https://allmcps.com/api/badge/home-assistant-mcp-server?style=directory" alt="Home Assistant MCP Server on AllMCPs" /></a>