MCP Server to control govee lights
An MCP server for controlling Govee LED devices through the Govee API.
Create a .env
file in the root directory with the following variables:
GOVEE_API_KEY=your_api_key_here
GOVEE_DEVICE_ID=your_device_id_here
GOVEE_SKU=your_device_sku_here
To get these values:
To install Govee MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @mathd/govee_mcp_server --client claude
## Install with pip
pip install .
## For development (includes test dependencies)
pip install -e ".[test]"
The MCP server provides tools for controlling Govee devices through the Model Context Protocol. It can be used with Cline or other MCP clients.
Available tools:
turn_on_off
: Turn the LED on or offset_color
: Set the LED color using RGB valuesset_brightness
: Set the LED brightness levelA CLI is provided for direct control of Govee devices:
## Turn device on/off
govee-cli power on
govee-cli power off
## Set color using RGB values (0-255)
govee-cli color 255 0 0 # Red
govee-cli color 0 255 0 # Green
govee-cli color 0 0 255 # Blue
## Set brightness (0-100)
govee-cli brightness 50
Run govee-cli --help
for full command documentation.
To run the test suite:
## Install test dependencies
pip install -e ".[test]"
## Run all tests
pytest tests/
## Run specific test files
pytest tests/test_server.py # Server tests (mocked API calls)
pytest tests/test_cli.py # CLI tests (real API calls)
## Run tests with verbose output
pytest tests/ -v
Note: The CLI tests make real API calls to your Govee device and will actually control it. Make sure your device is powered and connected before running these tests.
.
├── src/govee_mcp_server/
│ ├── __init__.py
│ ├── server.py # MCP server implementation
│ └── cli.py # Command-line interface
├── tests/
│ ├── test_server.py # Server tests (with mocked API)
│ └── test_cli.py # CLI tests (real API calls)
└── pyproject.toml # Project configuration
Server tests cover:
CLI tests perform real-world integration testing by executing actual API calls to control your Govee device.
An MCP server for deep git repository investigation and analysis. Provides detailed insights into repository history, branch relationships, and development patterns, focusing solely on git repository analysis rather than general GitHub or git operation.
Claude Server is an MCP implementation that enhances Claude's capabilities by providing sophisticated context management across sessions, enabling persistent knowledge organization through hierarchical project contexts and continuous conversation threads stored in a well-structured ~/.claude directory.
Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning, access to logs and much more.
This is a MCP (Model Context Protocol) server that you can use with Cline through Visual Studio Code and ask songs to be played using Youtube Music