Hue MCP Server
Enables control of Philips Hue lights through VS Code Copilot or Claude Desktop using natural language commands. Supports turning lights on/off, adjusting brightness, changing colors, and listing available lights on your Hue Bridge.
README
Hue MCP Server
Control Philips Hue lights through VS Code Copilot or Claude Desktop using the Model Context Protocol (MCP).
Quick Setup
1. Prerequisites
- Python 3.13+ with UV package manager
- Hue Bridge IP address (find it in the Hue app or at https://discovery.meethue.com/)
2. Install Dependencies
uv sync
3. Configure Your Bridge IP
Edit .env file:
HUE_BRIDGE_IP=192.168.1.XXX # Replace with your bridge IP
4. First-Time Authentication
Press the physical button on your Hue Bridge, then run:
uv run python -c "from phue import Bridge; Bridge('YOUR_BRIDGE_IP')"
Usage
For VS Code Copilot
Add to your VS Code MCP configuration file (mcp.json):
Location: ~/Library/Application Support/Code/User/mcp.json (macOS)
{
"mcpServers": {
"custom-hue": {
"type": "stdio",
"command": "uv",
"args": [
"run",
"--directory",
"__PATH__",
"python",
"__PATH_TO_main.py__"
],
"env": {
"HUE_BRIDGE_IP": "192.168.x.x"
}
}
}
}
Note: Replace the paths with your actual project path and update HUE_BRIDGE_IP with your bridge IP.
After adding the configuration, reload VS Code and use Copilot:
- "Turn on the corner light and set it to blue"
- "List all my lights"
- "Turn off all lights"
For Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"hue-lights": {
"command": "uv",
"args": ["run", "/FULL/PATH/TO/custom-hue/main.py"],
"env": {
"HUE_BRIDGE_IP": "192.168.1.XXX"
}
}
}
}
Available Tools
change_hue_light- Control individual lights (brightness, hue, saturation, on/off)list_hue_lights- List all available lights on your Hue Bridge
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.