AgentStack
MCP verified MIT Self-run

Hass Mcp

mcp-hannoeru-hass-mcp · by hannoeru

MCP server for Home Assistant (REST/WebSocket) control

No reviews yet
0 installs
10 views
0.0% view→install

Install

$ agentstack add mcp-hannoeru-hass-mcp

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Hass Mcp? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

hass-mcp

An open-source MCP server for controlling and querying Home Assistant.

  • Transport: stdio
  • Auth: Home Assistant long-lived token
  • API: Home Assistant REST API

Features

Tools exposed:

  • ha_get_state — get state for an entity
  • ha_list_states — list all states (can be large)
  • ha_call_service — call any service

Install

pnpm install
pnpm build

Run

export HASS_URL="http://homeassistant.local:8123"
export HASS_TOKEN=""

pnpm start

Configure in an MCP client

Example (conceptual):

{
  "mcpServers": {
    "homeassistant": {
      "command": "npx",
      "args": ["-y", "hass-mcp"],
      "env": {
        "HASS_URL": "http://homeassistant.local:8123",
        "HASS_TOKEN": "..."
      }
    }
  }
}

Security

  • Treat tokens as secrets.
  • Prefer running this server on the same LAN as Home Assistant.
  • If your HA is behind Cloudflare Access, run this MCP server on the LAN side.

License

MIT

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.