https://github.com/MCP-Mirror/allenporter_mcp-server-home-assistant
Mirror of https://github.com/allenporter/mcp-server-home-assistant
https://github.com/MCP-Mirror/allenporter_mcp-server-home-assistant
Last synced: about 2 months ago
JSON representation
Mirror of https://github.com/allenporter/mcp-server-home-assistant
- Host: GitHub
- URL: https://github.com/MCP-Mirror/allenporter_mcp-server-home-assistant
- Owner: MCP-Mirror
- License: apache-2.0
- Created: 2024-12-25T20:08:32.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-12-25T20:08:36.000Z (10 months ago)
- Last Synced: 2024-12-25T20:27:31.323Z (10 months ago)
- Language: Python
- Size: 0 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mcp-servers - **allenporter_mcp-server-home-assistant** - Mirror of https://github.com/allenporter/mcp-server-home-assistant `python` `mcp` `server` `http` `pip install git+https://github.com/MCP-Mirror/allenporter_mcp-server-home-assistant` (🤖 AI/ML)
- awesome-mcp-servers - **allenporter_mcp-server-home-assistant** - Mirror of https://github.com/allenporter/mcp-server-home-assistant `python` `mcp` `server` `http` `pip install git+https://github.com/MCP-Mirror/allenporter_mcp-server-home-assistant` (AI/ML)
README
# mcp-server-home-assistant
A Model Context Protocol Server for Home Assistant. See [Model Context Protocol](https://modelcontextprotocol.io/)
for context.
## 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