Switch Bot Mcp Server
@yasu89
Switch Bot Mcp Server について
SwitchBot MCP Server
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"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>"
}
}
}
}ツール
3Get SwitchBot devices
Get SwitchBot device status
Execute a command on a device
概要
What is Switch Bot Mcp Server?
It is a Model Context Protocol (MCP) server that enables interactive control of SwitchBot devices using the SwitchBotAPI. It is designed for users who want to operate their SwitchBot hardware through LLM-based tools such as Claude Desktop.
How to use Switch Bot Mcp Server?
Obtain the token and secret from SwitchBotAPI via the official Getting Started guide. Configure the server in Claude Desktop using either Docker (recommended) or a pre‑compiled binary, setting the two environment variables SWITCH_BOT_TOKEN and SWITCH_BOT_SECRET.
Key features of Switch Bot Mcp Server
- Retrieve a list of paired SwitchBot devices.
- Get the current status of a specific device.
- Execute commands (e.g., turn on/off) on devices.
- Operate devices interactively through MCP.
- Perform actions across multiple devices in one session.
Use cases of Switch Bot Mcp Server
- Operate SwitchBot devices interactively from a conversational AI.
- Execute commands on multiple devices at the same time.
- Use data retrieved from one device to trigger an action on another.
FAQ from Switch Bot Mcp Server
What does the server actually do?
It provides three MCP tools – get_switch_bot_devices, get_switch_bot_device_status, and execute_command – that let an LLM or other MCP client discover and control SwitchBot hardware via the SwitchBot cloud API.
How do I obtain my SwitchBot API token and secret?
Follow the SwitchBotAPI Getting Started guide (linked in the README) to generate a token and secret for API access.
How can I configure the server for Claude Desktop?
Two methods are available. The recommended approach uses Docker: set the server command to docker run with the necessary environment variables. Alternatively, download the binary from the releases page and point the command field directly to it.
What runtime dependencies does it require?
The server runs either inside Docker (image yasu89/switch‑bot‑mcp‑server:latest) or as a standalone binary. No other runtime dependencies are listed.
Where does device data live?
Device information and status are fetched on demand from the SwitchBot cloud API. The server does not store any data locally.
「その他」の他のコンテンツ
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Servers
modelcontextprotocolModel Context Protocol Servers
Awesome Mlops
visengerA curated list of references for MLOps
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
コメント