Hub / connectors / home-assistant

Connector · DevOps & Homelab

Home Assistant Local MCP

Query Home Assistant sensors, states, and automations over your home network or tailnet without cloud exposure.

Community Process-isolated MCP · SecurityGate Local 7B+ MIT home-assistantsmarthomehomelablanmcp

How to use

Runs as a process-isolated MCP server (a separate OS process, never imported inside Prometheus). Adding a connector requires the daemon’s master token (owner devices cannot). Tool calls are double-checked against allowed_tools and still prompt in SecurityGate unless you explicitly enable autonomous mode.

~/.prometheus/config.yaml
mcp_servers:
  home-assistant:
    transport: stdio
    command: npx
    args:
      - "-y"
      - "[email protected]"
    allowed_tools:
      - list_entities
      - get_entity_state
      - list_automations
    env:
      HASS_HOST: "${HASS_HOST}"
      HASS_TOKEN: "${HASS_TOKEN}"

Honest disclosures

  • Connects to your local/tailnet Home Assistant instance using HASS_HOST and a long-lived HASS_TOKEN.
  • Default allowed_tools is read-only; add service-call tools explicitly, and every call remains confirmation-gated in SecurityGate.
Inspect raw source (connectors/home-assistant.yaml)
hub_schema: 1
kind: connector
slug: home-assistant
name: Home Assistant Local MCP
version: 0.4.0
category: devops-homelab
tags: [home-assistant, smarthome, homelab, lan, mcp]
trust_tier: community
execution_boundary: mcp_out_of_process
model_fit: local_7b
license: MIT
provenance:
  origin: upstream_mcp
  repo: https://github.com/tevonsb/homeassistant-mcp
  package_pin: "[email protected]"
  audited_at: "2026-11-26"
mcp:
  transport: stdio
  command: npx
  args: ["-y", "[email protected]"]
  allowed_tools:
    - list_entities
    - get_entity_state
    - list_automations
  env_vars: [HASS_HOST, HASS_TOKEN]
disclosures:
  - "Connects to your local/tailnet Home Assistant instance using HASS_HOST and a long-lived HASS_TOKEN."
  - "Default allowed_tools is read-only; add service-call tools explicitly, and every call remains confirmation-gated in SecurityGate."
summary: "Query Home Assistant sensors, states, and automations over your home network or tailnet without cloud exposure."