GENM/switchbot-mcp
Built by Metorial, the integration platform for agentic AI.
GENM/switchbot-mcp
Server Summary
List devices
Get device status
Control devices (on/off)
Change device settings
Scene control
Device status monitoring
A Model Context Protocol server that provides SwitchBot device control capabilities to AI assistants.
To install SwitchBot MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @genm/switchbot-mcp --client claude
npm install @genm/switchbot-mcp
Add the following to claude_desktop_config.json
:
{
"mcpServers": {
"switchbot": {
"command": "node",
"args": ["path/to/switchbot-mcp/build/index.js"],
"env": {
"SWITCHBOT_TOKEN": "your_token",
"SWITCHBOT_SECRET": "your_secret"
}
}
}
}
SWITCHBOT_TOKEN=your_token
SWITCHBOT_SECRET=your_secret
It's recommended to give descriptive names to your devices for easier control by AI assistants. Examples:
This naming convention helps AI assistants understand the context and location of each device.
# Build
npm run build
# Development mode (TypeScript)
npm run dev
# Start
npm start
ISC