drio
Open app

CheerLights MCP Server

Source

MCP server that allows AI tools to interact with the CheerLights API.

Catalog onlyCatalog onlySTDIO

Overview

CheerLights MCP Server is a Model Context Protocol (MCP) server that enables AI tools, such as Claude, to interact with the CheerLights API, a global IoT project that synchronizes colors across connected lights worldwide.

To use the CheerLights MCP Server, install the necessary dependencies, run the server code, and configure it with Claude for Desktop to ask questions about the current CheerLights color or recent color changes.

  • Get the current CheerLights color - View recent color change history - Real-time integration with the CheerLights API
  1. Querying the current color of CheerLights.
  2. Retrieving the last 10 color changes for analysis.
  3. Integrating with AI tools for enhanced user interaction with IoT lighting systems.

Add to your AI client

Use these steps to connect CheerLights MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "cheerlights-mcp-cheerlights": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cheerlights-mcp-cheerlights"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "cheerlights-mcp-cheerlights": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cheerlights-mcp-cheerlights"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "cheerlights-mcp-cheerlights": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cheerlights-mcp-cheerlights"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "cheerlights-mcp-cheerlights": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cheerlights-mcp-cheerlights"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "cheerlights-mcp-cheerlights": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cheerlights-mcp-cheerlights"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "cheerlights-mcp-cheerlights": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cheerlights-mcp-cheerlights"
      ]
    }
  }
}

FAQ

Can I use CheerLights MCP Server with any AI tool?

Currently, it is designed to work with Claude and similar AI tools that support MCP.

Is there a tutorial available for setting up the server?

Yes! A blog tutorial is available to guide you through creating your own MCP server for Claude Desktop.

What programming language is used for the server?

The server is written in Python.