HO

Home Assistant MCP Server

Published by jarahkon

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

Website
CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
1.0.6
SOURCE CHECKED
Nov 28, 2026

Quick answers

How do I add Home Assistant MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'HA_URL=<your-ha-url>' --env 'HA_TOKEN=<your-ha-token>' --env 'HA_SSH_PASSWORD=<your-ha-ssh-password>' --transport stdio home-assistant -- npx -y @jarahkon/hass-mcp-server

Replace the <your-…> placeholder with your own HA_URL and HA_TOKEN and HA_SSH_PASSWORD.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "home-assistant": {
      "command": "npx",
      "args": [
        "-y",
        "@jarahkon/hass-mcp-server"
      ],
      "env": {
        "HA_URL": "<your-ha-url>",
        "HA_TOKEN": "<your-ha-token>",
        "HA_SSH_PASSWORD": "<your-ha-ssh-password>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own HA_URL and HA_TOKEN and HA_SSH_PASSWORD.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add home-assistant --env 'HA_URL=<your-ha-url>' --env 'HA_TOKEN=<your-ha-token>' --env 'HA_SSH_PASSWORD=<your-ha-ssh-password>' -- npx -y @jarahkon/hass-mcp-server

Replace the <your-…> placeholder with your own HA_URL and HA_TOKEN and HA_SSH_PASSWORD.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "home-assistant": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@jarahkon/hass-mcp-server"
      ],
      "env": {
        "HA_URL": "<your-ha-url>",
        "HA_TOKEN": "<your-ha-token>",
        "HA_SSH_PASSWORD": "<your-ha-ssh-password>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own HA_URL and HA_TOKEN and HA_SSH_PASSWORD.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "home-assistant": {
      "command": "npx",
      "args": [
        "-y",
        "@jarahkon/hass-mcp-server"
      ],
      "env": {
        "HA_URL": "<your-ha-url>",
        "HA_TOKEN": "<your-ha-token>",
        "HA_SSH_PASSWORD": "<your-ha-ssh-password>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own HA_URL and HA_TOKEN and HA_SSH_PASSWORD.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use Home Assistant MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does Home Assistant MCP Server need an API key?

To run it on your computer, set HA_URL, HA_TOKEN and HA_SSH_PASSWORD first, with values from the publisher.

Is Home Assistant MCP Server official?

It's published by jarahkon. The Official MCP Registry accepts names under io.github.jarahkon only from the GitHub account or organisation jarahkon. We last checked its listing on Nov 28, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

npm · @jarahkon/hass-mcp-server@1.0.6
View source repository