Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

MCP server for Divoom LAN watchface customization with safe read-before-write workflows.

README.md

mcp-divoom-lan

mcp-divoom-lan is an open-source MCP server that wraps Divoom watchface LAN APIs as standard tools for AI clients.

It works together with the v2 HTML visual editor for modifying watchfaces, switching faces, adjusting brightness, and creating new local watchfaces.

v2 visual editor (public):

  • GitHub: https://github.com/DivoomDevelop/divoom-watchface-visual-editor_v2
  • Live site: https://divoomdevelop.github.io/divoom-watchface-visual-editor_v2/

Your local clone path (e.g. D:\divoom-watchface-visual-editor) is machine-specific; use the v2 GitHub / GitHub Pages URLs above in docs and MCP metadata.

Goals

  • Expose key capabilities from Divoom_Watchface_Remote_Customization_Guide_EN.md as MCP tools
  • Let MCP-enabled clients (Cursor, Claude Desktop, local LLMs, etc.) drive watchface actions via natural language
  • Preserve safety boundaries (read before write, explicit warnings for risky operations, multipart rules)

Default safety policy (important)

  • Read before write: call watchface_get_local, then watchface_patch_local, then read back to verify.
  • If GetLocalClockInfo returns an empty ItemList: stop writes; switch to an editable watchface first.
  • Do not call watchface_create_local_clock unless the user clearly asks to create a new one (no implicit creation).

Implemented tools

  • watchface_get_localDevice/GetLocalClockInfo
  • watchface_patch_localDevice/PatchLocalClockInfo (default /divoom_api); optional dialAssetsPath switches to multipart POST /patch_local_clock (same dial/tar.gz rules as watchface_create_local_clock)
  • watchface_get_fonts_localDevice/GetLocalFontList
  • watchface_get_store_market_listDevice/GetStoreClockMarketList
  • watchface_set_clock_selectChannel/SetClockSelectId
  • watchface_get_brightnessSys/GetBrightness
  • watchface_set_brightnessChannel/SetBrightness
  • watchface_onoff_screenChannel/OnOffScreen (1=on, 0=off)
  • watchface_replace_dial_bg_filePOST /replace_clock_dial_bg
  • watchface_upload_filePOST /upload
  • watchface_create_local_clockPOST /create_local_clock (multipart: single dial image or tar.gz; JSON DialAssets/UseDialAssetBundle selects mode, default auto-detect gzip)
  • watchface_reset_local_then_cloudDevice/ResetLocalClockFromServer
  • watchface_get_screen_snapshotDevice/GetScreenSnapshot (wait 2s, then GET /userdata/snapshot.webp for visual diff)
  • watchface_raw_command → generic POST /divoom_api
  • watchface_protocol_quick_reference → key protocol constraints for the model

Resources (context for the model)

The server exposes two MCP resources:

  • divoom://guide/quick-reference
  • divoom://skill/watchface-customization

MCP Bundle (.mcpb)

For MCPB-compatible hosts (e.g. Claude desktop connectors, Smithery stdio releases), build a local bundle:

  1. Install the packer: npm install -g @anthropic-ai/mcpb
  2. From this package root: npm run mcpb:pack
  3. Output: mcp-divoom-lan.mcpb (gitignored). The staging directory mcpb/staging/ is also gitignored.

The bundle includes dist/, resources/, production node_modules, and a manifest.json with user fields for device IP, port, and timeout.

Quick start

cd tools/mcp-divoom-lan  # or your clone root for this package
npm install
npm run build
npm start

Development (watch rebuild):

npm run dev

Pre-release check (typecheck, build, pack dry-run):

npm run release:check

Documentation

  • docs/README.md — documentation index
  • docs/quick-start.md — minimal setup
  • docs/tool-examples.md — tool usage examples (includes §5b analog pointer layout)
  • docs/disp-usage.md — choosing disp ids (pointer layout 131/132/233; net-gallery uniqueness 13/125–130/173–175)
  • docs/html-visual-editor.md — using the visual editor with MCP
  • docs/safety-and-troubleshooting.md — safety and FAQs
  • docs/reference/ — condensed protocol rules (EN/ZH)
  • docs/examples/ — sample requests/responses and catalog

Environment variables

  • DIVOOM_DEVICE_HOST — device LAN IP (e.g. 192.168.1.120)
  • DIVOOM_DEVICE_PORT — HTTP port, default 9000
  • DIVOOM_TIMEOUT_MS — request timeout ms, default 45000

If DIVOOM_DEVICE_HOST is unset, each tool call must pass target.host.

Example client config (stdio)

Cursor / Claude Desktop

{
  "mcpServers": {
    "divoom-lan": {
      "command": "node",
      "args": [
        "/ABSOLUTE/PATH/to/tools/mcp-divoom-lan/dist/index.js"
      ],
      "env": {
        "DIVOOM_DEVICE_HOST": "192.168.1.120",
        "DIVOOM_DEVICE_PORT": "9000",
        "DIVOOM_TIMEOUT_MS": "45000"
      }
    }
  }
}

You can also copy client-config.example.json in this directory as a starting point.

Publishing checklist (for maintainers)

  1. Use a dedicated repo (e.g. mcp-divoom-lan) with this package at the repo root.
  2. Verify metadata: LICENSE, SECURITY.md, CONTRIBUTING.md, CHANGELOG.md, RELEASE.md as applicable.
  3. Run npm run release:check.
  4. Tag a GitHub release (e.g. v0.1.2) with screenshots and sample requests if helpful.
  5. Submit listings where appropriate (MCP Registry, Smithery, Glama, MCP.so, community indexes). For Glama, follow GLAMA_SUBMISSION_READY.md (includes Dockerfile and glama.json). For MCP.so, follow MCP_SO_SUBMISSION_READY.md. For 火山引擎 MCP 清单,见 VOLCENGINE_SUBMISSION_READY.md(PR: https://github.com/volcengine/mcp-server/pull/398)。For 阿里云百炼自定义 MCP(控制台 npx 部署),见 BAILIAN_MCP_SUBMISSION_READY.md。For 扣子 Coze 插件发布/商店(HTTP 插件,与 MCP 不同),见 COZE_SUBMISSION_READY.md
  6. Minimal demo flow: watchface_get_localwatchface_patch_local (font size/color) → watchface_replace_dial_bg_file (background).

Files often used at release

Included in this repo (when present): LICENSE, CHANGELOG.md, CONTRIBUTING.md, SECURITY.md, RELEASE.md, optional checklist and directory templates, and .github/workflows/ci.yml.

Should the HTML visual editor ship inside this npm package?

Recommendation: no for the core MCP package — keep MCP lean. Offer the editor as a separate optional project.

  • Core: https://github.com/DivoomDevelop/mcp-divoom-lan
  • Visual editor v2: https://github.com/DivoomDevelop/divoom-watchface-visual-editor_v2
  • Hosted v2: https://divoomdevelop.github.io/divoom-watchface-visual-editor_v2/

Benefits:

  • Small MCP install suitable for all AI clients
  • Non-developers can use the visual UI to understand ItemList, then let the AI apply patches
  • Clear split between WYSIWYG editing and automated MCP writes

Alignment with upstream docs

This repo ships standalone docs under docs/, docs/reference/, and docs/examples/. If you maintain full guides elsewhere, keep this tree synced or treat it as the distribution subset.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Other servers.