Skip to content
Conduit

mcp server

mcp-govee

A Model Context Protocol (MCP) server that lets AI assistants control your Govee smart devices.

danjam/mcp-goveecommunitylistedunreviewed

Set up

Runs on your computer. Pick your agent and operating system.

Before you start

  • Node.js 20 or newer
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-govee": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-govee"
      ]
    }
  }
}

same format Cursor, GitHub Copilot CLI, Junie, JetBrains AI Assistant, Augment (Auggie CLI), Factory Droid, Kiro, Devin CLI +12

Values in angle brackets are placeholders. Restart Claude Desktop after editing its config.Claude Desktop docs

README

synced Oct 23, 2026

MCP Govee

An MCP server that lets AI assistants control your Govee smart devices. Turn lights on and off, change colors, adjust brightness, activate scenes, and more — all through natural conversation.

Works with Claude Desktop, Claude Code, or any MCP-compatible client.


Use Cases

  • Ask your AI to set the mood with natural language — "make it feel cozy" or "I need bright light to focus"
  • Coordinate multiple devices with a single request — "turn everything off except the hallway"
  • Let your AI manage lighting as part of a larger workflow — "I'm starting a meeting, dim the office lights"
  • Use natural language to find and activate scenes without scrolling through the app
  • Have your AI check device states and troubleshoot connectivity across backends

Setup

Requires Node.js 18+.

1. Get a Govee API Key

Open the Govee Home app on your phone and go to Settings → About Us → Apply for API Key. You'll receive your key by email.

2. Configure Your MCP Client

Add the server to your MCP client's configuration. There are two ways to do this:

Option A: Run directly from GitHub (no install needed)

{
  "mcpServers": {
    "govee": {
      "command": "npx",
      "args": ["-y", "github:danjam/mcp-govee"],
      "env": {
        "GOVEE_API_KEY": "your-api-key-here"
      }
    }
  }
}

Option B: Clone and run locally

git clone https://github.com/danjam/mcp-govee.git
cd mcp-govee
npm install

Then point your MCP client at the local build:

{
  "mcpServers": {
    "govee": {
      "command": "node",
      "args": ["/path/to/mcp-govee/dist/index.js"],
      "env": {
        "GOVEE_API_KEY": "your-api-key-here"
      }
    }
  }
}

Replace /path/to/mcp-govee with the actual path where you cloned the project.


Backends

The server supports three different ways to communicate with your Govee devices. By default it uses v1, which works for most people out of the box.

BackendHow it connectsScenes supportNotes
v1 (default)Govee cloud APINoSimplest setup, works with all Govee devices
v2Govee cloud API (newer)YesRequired for scenes; supports the same devices as v1. Much stricter rate limit (see below)
lanLocal network (UDP)NoFastest, no internet needed, no rate limits, but only works with LAN-capable devices on the same network. You must enable LAN control per device in the Govee Home app (device settings → LAN Control)

[!WARNING] v2 has a much stricter rate limit. The v1 API allows 100 requests per minute, but the v2 API only allows 10 requests per minute — that's one request every 6 seconds. We recommend leaving v1 as the default and only using v2 when you need scene features.

To change the default backend, add GOVEE_API_BACKEND to your config:

{
  "mcpServers": {
    "govee": {
      "command": "npx",
      "args": ["-y", "github:danjam/mcp-govee"],
      "env": {
        "GOVEE_API_KEY": "your-api-key-here",
        "GOVEE_API_BACKEND": "v2"
      }
    }
  }
}

To enable the LAN backend, also set GOVEE_LAN_ENABLED:

"env": {
  "GOVEE_API_KEY": "your-api-key-here",
  "GOVEE_LAN_ENABLED": "true"
}

You can also override the backend on a per-command basis — every tool accepts an optional backend parameter (v1, v2, or lan). This lets you use v1 as your default while still accessing v2-only features like scenes when you need them. You don't need to set v2 as your default to use scenes — the server will automatically route scene commands to v2.


What You Can Do

List Devices

See all the Govee devices on your account, including their IDs, models, and what commands they support. This is the starting point — you'll need a device's ID and model for all other commands. Only devices added to your Govee Home app will appear, and not all devices support every command.

Tool: list_devices

ParameterTypeRequiredDescription
backendstringNoOverride the default backend (v1, v2, or lan)

Get Device State

Check the current state of a device: whether it's on or off, the brightness level, and the current color.

Tool: get_device_state

ParameterTypeRequiredDescription
device_idstringYesThe device ID (from list devices)
modelstringYesThe device model (from list devices)
backendstringNoOverride the default backend

Set Power

Turn a device on or off.

Tool: set_power

ParameterTypeRequiredDescription
device_idstringYesThe device ID
modelstringYesThe device model
statestringYeson or off
backendstringNoOverride the default backend

Set Brightness

Adjust a device's brightness level.

Tool: set_brightness

ParameterTypeRequiredDescription
device_idstringYesThe device ID
modelstringYesThe device model
brightnessintegerYesBrightness level (0-100)
backendstringNoOverride the default backend

Set Color

Set a device to a specific color using RGB values.

Tool: set_color

ParameterTypeRequiredDescription
device_idstringYesThe device ID
modelstringYesThe device model
rintegerYesRed (0-255)
gintegerYesGreen (0-255)
bintegerYesBlue (0-255)
backendstringNoOverride the default backend

Set Color Temperature

Set a device to a warm or cool white using color temperature.

Tool: set_color_temperature

ParameterTypeRequiredDescription
device_idstringYesThe device ID
modelstringYesThe device model
temperatureintegerYesColor temperature in Kelvin (2000-9000)
backendstringNoOverride the default backend

List Scenes

List the built-in light scenes available for a device (e.g. "Rainbow", "Candlelight", "Ocean"). Use this to see what scene names you can activate. Requires the v2 backend.

Tool: list_scenes

ParameterTypeRequiredDescription
device_idstringYesThe device ID
modelstringYesThe device model

List DIY Scenes

List the custom scenes you've created in the Govee Home app. Requires the v2 backend.

Tool: list_diy_scenes

ParameterTypeRequiredDescription
device_idstringYesThe device ID
modelstringYesThe device model

Activate Scene

Activate a built-in or DIY scene by name. Use list scenes or list DIY scenes first to see available names. Requires the v2 backend.

Tool: activate_scene

ParameterTypeRequiredDescription
device_idstringYesThe device ID
modelstringYesThe device model
scene_namestringYesThe name of the scene to activate (exact match from the list)
scene_typestringYeslight for built-in scenes, diy for your custom scenes

License

MIT

↑↓ navigate openesc close