Because status reads and commands sit side by side, 'read the bedroom thermometer and turn the fan on if it is too warm' is two calls — rather than a scene you have to build in the app before you can ask for it.
A Go server over the SwitchBot API: list the devices on your account, read one's status, and send it a command.
- Every SwitchBot device on the account, listed
- The current status of a named device
- Commands executed against a device
- Several devices operated in one exchange
- One device's reading used to decide what another device does
A SwitchBot token and secret, obtained through the SwitchBot API getting-started guide, set as SWITCH_BOT_TOKEN and SWITCH_BOT_SECRET. Runs from the yasu89/switch-bot-mcp-server Docker image or a release binary.
One command plus a key — docker run -i --rm --name switch-bot-mcp-server -e SWITCH_BOT_TOKEN -e SWITCH_BOT_SECRET yasu89/switch-bot-mcp-server:latest, then supply credentials
