SwitchBot MCP Server
Control SwitchBot devices interactively using the SwitchBot API.
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
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 |
Related Servers
Payman API
Integrates with Payman AI's payment APIs to manage payees, payments, and balances using natural language.
NBA MCP Server
Provides NBA statistics and live game data using the Model Context Protocol (MCP).
MediaSage
Tracks movies, books, and TV shows to provide intelligent recommendations based on your preferences.
OpenHue MCP Server
Control Philips Hue lights using LLM interfaces via the OpenHue CLI.
Smart Home Device Control
Control smart home devices and query information by connecting large models to smart home backend APIs.
UFO MCP Server
Control a Dynatrace UFO device on your local network using MCP-compatible clients.
Uncyclopedia MCP Server
An MCP server for performing operations on Uncyclopedia with interactive authentication.
Arithmetic MCP Server
Performs basic arithmetic operations such as addition, subtraction, multiplication, and division.
MCP Weather Server
Provides weather-related tools using the US National Weather Service API.
News MCP
Provides access to news articles from a PostgreSQL database and offers a tool to summarize them using the OpenAI API.