Labsco
MCP SERVER

SwitchBot MCP Server

by yasu89

See what your SwitchBot devices are doing, and tell them to do something else.

IoT, Smart Home & Embedded Hardware
Summary
Home devices you can reason about, not only toggle.

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.

What it is

A Go server over the SwitchBot API: list the devices on your account, read one's status, and send it a command.

What you get
  • 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
Requirements

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.

Setup effort

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