Skip to main content
Glama
risal-dash-mcp
by ziyarago

risal-dash-mcp

MCP bridge that exposes a RisalDash device's widgets as tools for an AI agent (Claude Desktop, Claude Code, …). It reads the device's GET /api/mcp/manifest, turns every widget into a get_* / set_* tool, and proxies calls to the device's /api/state and /api/set REST endpoints.

Prerequisites

Start the firmware with MCP enabled:

dash.enableMCP("risal_pat_yourtoken");

Related MCP server: ESP32 MCP Server

Run

RISAL_ESP_URL=http://192.168.4.1 \
RISAL_MCP_TOKEN=risal_pat_yourtoken \
npx risal-dash-mcp

Claude Desktop config

{
  "mcpServers": {
    "greenhouse": {
      "command": "npx",
      "args": ["risal-dash-mcp"],
      "env": {
        "RISAL_ESP_URL": "http://192.168.4.1",
        "RISAL_MCP_TOKEN": "risal_pat_yourtoken"
      }
    }
  }
}

The agent can then read CPU, set Pump to on, etc. — one tool per widget.

Develop

node test.mjs   # offline logic tests (no device required)

MIT.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to interact with Dash dashboards by exposing them as MCP servers via a WebSocket bridge, with automatic tool registration and human-in-the-loop confirmation.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Bridges the Model Context Protocol (MCP) with ESP32 devices running Tasmota firmware, enabling LLMs to send structured commands like toggling relays or reading sensors via HTTP.
      2
      ISC
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP-speaking coding agents to talk directly to Home Assistant and the ESPHome dashboard: discovering entities and areas, reading live states, history and logs, rendering Jinja templates, calling services, and creating, editing or triggering automations and dashboards. Also allows ESPHome device configs to be read, validated, compiled and flashed, with all write operations off by default behind an explicit safety policy.
      111
      514 npm
      MIT