Skip to content
MCP server

three.ws Home

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.0
Listing updated
6 days ago

About three.ws Home

three.ws Home is an open-source MCP server. It runs locally on your machine and is started by your AI client.

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

Install

Run in a terminal

claude mcp add home-mcp --env HOME_ASSISTANT_URL='<HOME_ASSISTANT_URL>' --env HOME_ASSISTANT_TOKEN='<HOME_ASSISTANT_TOKEN>' -- npx -y @three-ws/home-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "home-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/home-mcp"
      ],
      "env": {
        "HOME_ASSISTANT_URL": "<HOME_ASSISTANT_URL>",
        "HOME_ASSISTANT_TOKEN": "<HOME_ASSISTANT_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "home-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/home-mcp"
      ],
      "env": {
        "HOME_ASSISTANT_URL": "<HOME_ASSISTANT_URL>",
        "HOME_ASSISTANT_TOKEN": "<HOME_ASSISTANT_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "home-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/home-mcp"
      ],
      "env": {
        "HOME_ASSISTANT_URL": "<HOME_ASSISTANT_URL>",
        "HOME_ASSISTANT_TOKEN": "<HOME_ASSISTANT_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "home-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/home-mcp"
      ],
      "env": {
        "HOME_ASSISTANT_URL": "<HOME_ASSISTANT_URL>",
        "HOME_ASSISTANT_TOKEN": "<HOME_ASSISTANT_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "home-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/home-mcp"
      ],
      "env": {
        "HOME_ASSISTANT_URL": "<HOME_ASSISTANT_URL>",
        "HOME_ASSISTANT_TOKEN": "<HOME_ASSISTANT_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • HOME_ASSISTANT_URLBase URL of the Home Assistant instance, e.g. https://abc123.ui.nabu.casa. It has to be a URL this process can actually reach: a server outside the house cannot route to 192.168.x.x, so a LAN-only home needs Home Assistant Cloud or the household's own reverse proxy.Required
  • HOME_ASSISTANT_TOKENA Home Assistant long-lived access token (Home Assistant, your profile, Security, Long-lived access tokens, Create token). It carries the full rights of the account that minted it, so mint it from an account with only the access this agent should have.Required
  • HOME_ALLOWED_ENTITIESComma-separated entity ids the person running this server has pre-approved for guarded actions, e.g. lock.office_door. This is the ONLY way an action that opens the house runs over stdio, and it is deliberately a human, out-of-band decision: no tool can add to it. Per entity, never per domain. Leave unset to refuse every such action.

Pricing

Open source

Prices change. Check three.ws before you buy.

three.ws Home FAQ

Is three.ws Home free?

Yes. three.ws Home is open source, so you can use and self-host it for free.

How do I add three.ws Home to Claude Code?

Run this command in your terminal: claude mcp add home-mcp --env HOME_ASSISTANT_URL='<HOME_ASSISTANT_URL>' --env HOME_ASSISTANT_TOKEN='<HOME_ASSISTANT_TOKEN>' -- npx -y @three-ws/home-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers