Domotz

io.github.wyre-technology由 GitHub 帳號 wyre-technology 發布v1.1.10更新於 Oct 24, 2026

MCP server for Domotz network monitoring — agents, devices, alerts, and network discovery.

概覽

AI 產生的概覽

讓助理透過 Domotz 公開 API 查詢網路監控資料,包括代理、裝置、告警、指標、拓撲與電源。

可以做什麼
將相容於 MCP 的助理連接到 Domotz 網路監控帳號。它提供代理、告警、裝置、指標、網路拓撲與設定以及電源管理等領域,助理可查詢裝置探索與狀態、檢視與管理告警、讀取網路效能指標。它以本機 stdio 程序執行,託管於閘道後時也可透過 HTTP 執行。
適用情境
適合已在使用 Domotz 的託管服務供應商與網路維運人員,希望助理在不開啟 Domotz 入口網站的情況下回答有關受監控裝置、告警與網路健康狀況的問題。若不使用 Domotz 則意義不大。
執行需求
需要可執行該 npm 套件或容器映像檔的本機執行環境。需要 Domotz 公開 API 金鑰,透過 DOMOTZ_API_KEY 提供,在 Domotz 入口網站中產生。可選設定 DOMOTZ_API_URL(區域端點)、AUTH_MODE、MCP_TRANSPORT 與 LOG_LEVEL。需要連線至 Domotz API 的網路。
安裝前請注意
需要密鑰 DOMOTZ_API_KEY,該密鑰可存取你的 Domotz 帳號資料。README 列出了告警與電源管理領域,因此部分操作可能變更或作用於受監控基礎設施,而不只是讀取。日常使用前請確認哪些工具會寫入。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Domotz,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Domotz MCP Server

[License] [Node.js]

A Model Context Protocol (MCP) server for Domotz network monitoring and management. Enables AI assistants to monitor network devices, view alerts, check device status, and manage network infrastructure.

This is a Model Context Protocol (MCP) server that connects Claude (or any MCP-compatible AI) to your Domotz environment.

Part of the MSP Claude Plugins ecosystem — a growing suite of AI integrations for the MSP stack. Built by MSPs, for MSPs.

Installation

bash
npm install @wyre-ai/domotz-mcp

Configuration

Copy .env.example and set the variables below.

VariableRequiredDescription
DOMOTZ_API_KEYFor stdio and AUTH_MODE=envDomotz Public API key
DOMOTZ_REGIONNoAPI region cell label (default: us-east-1)
MCP_TRANSPORTNostdio (default) or http
AUTH_MODENogateway (Docker image and Compose default) or env. Gateway mode requires X-Domotz-API-Key on each /mcp request and never falls back to DOMOTZ_API_KEY. env uses that variable only after S2S auth succeeds.
CONDUIT_S2S_SECRETYes for HTTPService-to-service secret. The HTTP server logs an error and exits non-zero when this is empty or a known placeholder (changeme, secret, your-s2s-secret, replace-with-a-real-secret, and the other values rejected in src/http.ts). Compose will not start without it. Never commit a real value. The value is never logged.
MCP_ALLOW_INSECURE_DEVNoSet to exactly 1 only for local development to start HTTP without CONDUIT_S2S_SECRET. The process logs a warning, does not enforce X-Gateway-S2S, and binds 127.0.0.1 only. A non-loopback MCP_HTTP_HOST is ignored and the override is logged. A known placeholder secret is still refused.
MCP_HTTP_HOSTNoBind address when MCP_TRANSPORT=http. Defaults to 127.0.0.1. Honored when CONDUIT_S2S_SECRET is set. The container image sets 0.0.0.0.
MCP_HTTP_PORTNoHTTP port. Defaults to 8080.

/health stays unauthenticated and does not read credentials. The stdio transport does not use CONDUIT_S2S_SECRET.

HTTP authentication

