Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Switch Bot

FreeNot checked

SwitchBot MCP Server

GitHubEmbed

About

SwitchBot MCP Server

README

Go Report Card Coverage Code to Test Ratio Test Execution Time

日本語はこちら

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

from github.com/yasu89/switch-bot-mcp-server

Installing Switch Bot

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/yasu89/switch-bot-mcp-server

FAQ

Is Switch Bot MCP free?

Yes, Switch Bot MCP is free — one-click install via Unyly at no cost.

Does Switch Bot need an API key?

No, Switch Bot runs without API keys or environment variables.

Is Switch Bot hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Switch Bot in Claude Desktop, Claude Code or Cursor?

Open Switch Bot on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Switch Bot with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs