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
QMT MCP Server
An MCP server that interfaces with the locally running MiniQMT trading system.
OPET Fuel Prices
Provides access to current fuel prices from OPET, a Turkish petroleum distribution company.
WSB Analyst
Provides real-time WallStreetBets data for analysis using the Reddit API.
Hava Durumu
Provides weather data using the Open-Meteo API.
MCP Cookie Server
Provides positive reinforcement to LLMs by awarding 'cookies' as treats.
Weather
Provides real-time weather data, forecasts, and alerts using the OpenWeatherMap API.
ImageMagick
An MCP server for image conversion using ImageMagick and darktable.
Draw-it MCP
An AI-powered drawing application for your browser. Draw, save, and get AI-powered insights.
UU跑腿 MCP Server
Create orders on the uupt.com open platform using the MCP protocol.
Weather MCP Service
Provides real-time weather information and forecasts.