SwitchBot
FreeNot checkedIntegrates with SwitchBot devices to enable smart home automation, device control, and status monitoring using the SwitchBot API.
About
Integrates with SwitchBot devices to enable smart home automation, device control, and status monitoring using the SwitchBot API.
README
This repository is archived and no longer maintained.
Please use the official SwitchBot implementation maintained by OpenWonderLabs:
- Official repository: OpenWonderLabs/switchbot-openapi-cli
- npm: @switchbot/openapi-cli
- Agent/MCP guide
Quick start
npm install -g @switchbot/openapi-cli
switchbot auth login
switchbot mcp serve
The official MCP server supports stdio for local clients:
switchbot mcp serve
It also supports HTTP for a long-lived or remotely hosted agent worker:
switchbot mcp serve --port 8765
For Codex or Claude Code, use the official setup commands documented upstream:
switchbot codex setup
switchbot claude-code setup
If browser authentication is not available, configure an API token and secret with:
switchbot config set-token <token> <secret>
This repository is retained for historical reference only. Do not use its old package name, source-build instructions, or configuration examples for new deployments.
Installing SwitchBot
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/genm/switchbot-mcpFAQ
Is SwitchBot MCP free?
Yes, SwitchBot MCP is free — one-click install via Unyly at no cost.
Does SwitchBot need an API key?
No, SwitchBot runs without API keys or environment variables.
Is SwitchBot hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install SwitchBot in Claude Desktop, Claude Code or Cursor?
Open SwitchBot 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
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Unyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
by UnylyAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
by blustAIServer For Power BI
Enables exploring Microsoft Fabric / Power BI workspaces and semantic models, and executing ad-hoc DAX queries.
by Mitsubishi-FusoTemplate MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Compare SwitchBot with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
