Atlas / MCP servers / hekmon8 / Home Assistant Server

Home Assistant ServerSAFE

mcp/hekmon8/home-assistant-server

A Model Context Protocol (MCP) server for interacting with Home Assistant. This server provides tools to control and monitor your Home Assistant devices through MCP-enabled applications.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
4 3r · 1w · 0d
Transport
stdio
License
MIT
Stars
48
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://smithery.ai/server/@hekmon8/Homeassistant-server-mcp)

🌟 Sponsors

A Model Context Protocol (MCP) server for interacting with Home Assistant. This server provides tools to control and monitor your Home Assistant devices through MCP-enabled applications.

This project is part of the AI Model Context Protocol (MCP) ecosystem. For more information and documentation about MCP tools, visit www.aimcp.info.

Features

  • Get device states
  • Control device states (on/off)
  • Trigger automations
  • List available entities

Installation

Installing via Smithery

To install Home Assistant MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @hekmon8/Homeassistant-server-mcp --client claude

Manual Installation

  1. Clone this repository:
git clone https://github.com/yourusername/homeassistant-server-mcp.git
cd homeassi
Read from source at commit af249b5e98b4OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add homeassistant-server --env HA_TOKEN=${HA_TOKEN} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "homeassistant-server": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "HA_TOKEN": "${HA_TOKEN}"
      }
    }
  }
}
03

Exposed tools (4)

3 read · 1 write · 0 destructive.

ToolRiskDescription
get_statereadGet the current state of a Home Assistant entity
list_entitiesreadList all available entities in Home Assistant
toggle_entityreadToggle a Home Assistant entity on/off
trigger_automationwriteTrigger a Home Assistant automation
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (3 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (2)

MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
src/index.ts:12
const HA_URL = process.env.HA_URL || 'http://192.168.100.250:8123';
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
axios, @types/node, typescript
Why it matters. 3 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha af249b5e98b4full audit observations/trust-audit/mcp-server/hekmon8__home-assistant-server.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08af249b5e98b4SAFEB89first audit
06

Questions

What is the Home Assistant Server MCP server?

A Model Context Protocol (MCP) server for interacting with Home Assistant. This server provides tools to control and monitor your Home Assistant devices through MCP-enabled applications.

What tools does Home Assistant Server expose?

4 in total: 3 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Home Assistant Server safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Home Assistant Server need?

It reads HA_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Home Assistant Server run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as homeassistant-server at 0.1.0.

How current is this page?

The grade is for one exact copy of the source (af249b5e98b4), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement