Skip to content
Cursor

Home Assistant MCP Server for Cursor

io.github.jarahkon/hass-mcp-server

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

client:Cursor transport:stdio runtime:npm

Install Home Assistant MCP Server in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "hass-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@jarahkon/hass-mcp-server"
      ],
      "env": {
        "HA_URL": "<HA_URL>",
        "HA_TOKEN": "<HA_TOKEN>",
        "HA_SSH_HOST": "<HA_SSH_HOST>",
        "HA_SSH_PORT": "<HA_SSH_PORT>",
        "HA_SSH_USER": "<HA_SSH_USER>",
        "HA_SSH_KEY_PATH": "<HA_SSH_KEY_PATH>",
        "HA_SSH_PASSWORD": "<HA_SSH_PASSWORD>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Home Assistant MCP Server in other clients