# Mcp Server Home Assistant

> A Model Context Protocol Server for Home Assistant

- **Type:** MCP server
- **Install:** `agentstack add mcp-allenporter-mcp-server-home-assistant`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [allenporter](https://agentstack.voostack.com/s/allenporter)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [allenporter](https://github.com/allenporter)
- **Source:** https://github.com/allenporter/mcp-server-home-assistant
- **Website:** https://allenporter.github.io/mcp-server-home-assistant/

## Install

```sh
agentstack add mcp-allenporter-mcp-server-home-assistant
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# mcp-server-home-assistant

A Model Context Protocol Server for Home Assistant. See [Model Context Protocol](https://modelcontextprotocol.io/)
for context.

The custom component required by this integration is moving to Home Assistant Core in https://github.com/home-assistant/core/pull/134122

## Usage in Claude Desktop

1. Install the [home-assistant-model-context-protocol](https://github.com/allenporter/home-assistant-model-context-protocol) custom component in your Home Assistant instance
1. Create a [Long Lived Access Token](https://www.home-assistant.io/docs/authentication/#your-account-profile)
1. Clone this git repo to a path like `/Users/allen/Development/mcp-server-home-assistant`
1. Edit your `claude_desktop_config.json` with something like this and include your home assistant url and api token:

    ```json
    {
        "mcpServers": {
            "Home-assistant": {
                "command": "uv",
                "args": [
                    "--directory",
                    "/Users/allen/Development/mcp-server-home-assistant",
                    "run",
                    "mcp-server-home-assistant",
                    "-v",
                    "-v"
                ],
                "env": {
                    "HOME_ASSISTANT_WEB_SOCKET_URL": "http://localhost:8123/api/websocket",
                    "HOME_ASSISTANT_API_TOKEN": "byJhbVci0iJIUzI1ii1sInR5cCI6IkpXVCJ9.....
                }
            }
        }
    }
    ```
1. You can view the logs e.g. `~Library/Logs/Claude/mcp-server-Home-assistant.log` to understand what is happening

## Source & license

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

- **Author:** [allenporter](https://github.com/allenporter)
- **Source:** [allenporter/mcp-server-home-assistant](https://github.com/allenporter/mcp-server-home-assistant)
- **License:** Apache-2.0
- **Homepage:** https://allenporter.github.io/mcp-server-home-assistant/

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

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-allenporter-mcp-server-home-assistant
- Seller: https://agentstack.voostack.com/s/allenporter
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
