# WLED MCP (unofficial)

> WLED MCP (unofficial) is an open-source MCP server for smart home. Unofficial MCP server to read and control WLED LED strips by name, with dry runs. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, Linux
- **Repository:** https://github.com/descipar/wled-mcp
- **MCP Registry name:** io.github.descipar/wled-mcp
- **Categories:** [smart home](https://ai-powered.com/categories/smart-home)
- **Listing updated:** 2026-11-23

## About

Controllers are defined in a TOML inventory and addressed by name, and nothing is discovered unless you run the opt-in discover command. The server talks to each controller's JSON API on your own network and needs no cloud service, account or MQTT broker. Before any write it checks the full request against the device's current state and its own effect and palette catalogs, then reads the change back afterwards. A write that times out is reported as possibly applied rather than retried.

Beyond power and brightness it handles segments, effects, palettes, presets with snapshots, device groups, multi-device scenes with a dry-run plan, and zones that confine changes to a mapped LED range. Read-only extras sample live LED colours and draw an SVG of a segment layout. Three server-enforced profiles (read-only, control, full) limit what an agent may do, and every write tool accepts dry_run.

The README calls it early 0.x software, tested on one controller running WLED 16.0.1, with macOS and Windows marked experimental. It is not affiliated with the WLED project.

## Features

- **Validated writes:** Checks changes against device state and catalogs, then reads them back.
- **Dry run mode:** Every write tool can preview a plan without touching the lights.
- **Zones:** Limits changes to a reviewed region of devices and LED ranges.
- **Presets and scenes:** Stores presets with snapshots, groups, playlists and multi-device scenes.
- **Access profiles:** Read-only, control and full profiles enforced by the server.
- **Observe and explain:** Samples live LED colours and explains why a change may not show.

## Good for

- Ask an assistant to set a strip's colour and effect
- Preview a multi-device scene before applying it
- Restrict an agent to one zone of a room
- Save and restore lighting presets by name
- Check why a change did not appear on the lights

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add wled-mcp -- uvx wled-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "wled-mcp": {
      "command": "uvx",
      "args": [
        "wled-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "wled-mcp": {
      "command": "uvx",
      "args": [
        "wled-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "wled-mcp": {
      "command": "uvx",
      "args": [
        "wled-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "wled-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "wled-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add wled-mcp -- uvx wled-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.wled-mcp]
command = "uvx"
args = ["wled-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "wled-mcp": {
      "command": "uvx",
      "args": [
        "wled-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user wled-mcp uvx -- wled-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "wled-mcp": {
      "command": "uvx",
      "args": [
        "wled-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "wled-mcp": {
      "command": "uvx",
      "args": [
        "wled-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "wled-mcp": {
      "command": "uvx",
      "args": [
        "wled-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "wled-mcp": {
      "command": "uvx",
      "args": [
        "wled-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "wled-mcp": {
      "command": "uvx",
      "args": [
        "wled-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "wled-mcp": {
      "command": "uvx",
      "args": [
        "wled-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "wled-mcp": {
      "command": "uvx",
      "args": [
        "wled-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "wled-mcp": {
      "command": "uvx",
      "args": [
        "wled-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 6 tools change data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `wled_list_devices` (name suggests: reads): Lists configured WLED devices
- `wled_get_state` (name suggests: reads): Reports normalized state and firmware support tier
- `wled_patch_segments` (name suggests: changes): Changes only the named segments
- `wled_replace_layout`: Replaces the complete segment layout
- `wled_store_preset`: Stores a supplied state as a preset
- `wled_start_signal` (name suggests: changes): Shows a colour on segments for a bounded time, then restores state

## FAQ

### Does WLED MCP (unofficial) need a cloud account?

No. It is self-hosted and talks to controllers on your network.

### Which WLED versions work?

WLED 16.0.1 is tested, other 16.x are unknown and anything below 16.0.0 is unsupported.

### Can WLED MCP (unofficial) find controllers automatically?

Only if you run the opt-in discover command; otherwise devices come from the TOML inventory.

### How do I install WLED MCP (unofficial)?

From PyPI as wled-mcp, run with uvx, as a stdio server or a separate HTTP service.

### Is WLED MCP (unofficial) free?

Yes. WLED MCP (unofficial) is open source, so you can use and self-host it for free.

### How do I add WLED MCP (unofficial) to Claude Code?

Run this command in your terminal: claude mcp add wled-mcp -- uvx wled-mcp

### What are the best alternatives to WLED MCP (unofficial)?

The closest alternatives to WLED MCP (unofficial) are Flipper Zero, Order The Scout (Nym), myIO Documentation, El Hogar Inteligente and Nexus Agent.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Flipper Zero](https://ai-powered.com/mcp/flipper-zero): Flipper Zero is an open-source MCP server for smart home.
- [Order The Scout (Nym)](https://ai-powered.com/mcp/order-the-scout-nym): Order The Scout (Nym) is a paid MCP server for smart home.
- [myIO Documentation](https://ai-powered.com/mcp/myio-documentation): myIO Documentation is a free MCP server for smart home.
- [El Hogar Inteligente](https://ai-powered.com/mcp/el-hogar-inteligente): El Hogar Inteligente is a free MCP server for smart home.
- [Nexus Agent](https://ai-powered.com/mcp/nexus-agent): Nexus Agent is an open-source MCP server for energy and smart home.
- [HydroNode](https://ai-powered.com/mcp/hydronode): HydroNode is an MCP server for smart home.
- [ESP32 Control](https://ai-powered.com/mcp/esp32-control): ESP32 Control is a freemium MCP server for smart home.
- [Qnap](https://ai-powered.com/mcp/qnap): Qnap is an open-source MCP server for smart home.

---
Source: https://ai-powered.com/mcp/wled-mcp-unofficial