With MCP_TRANSPORT=http and CONDUIT_S2S_SECRET set, every /mcp request must include X-Gateway-S2S. The check is verifyS2sHeader in src/s2s-verify.ts: the header value is t=<unix seconds>,v1=<hex>, where the hex is HMAC-SHA256 of the literal string t=<unix seconds> keyed with CONDUIT_S2S_SECRET (64 lowercase hex characters). The timestamp must be within 300 seconds of the server clock. A missing or invalid header returns 401 before vendor credentials are read.

bash
TS=$(date +%s)SIG=$(printf 't=%s' "$TS" | openssl dgst -sha256 -hmac "$CONDUIT_S2S_SECRET" -hex | awk '{print $NF}')curl -sS http://127.0.0.1:8080/mcp \  -H 'Content-Type: application/json' \  -H 'Accept: application/json, text/event-stream' \  -H "X-Gateway-S2S: t=${TS},v1=${SIG}" \  -H "X-Domotz-API-Key: $DOMOTZ_API_KEY" \  -H 'X-Domotz-Region: us-east-1' \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

In AUTH_MODE=gateway, /mcp also requires X-Domotz-API-Key (X-Domotz-Region is optional and defaults to us-east-1). That header is the only credential source for the request. In AUTH_MODE=env, a valid X-Gateway-S2S header is still required and vendor credentials come from DOMOTZ_API_KEY.

Usage

Running with Claude Desktop

Add to your Claude Desktop claude_desktop_config.json:

json
{  "mcpServers": {    "domotz-mcp": {      "command": "npx",      "args": ["@wyre-ai/domotz-mcp"],      "env": {        "DOMOTZ_API_KEY": "your-domotz-api-key"      }    }  }}

Running with Claude Code (CLI)

bash
claude mcp add domotz-mcp \  -e DOMOTZ_API_KEY=your-value \  -- npx -y @wyre-ai/domotz-mcp

Docker

The image listens on 0.0.0.0 inside the container (MCP_HTTP_HOST) and defaults to AUTH_MODE=gateway. Publish the port on loopback and pass the S2S secret. In gateway mode, the Domotz API key arrives on each request as X-Domotz-API-Key; it is not read from the environment. Compose does not set DOMOTZ_API_KEY.

bash
docker build -t domotz-mcp .docker run \  -e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \  -p 127.0.0.1:8080:8080 \  domotz-mcp

Compose refuses to start when CONDUIT_S2S_SECRET is unset, sets AUTH_MODE=gateway, and publishes 127.0.0.1:8080:8080. Generate the secret with openssl rand -hex 32; do not use a placeholder such as your-s2s-secret.

bash
CONDUIT_S2S_SECRET="$(openssl rand -hex 32)" docker compose up

Single-tenant HTTP (AUTH_MODE=env) still requires the S2S secret, then uses DOMOTZ_API_KEY:

bash
docker run \  -e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \  -e AUTH_MODE=env \  -e DOMOTZ_API_KEY=your-value \  -e DOMOTZ_REGION=us-east-1 \  -p 127.0.0.1:8080:8080 \  domotz-mcp

Local HTTP without a secret is development-only. It binds 127.0.0.1 only and logs a warning. A non-loopback MCP_HTTP_HOST, including 0.0.0.0, is ignored:

bash
MCP_TRANSPORT=http MCP_ALLOW_INSECURE_DEV=1 npm run start:http

Available Domains

Agents

Manage Domotz monitoring agents

Alerts

View and manage network alerts

Devices

Device discovery and status monitoring

Metrics

Network performance metrics

Network

Network topology and configuration

Power

Power management for managed devices

Development

bash
# Clone the repositorygit clone https://github.com/WYRE-AI/domotz-mcp.gitcd domotz-mcp
# Install dependenciesnpm install
# Buildnpm run build
# Run testsnpm test
# HTTP transport refuses to start until CONDUIT_S2S_SECRET is a real secretCONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" npm run start:http
# Local HTTP only, without a service-to-service secret (always binds 127.0.0.1)MCP_ALLOW_INSECURE_DEV=1 npm run start:http

Contributing

Contributions are welcome! Please see CONTRIBUTING.md if present, or open an issue to discuss changes.

License

Licensed under the Apache License, Version 2.0. See LICENSE for details.

來源:README.md,提交 7472640

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.1.10最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分