mcp-server-home-assistant
Home Assistant用のモデルコンテキストプロトコルサーバー。コンテキストについては、モデルコンテキストプロトコルを参照してください。
この統合に必要なカスタム コンポーネントは、 https://github.com/home-assistant/core/pull/134122で Home Assistant Core に移行しています。
Claude Desktopでの使用
Home Assistantインスタンスにhome-assistant-model-context-protocolカスタムコンポーネントをインストールします。
長期アクセストークンを作成する
このgitリポジトリ
/Users/allen/Development/mcp-server-home-assistantのようなパスにクローンします。claude_desktop_config.jsonを次のように編集し、ホーム アシスタントの URL と API トークンを追加します。{ "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..... } } } }何が起こっているかを理解するために、ログ(例:
~Library/Logs/Claude/mcp-server-Home-assistant.logを参照できます。
This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.