switchbot-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@switchbot-mcpturn on the living room light"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
m5-petit-switchbot
SwitchBot Cloud API(v1.1)をラップするMCPサーバー。プラグ・照明・カーテン・赤外線リモコンなどを操作できる。
セットアップ
SwitchBotアプリ → プロフィール → 設定 → アプリバージョンを10回タップ → 「開発者向けオプション」が出現
そこから Token と Secret を取得
.env.exampleを参考に環境変数SWITCHBOT_TOKEN/SWITCHBOT_SECRETを設定
Related MCP server: Smart Home MCP Server
ツール
ツール | 内容 |
| 登録デバイス一覧(物理デバイス+赤外線リモコン) |
| デバイスの現在の状態(物理デバイスのみ) |
| 任意のコマンドを送る(command/parameter/commandType) |
| 電源ON/OFF(プラグ・照明・赤外線家電) |
デバイスIDは list_devices で調べる。
キャラクターへの登録例
$PETIT_DATA_DIR/characters/<id>/config/autonomous-mcp.json の mcpServers に追加:
"switchbot": {
"command": "uv",
"args": ["run", "--directory", "/path/to/m5-petit-switchbot", "switchbot-mcp"],
"env": {
"SWITCHBOT_TOKEN": "...",
"SWITCHBOT_SECRET": "..."
}
}SWITCHBOT_ALLOWED_TOOLS(カンマ区切り)で使えるツールを制限できる(m5-petit-mcp と同じ仕組み)。
ライセンス
Apache-2.0。PetitOnes の部品のひとつ。全体の入口は petit-ones。
This server cannot be deployed
Maintenance
Related MCP Connectors
- mytesla.ioOAuthio.mytesla
Control your Tesla from your AI assistant - climate, charging, access, and security.
Japanese catalog of physical devices AI agents can control: connectivity ratings, APIs, sources.
Turn any task into the right API calls: discover, evaluate, and integrate public APIs.
Connect any AI agent to 1,000+ apps and 27,000+ actions through one remote MCP server (OAuth).
Related MCP Servers
- AlicenseCqualityFmaintenanceEnables AI assistants to control SwitchBot devices, providing functionalities like device management, scene execution, and sensor information monitoring through the SwitchBot API.37ISC
- -licenseNot gradedqualityDmaintenanceEnables control of TP-Link Kasa smart home devices through natural language commands. Supports device control, lighting scenes, room-based organization, and real-time status monitoring for smart plugs and bulbs.-
- AlicenseCqualityCmaintenanceEnables you to manage and automate interactions with Nature Remo devices, including listing devices and appliances, and operating TVs and air conditioners through natural language commands.410 npm7MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to control Govee smart devices, including lights, via natural language. Supports turning on/off, changing colors, adjusting brightness, and activating scenes through the Govee API or local network.91MIT