ホームアシスタントMCPサーバー
Home Assistantと連携するためのモデルコンテキストプロトコル(MCP)サーバー。このサーバーは、MCP対応アプリケーションを通じてHome Assistantデバイスを制御および監視するためのツールを提供します。
このプロジェクトは、AIモデルコンテキストプロトコル(MCP)エコシステムの一部です。MCPツールに関する詳細情報とドキュメントについては、 www.aimcp.infoをご覧ください。
特徴
- デバイスの状態を取得する
- 制御デバイスの状態(オン/オフ)
- 自動化をトリガーする
- 利用可能なエンティティの一覧
インストール
- このリポジトリをクローンします:
- 依存関係をインストールします:
- プロジェクトをビルドします。
- MCP 設定ファイル (通常、VSCode の場合は
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
にあります) に次のコードを追加して、MCP サーバーを構成します。
your-homeassistant-url
とyour-long-lived-access-token
Home Assistant インスタンスの URL とアクセス トークンに置き換えます。
使用法
サーバーは次のツールを提供します。
1. デバイスの状態を取得する
2. デバイスの状態を切り替える
3. トリガーオートメーション
4. リストエンティティ
貢献
貢献を歓迎します!ご協力いただける方法は次のとおりです。
- リポジトリをフォークする
- 機能ブランチを作成します(
git checkout -b feature/amazing-feature
) - 変更をコミットします (
git commit -m 'Add some amazing feature'
) - ブランチにプッシュする (
git push origin feature/amazing-feature
) - プルリクエストを開く
必要に応じてテストを更新し、既存のコード スタイルに従ってください。
ドキュメント
MCP ツールとエコシステムに関する詳細なドキュメントについては、以下を参照してください。
- www.aimcp.infoをご覧ください
- ウェブサイトのMCPツールディレクトリを確認してください
- 統合ガイドとベストプラクティスを読む
ライセンス
このプロジェクトは MIT ライセンスの下でライセンスされています - 詳細については以下を参照してください:
安全
このサーバーを安全に使用するには:
- Home Assistantインスタンスでは常にHTTPSを使用してください
- アクセストークンを安全に保ち、バージョン管理にコミットしないでください。
- アクセストークンを定期的にローテーションする
- 機密情報には環境変数を使用する
サポート
問題が発生した場合やご質問がある場合は、以下をご覧ください。
- リポジトリ内の既存の問題を確認する
- 問題が報告されていない場合は、新しい問題を作成してください
- 問題を報告するときは、できるだけ多くのコンテキストを提供してください
- 追加のサポートリソースについては、 www.aimcp.infoをご覧ください。
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
モデル コンテキスト プロトコルを介して Home Assistant デバイスおよび自動化とのやり取りを可能にするサーバー。これにより、ユーザーはデバイスの状態を監視したり、デバイスを制御したり、自動化をトリガーしたり、エンティティを一覧表示したりできるようになります。
Related Resources
Related MCP Servers
- -securityFlicense-qualityA versatile Model Context Protocol server that enables AI assistants to manage calendars, track tasks, handle emails, search the web, and control smart home devices.Last updated -2Python
- -securityAlicense-qualityA Model Context Protocol server that integrates with Home Assistant to provide smart home control capabilities through natural language, supporting devices like lights, climate systems, locks, alarms, and humidifiers.Last updated -PythonMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables AI assistants like Claude to interact directly with Home Assistant, allowing them to query device states, control smart home entities, and perform automation tasks.Last updated -15PythonMIT License
- -securityFlicense-qualityA Model Context Protocol server that connects AI assistants like Claude to Notion workspaces, enabling them to view, search, create, and update Notion databases, pages, and content blocks.Last updated -275JavaScript