{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "com.foreverworks/home-assistant",
  "slug": "com.foreverworks.home-assistant",
  "title": "Home Assistant",
  "summary": "Read your Home Assistant's states, areas and history, and run its actions, approving locks first.",
  "version": "0.1.4",
  "serverKey": "home-assistant",
  "pageUrl": "https://mcpkglabs.com/tool/com.foreverworks.home-assistant",
  "installMdUrl": "https://mcpkglabs.com/tool/com.foreverworks.home-assistant/install.md",
  "trust": {
    "score": 92,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T13:14:46.836635625Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@foreverworks/mcp-home-assistant@0.1.4"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add home-assistant -e 'HOME_ASSISTANT_TOKEN_FILE=<HOME_ASSISTANT_TOKEN_FILE>' -e 'HOME_ASSISTANT_URL=<HOME_ASSISTANT_URL>' -- npx -y @foreverworks/mcp-home-assistant@0.1.4"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"home-assistant\": {\n      \"args\": [\n        \"-y\",\n        \"@foreverworks/mcp-home-assistant@0.1.4\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"HOME_ASSISTANT_TOKEN_FILE\": \"<HOME_ASSISTANT_TOKEN_FILE>\",\n        \"HOME_ASSISTANT_URL\": \"<HOME_ASSISTANT_URL>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"home-assistant\": {\n      \"args\": [\n        \"-y\",\n        \"@foreverworks/mcp-home-assistant@0.1.4\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"HOME_ASSISTANT_TOKEN_FILE\": \"<HOME_ASSISTANT_TOKEN_FILE>\",\n        \"HOME_ASSISTANT_URL\": \"<HOME_ASSISTANT_URL>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"HOME_ASSISTANT_TOKEN_FILE\",\n      \"id\": \"home-assistant-token-file\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"HOME_ASSISTANT_URL\",\n      \"id\": \"home-assistant-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"home-assistant\": {\n      \"args\": [\n        \"-y\",\n        \"@foreverworks/mcp-home-assistant@0.1.4\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"HOME_ASSISTANT_TOKEN_FILE\": \"${input:home-assistant-token-file}\",\n        \"HOME_ASSISTANT_URL\": \"${input:home-assistant-url}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.home-assistant]\ncommand = \"npx\"\nargs = [\"-y\", \"@foreverworks/mcp-home-assistant@0.1.4\"]\nenv = { \"HOME_ASSISTANT_TOKEN_FILE\" = \"<HOME_ASSISTANT_TOKEN_FILE>\", \"HOME_ASSISTANT_URL\" = \"<HOME_ASSISTANT_URL>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "HOME_ASSISTANT_URL",
      "required": true,
      "secret": false,
      "description": "The address you open Home Assistant at, such as http://homeassistant.local:8123.",
      "help": "The address you open Home Assistant at, such as http://homeassistant.local:8123.",
      "placeholder": "<HOME_ASSISTANT_URL>"
    },
    {
      "name": "HOME_ASSISTANT_TOKEN_FILE",
      "required": true,
      "secret": false,
      "description": "Path of a file holding a long-lived access token made in an administrator's Home Assistant profile.",
      "help": "Path of a file holding a long-lived access token made in an administrator's Home Assistant profile.",
      "placeholder": "<HOME_ASSISTANT_TOKEN_FILE>"
    },
    {
      "name": "HOME_ASSISTANT_CONFIRM_DOMAINS",
      "required": false,
      "secret": false,
      "description": "Action domains you approve call by call, comma-separated (default lock,alarm_control_panel,cover,valve; none for none).",
      "help": "Action domains you approve call by call, comma-separated (default lock,alarm_control_panel,cover,valve; none for none).",
      "placeholder": "<HOME_ASSISTANT_CONFIRM_DOMAINS>"
    }
  ],
  "expectedTools": [
    "call_action",
    "call_action_confirmed",
    "get_states",
    "health",
    "history",
    "list_actions",
    "list_areas",
    "list_entities",
    "logbook",
    "render_template"
  ],
  "agentSteps": [
    "Ask the user for: HOME_ASSISTANT_URL, HOME_ASSISTANT_TOKEN_FILE. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: call_action, call_action_confirmed, get_states, health, history, list_actions, list_areas, list_entities, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T13:14:46.836635625Z"
}
