- Explore MCP Servers
- switch-bot-mcp-server
Switch Bot Mcp Server
What is Switch Bot Mcp Server
The SwitchBot MCP Server is a Model Context Protocol (MCP) server designed to control SwitchBot devices interactively using the SwitchBotAPI.
Use cases
Use cases include operating SwitchBot devices interactively, performing batch operations on multiple devices, and using device data to trigger actions on other devices.
How to use
To use the SwitchBot MCP Server, download the binary from the release page, obtain your SwitchBotAPI token and secret, and configure the server settings accordingly.
Key features
Key features include interactive control of SwitchBot devices, the ability to perform operations on multiple devices simultaneously, and using data from one device to operate another.
Where to use
The SwitchBot MCP Server can be used in smart home environments, automation systems, and any application requiring interactive control of IoT devices.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Switch Bot Mcp Server
The SwitchBot MCP Server is a Model Context Protocol (MCP) server designed to control SwitchBot devices interactively using the SwitchBotAPI.
Use cases
Use cases include operating SwitchBot devices interactively, performing batch operations on multiple devices, and using device data to trigger actions on other devices.
How to use
To use the SwitchBot MCP Server, download the binary from the release page, obtain your SwitchBotAPI token and secret, and configure the server settings accordingly.
Key features
Key features include interactive control of SwitchBot devices, the ability to perform operations on multiple devices simultaneously, and using data from one device to operate another.
Where to use
The SwitchBot MCP Server can be used in smart home environments, automation systems, and any application requiring interactive control of IoT devices.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
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 secret and token
Follow the Getting Started guide of SwitchBotAPI to obtain the token and secret for SwitchBotAPI.
Setting for Claude Desktop
Using Docker (recommended)
{
"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"
}
}
}
}
Using binary
Details
Download binary from release page.
{
"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 |
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










