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
SwitchBot
Control SwitchBot smart home devices through its official API, enabling automation and integration with AI assistants.
IPMA MCP Server
Access meteorological data for Portugal from the IPMA public API using natural language.
Questrade MCP Server
An unofficial server to integrate with the Questrade API, providing access to trading accounts, market data, and portfolio information.
Canvelete
API-first platform for image optimization and document design. Generate optimized images, PDFs, and documents at scale with our visual editor and REST API.
FinancialData.Net MCP Server
Turn Claude or Cursor into your personal AI Financial Analyst.
MCP GameBoy Server
Allows Large Language Models to interact with a GameBoy emulator via the serverboy MCP server.
Ultra MCP SS
An MCP server for programmatic control of smartscreen.tv displays via HTTP and MCP commands, with YouTube integration.
Flyworks MCP
A server for creating fast and free lipsync videos for digital avatars, supporting both realistic and cartoon styles.
MCP Trakt
Access real-time entertainment data and personal viewing history from the Trakt.tv API.
Contextd
Reasoning Bank and Context folding. Let your agents learn and self-improve