Skip to main content
Glama

MeuralMCP

Local control of Netgear Meural Canvas frames. Publish images to a frame from a CLI, a REST API, or an MCP server, without the mobile app and without Netgear in the loop.

  • On-device API — each frame is driven through the API it serves itself (:8099), authenticated with a per-device token. No DNS changes, no certificate, no man-in-the-middle.

  • Full local control — galleries/items, immediate pictures, device time, settings/schema and hardware/network actions through REST and MCP.

  • Modes — current mode and mode list in status, explicit API/MCP selection, provisional menu navigation and reloadable external-mode registration/events.

  • REST API — token-protected, loopback by default.

  • MCP server — stdio or hosted streamable-HTTP, so coding agents can set images directly.

  • Durable — images are stored server-side and re-served; a frame keeps its image across reboots with no agent running.

  • Orientation-aware — landscape and portrait are validated before anything is written.

Requirements

  • A host that can reach the frames on the LAN.

  • Each frame running its on-device API, with its token in the config. One command per frame: ssh root@FRAME "sh /root/uf.sh token".

No additional frame-facing service is required.

Related MCP server: tldraw Topology MCP

Quick start

pip install .
meural-mcp init
meural-mcp add-device --name canvas-1 --ip 192.0.2.10 --orientation landscape \
  --token "$(ssh root@192.0.2.10 'sh /root/uf.sh token')"

Every device requires its on-device API token.

Run the API and daemon:

meural-mcp serve --host 127.0.0.1 --port 8733
meural-mcp daemon

Set an image:

curl -X PUT http://127.0.0.1:8733/devices/canvas-1/image \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: image/jpeg" \
  --data-binary @poster.jpg

This stores and publishes the image, automatically selecting its managed gallery/picture. It keeps the active display mode unchanged. When another mode is active, select Gallery first, then upload/publish: Gallery restores its saved native selection on activation. If an image was uploaded while away, select Gallery and re-publish the stored bytes. A gallery-item upload adds content without selecting it. Exact tools and routes are in the agent reference.

MCP

For agents, the tool surface and nothing else: docs/agents.md.

meural-mcp mcp --transport stdio

The REST API also hosts the same MCP tools at /mcp/, using the same bearer token. Set MEURAL_MCP_ALLOWED_HOSTS to the HTTPS hostname clients will use so the transport's DNS-rebinding protection stays enabled.

A stdio adapter on a workstation can drive a remote install:

export MEURAL_MCP_API_URL="https://meural-mcp.example.test"
export MEURAL_MCP_API_TOKEN="..."
meural-mcp mcp --transport stdio

How it works

Setting an image uploads it into a per-device gallery on the frame and switches that frame to it — one image per device, managed by name. The service stores the image server-side too, so re-publishing and reboots work with no agent running. Nothing is proxied to Netgear.

With a token the work happens over the frame's own API (:8099); the frame holds the file itself.

Prepared video and streams

The video tools and /devices/{name}/video routes support persistent video libraries, file/gallery playback, HTTP(S) streams, repeat counts and independent fullscreen/overlay layers. Transparent overlays use prepared native .mvo bundles with per-pixel alpha; all media preparation happens upstream and the frame decodes only. Existing image tools keep their behavior. See the agent reference for the complete surface and deployment notes for media preparation and temporary storage requirements.

Sleep schedules

Optional per-device suspend windows, set over MCP (set_device_schedule) or config. See docs/sleep-schedules.md.

Caveats

  • The token is a full-control credential in the config; chmod 600 it and treat it like the API token.

  • Frames must run the on-device API; a stock frame answers only /remote.

  • Firmware updates do not arrive on their own while the frames are isolated.

  • One image per device is held.

Credits

Built on public Meural local-control work:

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
      A
      quality
      B
      maintenance
      Enables LLM clients to discover, occupy, and control BMAHS protocol hardware devices on the local network by dynamically exposing device operations as MCP tools.
      7
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP-aware hosts to discover and call tools for listing authorized devices, sending commands, reading telemetry, managing sub-devices, and creating, updating, or deleting device schedules through the API.
      17
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP clients to discover connected gadgets, read their state and events, and route commands to them over versioned device contracts on local USB and TCP transports. Ships with a configurable software simulator so device interactions can be exercised without physical hardware.
      6
      Apache 2.0