Skip to content
VS Code

three.ws Home for VS Code

io.github.nirholas/home-mcp

Read and safely act on a real Home Assistant house: rooms, live state, scenes, gated actions.

client:VS Code transport:stdio runtime:npm

Install three.ws Home in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "home-assistant-url",
      "description": "HOME_ASSISTANT_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "home-assistant-token",
      "description": "HOME_ASSISTANT_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "home-allowed-entities",
      "description": "HOME_ALLOWED_ENTITIES",
      "password": true
    }
  ],
  "servers": {
    "home-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/home-mcp"
      ],
      "env": {
        "HOME_ASSISTANT_URL": "${input:home-assistant-url}",
        "HOME_ASSISTANT_TOKEN": "${input:home-assistant-token}",
        "HOME_ALLOWED_ENTITIES": "${input:home-allowed-entities}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

three.ws Home in other clients