switch-bot-mcp-server
1
The SwitchBot MCP Server is designed to control SwitchBot devices interactively using the Model Context Protocol (MCP). It supports operations on multiple devices simultaneously, enabling users to perform tasks using data retrieved from other devices.
SwitchBot MCP Server
The SwitchBot MCP Server is a Model Context Protocol (MCP) server that provides a feature to control SwitchBot devices interactively using SwitchBotAPI.
Use Cases
- Operate SwitchBot devices interactively
- Perform operations on multiple devices at once
- Use data retrieved from a device to operate another device
Installation
Prepare binary
Download binary from release page.
Prepare secret and token
Follow the Getting Started guide of SwitchBotAPI to obtain the token and secret for SwitchBotAPI.
Setting for Claude Desktop
{
"mcpServers": {
"switchbot": {
"command": "~/Downloads/switch-bot-mcp-server",
"env": {
"SWITCH_BOT_TOKEN": "YOUR_SWITCH_BOT_TOKEN",
"SWITCH_BOT_SECRET": "YOUR_SWITCH_BOT_SECRET"
}
}
}
}
Available Tools
Retrieving devices, retrieving statuses, and executing commands on devices are available.
Tool Name | Description |
---|---|
get_switch_bot_devices | Get SwitchBot devices |
get_switch_bot_device_status | Get SwitchBot device status |
execute_command | Execute a command on a device |