PluginBench
MCP Server

Home Assistant MCP Server MCP Server

io.github.jarahkon/hass-mcp-server

What is the Home Assistant MCP Server MCP server?

MCP server for full Home Assistant control — dashboards, files, automations, add-ons, and more

How to install Home Assistant MCP Server

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • HA_URL
    required

    Home Assistant base URL (e.g. http://homeassistant.local:8123)

  • HA_TOKEN
    required
    secret

    Home Assistant long-lived access token

  • HA_SSH_HOST

    SSH hostname for file management (optional)

  • HA_SSH_PORT

    SSH port (default: 22)

  • HA_SSH_USER

    SSH username (must be root)

  • HA_SSH_KEY_PATH

    Path to SSH private key

  • HA_SSH_PASSWORD
    secret

    SSH password (alternative to key)

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "hass-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@jarahkon/hass-mcp-server"
      ],
      "env": {
        "HA_URL": "<YOUR_HA_URL>",
        "HA_TOKEN": "<YOUR_HA_TOKEN>",
        "HA_SSH_HOST": "<YOUR_HA_SSH_HOST>",
        "HA_SSH_PORT": "<YOUR_HA_SSH_PORT>",
        "HA_SSH_USER": "<YOUR_HA_SSH_USER>",
        "HA_SSH_KEY_PATH": "<YOUR_HA_SSH_KEY_PATH>",
        "HA_SSH_PASSWORD": "<YOUR_HA_SSH_PASSWORD>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "hass-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@jarahkon/hass-mcp-server"
      ],
      "env": {
        "HA_URL": "<YOUR_HA_URL>",
        "HA_TOKEN": "<YOUR_HA_TOKEN>",
        "HA_SSH_HOST": "<YOUR_HA_SSH_HOST>",
        "HA_SSH_PORT": "<YOUR_HA_SSH_PORT>",
        "HA_SSH_USER": "<YOUR_HA_SSH_USER>",
        "HA_SSH_KEY_PATH": "<YOUR_HA_SSH_KEY_PATH>",
        "HA_SSH_PASSWORD": "<YOUR_HA_SSH_PASSWORD>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "hass-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@jarahkon/hass-mcp-server"
      ],
      "env": {
        "HA_URL": "<YOUR_HA_URL>",
        "HA_TOKEN": "<YOUR_HA_TOKEN>",
        "HA_SSH_HOST": "<YOUR_HA_SSH_HOST>",
        "HA_SSH_PORT": "<YOUR_HA_SSH_PORT>",
        "HA_SSH_USER": "<YOUR_HA_SSH_USER>",
        "HA_SSH_KEY_PATH": "<YOUR_HA_SSH_KEY_PATH>",
        "HA_SSH_PASSWORD": "<YOUR_HA_SSH_PASSWORD>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "hass-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@jarahkon/hass-mcp-server"
      ],
      "env": {
        "HA_URL": "<YOUR_HA_URL>",
        "HA_TOKEN": "<YOUR_HA_TOKEN>",
        "HA_SSH_HOST": "<YOUR_HA_SSH_HOST>",
        "HA_SSH_PORT": "<YOUR_HA_SSH_PORT>",
        "HA_SSH_USER": "<YOUR_HA_SSH_USER>",
        "HA_SSH_KEY_PATH": "<YOUR_HA_SSH_KEY_PATH>",
        "HA_SSH_PASSWORD": "<YOUR_HA_SSH_PASSWORD>"
      }
    }
  }
}
Claude Code
claude mcp add hass-mcp-server --env HA_URL=<YOUR_HA_URL> --env HA_TOKEN=<YOUR_HA_TOKEN> --env HA_SSH_HOST=<YOUR_HA_SSH_HOST> --env HA_SSH_PORT=<YOUR_HA_SSH_PORT> --env HA_SSH_USER=<YOUR_HA_SSH_USER> --env HA_SSH_KEY_PATH=<YOUR_HA_SSH_KEY_PATH> --env HA_SSH_PASSWORD=<YOUR_HA_SSH_PASSWORD> -- npx -y @jarahkon/hass-mcp-server

Related MCP servers

Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.

67k
Python
BSD-3-Clause
View repository →

Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.

45k
TypeScript
Apache-2.0
View repository →

Let AI agents manage your Puter files, websites, and serverless workers over MCP.

43k
TypeScript
AGPL-3.0
View repository →

Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.

37k
TypeScript
Apache-2.0
View repository →

Run arbitrary shell commands from an MCP-connected AI agent.

37k
TypeScript
Apache-2.0
View repository →

Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.

37k
TypeScript
Apache-2.0
View repository →