Follow the [Getting Started guide of SwitchBotAPI](https://github.com/OpenWonderLabs/SwitchBotAPI?tab=readme-ov-file#getting-started) to obtain the
Follow the Getting Started guide of SwitchBotAPI to obtain the token and secret for SwitchBotAPI. That is what the switch bot mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
The server publishes 3 tools. What each one is for:
get_switch_bot_devices — Get SwitchBot devicesget_switch_bot_device_status — Get SwitchBot device statusexecute_command — Execute a command on a deviceSetup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
Configuration is passed through the environment: SWITCH_BOT_TOKEN, SWITCH_BOT_SECRET, YOUR_SWITCH_BOT_TOKEN, YOUR_SWITCH_BOT_SECRET. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Switch Bot's toolset — get_switch_bot_devices, get_switch_bot_device_status, execute_command — is a fair guide to whether it matches your workflow. It is maintained by yasu89; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| get_switch_bot_devices | Get SwitchBot devices |
| get_switch_bot_device_status | Get SwitchBot device status |
| execute_command | Execute a command on a device |
{
"mcpServers": {
"switchbot": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--name",
"switch-bot-mcp-server",
"-e",
"SWITCH_BOT_TOKEN",
"-e",
"SWITCH_BOT_SECRET",
"yasu89/switch-bot-mcp-server:latest"
],
"env": {
"SWITCH_BOT_TOKEN": "YOUR_SWITCH_BOT_TOKEN",
"SWITCH_BOT_SECRET": "YOUR_SWITCH_BOT_SECRET"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| SWITCH_BOT_TOKEN | Credential the server authenticates with. | Yes |
| SWITCH_BOT_SECRET | Credential the server authenticates with. | Yes |
| YOUR_SWITCH_BOT_TOKEN | Credential the server authenticates with. | Yes |
| YOUR_SWITCH_BOT_SECRET | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.