Skip to content
MCP server

WLED MCP (unofficial)

Unofficial MCP server to read and control WLED LED strips by name, with dry runs

Runs locally

WLED MCP (unofficial) is an open-source MCP server for smart home. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Self-hosted, Linux
Runs
Locally
What it can do
Can change data (2 tools)
Version
0.5.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

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

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

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add wled-mcp -- uvx wled-mcp

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "wled-mcp": {
      "command": "uvx",
      "args": [
        "wled-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

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

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

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

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

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About WLED MCP (unofficial)

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.

Tools this server provides (6)

Taken from the project documentation; the running server may differ.

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_devicesName suggests: reads
Lists configured WLED devices
wled_get_stateName suggests: reads
Reports normalized state and firmware support tier
wled_patch_segmentsName 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_signalName suggests: changes
Shows a colour on segments for a bounded time, then restores state

What it does

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

Pricing

Open source

Free, early 0.x software with no support promised

WLED MCP (unofficial) 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.

How AIPoweredBot checks servers