Labsco
genm logo

SwitchBot

β˜… 6

from genm

Control SwitchBot smart home devices through its official API, enabling automation and integration with AI assistants.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedAccount requiredNeeds API keys

@genm/switchbot-mcp

A Model Context Protocol server that provides SwitchBot device control capabilities to AI assistants. smithery badge

ζ—₯本θͺž

<a href="https://glama.ai/mcp/servers/k8m7mttrur"><img width="380" height="200" src="https://glama.ai/mcp/servers/k8m7mttrur/badge" alt="SwitchBot Server MCP server" /></a>

Features

  • List devices
  • Get device status
  • Control devices (on/off)
  • Change device settings
  • Scene control
  • Device status monitoring

Supported Devices

  • Plug
    • Living Room Floor Lamp
    • Office PC Power Supply
  • Bot
    • Kitchen Coffee Maker
    • Living Room Air Purifier
  • Curtain
    • Bedroom Window Curtain
    • Study Room Blackout Curtain
  • Air Conditioner
    • Living Room AC
    • Bedroom AC
  • Humidifier
    • Bedroom Humidifier
    • Study Room Humidifier
  • Light
    • Kitchen Ceiling Light
    • Bedroom Night Light
  • Remote Control
    • Living Room TV
    • Study Room Fan

Device Name Examples

It's recommended to give descriptive names to your devices for easier control by AI assistants. Examples:

  • "Bedroom Curtain" instead of just "Curtain"
  • "Living Room AC" instead of just "Air Conditioner"
  • "Kitchen Coffee Maker" instead of just "Bot"

This naming convention helps AI assistants understand the context and location of each device.

Supported Operations

Device Management

  • List devices
  • Get device status
  • Turn devices on/off
  • Change device settings

Scene Management

  • List scenes
  • Execute scenes

Sensor Information

  • Temperature
  • Humidity
  • Brightness
  • Motion

Development

Copy & paste β€” that's it
# Build
npm run build

# Development mode (TypeScript)
npm run dev

# Start
npm start

License

ISC