@genm/スイッチボット-mcp
AI アシスタントに SwitchBot デバイス制御機能を提供するモデル コンテキスト プロトコル サーバー。
特徴
デバイスの一覧
デバイスのステータスを取得する
制御デバイス(オン/オフ)
デバイス設定を変更する
シーンコントロール
デバイスステータス監視
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の SwitchBot MCP Server を自動的にインストールするには:
手動インストール
設定
1. SwitchBot API設定
SwitchBotアプリをインストールする
アカウントを作成してサインインする
プロフィール > 設定 > 開発者向けオプションに移動します
トークンと秘密鍵の両方を取得する
2. MCPサーバーの構成
claude_desktop_config.jsonに以下を追加します。
3. 環境変数
対応デバイス
プラグ
リビングルームのフロアランプ
オフィスPC電源
ボット
キッチンコーヒーメーカー
リビングルーム用空気清浄機
カーテン
寝室の窓のカーテン
勉強部屋用遮光カーテン
エアコン
リビングルームのエアコン
寝室のエアコン
加湿器
寝室用加湿器
勉強部屋用加湿器
ライト
キッチンの天井照明
寝室のナイトライト
リモコン
リビングルームのテレビ
勉強部屋用扇風機
デバイス名の例
AIアシスタントによる制御を容易にするために、デバイスにわかりやすい名前を付けることをお勧めします。例:
「カーテン」ではなく「寝室のカーテン」
「エアコン」ではなく「リビングルームAC」
「ボット」ではなく「キッチンコーヒーメーカー」
この命名規則は、AI アシスタントが各デバイスのコンテキストと場所を理解するのに役立ちます。
サポートされている操作
デバイス管理
デバイスの一覧
デバイスのステータスを取得する
デバイスのオン/オフ
デバイス設定を変更する
シーン管理
シーン一覧
シーンを実行する
センサー情報
温度
湿度
輝度
モーション
発達
トラブルシューティング
デバイスが応答しません
デバイスがBluetoothの範囲内にあることを確認してください
デバイスのバッテリー状態を確認する
SwitchBotハブの接続ステータスを確認する
認証エラー
トークンと秘密鍵の有効期限を確認する
トークンと秘密鍵を再生成する
環境変数を更新する
ライセンス
ISC
local-only server
The server can only run on the client's local machine because it depends on local resources.
AI アシスタントが SwitchBot デバイスを制御できるようにし、SwitchBot API を通じてデバイス管理、シーン実行、センサー情報の監視などの機能を提供します。
Related Resources
Related MCP Servers
- -security-license-qualityEnables AI agents to control Minecraft bots through a standardized JSON-RPC interface.Last updated -434MIT License
- Asecurity-licenseAqualityProvides tools for AI assistants to interact with smart home devices through Home Assistant, allowing operations like checking entity states and calling services.Last updated -33MIT License
- Asecurity-licenseAqualityEnables AI assistants to interact with WordPress sites through REST APIs, allowing programmatic management of posts, users, comments, categories, and tags with secure authentication.Last updated -2946MIT License
- -security-license-qualityEnables AI assistants to control a browser through a set of tools, allowing them to perform web automation tasks like navigation, typing, clicking, and taking screenshots.Last updated -