Unitrends Backup

io.github.WYRE-AI由 GitHub 帳號 WYRE-AI 發布v1.1.5更新於 Oct 24, 2026

MCP server for Unitrends Backup — appliances, jobs, recovery points, restores, alerts.

概覽

AI 產生的概覽

針對 Unitrends Backup 的 MCP 伺服器,讓助理檢視設備、資產、工作、復原點與警示,並可排入復原作業。

可以做什麼
列出並檢視設備與受保護資產,在 MCP Apps 主機中呈現互動式設備卡片。監控執行中、排隊中及歷史備份工作,支援依日期範圍查詢。瀏覽某資產的復原點並查看復原進度。排入復原作業,該操作標示為破壞性且需要確認。檢視未處理警示與 RPO 合規成功率報告。
適用情境
當你使用 Unitrends Backup 設備或 MSP 主控台,希望助理彙整備份狀況、排查失敗或執行中的工作、檢查 RPO 合規性,或在不切換 Unitrends 介面的情況下發起復原時適用。
執行需求
以 stdio 本機程序或 HTTP 容器映像執行。需要 Unitrends 設備或 MSP 主控台的基礎 URL、Unitrends API 使用者名稱與密碼(UNITRENDS_BASE_URL、UNITRENDS_USERNAME、UNITRENDS_PASSWORD),以及連線設備的網路存取。自簽憑證可將 UNITRENDS_VERIFY_TLS 設為 false。HTTP 模式另需 CONDUIT_S2S_SECRET。
安裝前請注意
伺服器持有可存取備份基礎設施的 Unitrends API 憑證(UNITRENDS_PASSWORD)。排入復原屬於破壞性操作且會改變系統狀態,核准前應確認目標。HTTP 模式下 CONDUIT_S2S_SECRET 必須是真實密鑰;不安全的開發繞過僅監聽本機回環位址。關閉 TLS 驗證會削弱對攔截的防護。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

Unitrends Backup MCP Server

[CI] [License: Apache 2.0]

A Model Context Protocol server exposing the Unitrends Backup API to Claude and other MCP clients.

What it does

Surface backup posture from your Unitrends appliances (or MSP Console) directly to AI assistants — list appliances and protected assets, monitor running and historical backup jobs, browse recovery points, queue restores and replication, and review open alarms and RPO compliance.

  • Interactive Appliance Card (MCP Apps): unitrends_get_appliance renders as an interactive card in MCP Apps hosts (Claude Desktop/web); neutral by default, brandable via window.__BRAND__ injection or MCP_BRAND_* env vars; plain-JSON behavior is unchanged in other hosts

Tools

ToolPurpose
unitrends_list_appliancesList appliances under the MSP Console
unitrends_get_applianceGet a single appliance's details (renders as an interactive card in MCP Apps hosts)
unitrends_list_assetsList protected assets (require applianceId — elicits if missing)
unitrends_get_assetFetch a single asset detail
unitrends_list_running_jobsCurrently running and queued backup jobs
unitrends_list_job_historyHistorical jobs (date-range elicitation)
unitrends_list_recovery_pointsRecovery points for an asset
unitrends_queue_restoreQueue a restore (DESTRUCTIVE — requires confirmation)
unitrends_get_restore_statusCheck restore progress
unitrends_list_alertsOpen alarms
unitrends_get_success_rateRPO compliance report (date-range elicitation)

Credentials

Copy .env.example. Leave CONDUIT_S2S_SECRET empty in that file.

Local (env mode and stdio)

The stdio transport reads these variables and does not use CONDUIT_S2S_SECRET.

sh
export UNITRENDS_BASE_URL="https://unitrends.example.com"export UNITRENDS_USERNAME="..."export UNITRENDS_PASSWORD="..."export UNITRENDS_VERIFY_TLS="true"   # 'false' for self-signed appliances

HTTP service-to-service auth

CONDUIT_S2S_SECRET is required when MCP_TRANSPORT=http. If it is empty, or a known placeholder (changeme, change-me, placeholder, secret, example, your-s2s-secret, your-secret, replace-me, replace-with-a-real-secret, s2s-secret), the process logs an error and exits non-zero. It never prints the secret. Generate one with openssl rand -hex 32.

MCP_ALLOW_INSECURE_DEV=1 is the only way to start HTTP without that secret. The flag must be exactly 1. The process logs a warning, does not check X-Gateway-S2S, and listens on 127.0.0.1 only. A non-loopback MCP_HTTP_HOST (including 0.0.0.0) is ignored in that mode and the override is logged. A known placeholder still refuses to start; unset the secret to use the bypass.

MCP_HTTP_HOST is honored when a real secret is set, including 0.0.0.0. When MCP_HTTP_HOST is unset and a secret is set, the server binds 0.0.0.0. When there is no secret, the bind address is 127.0.0.1. The container image sets MCP_HTTP_HOST=0.0.0.0.

With a real secret, every /mcp request must include X-Gateway-S2S. The value is t=<unix seconds>,v1=<hex hmac-sha256>. The MAC is HMAC-SHA256 over the ASCII string t=<unix seconds> (the same prefix that appears in the header), keyed with CONDUIT_S2S_SECRET. The timestamp must be within 300 seconds of the server clock. A missing or invalid header is 401 and is rejected before any vendor credential is read.

/health stays unauthenticated, does not read credentials, and is the container health check.

Hosted (gateway mode)

AUTH_MODE=gateway (the Compose default) requires these headers on every /mcp request. A request missing any of the required headers is 401 and does not fall back to UNITRENDS_* in the process environment.

  • X-Unitrends-Base-URL (required)
  • X-Unitrends-Username (required)
  • X-Unitrends-Password (required, secret)
  • X-Unitrends-Verify-TLS (optional, default true)
  • X-Gateway-S2S (required when CONDUIT_S2S_SECRET is set)
typescript
// Gateway injects vendor credentials and the X-Gateway-S2S proofconst response = await fetch("http://gateway:8080/mcp", {  method: "POST",  headers: {    "content-type": "application/json",    accept: "application/json, text/event-stream",    "x-gateway-s2s": "<t=unix,v1=hmac-sha256 of t=unix, keyed with CONDUIT_S2S_SECRET>",    "x-unitrends-base-url": "https://unitrends.example.com",    "x-unitrends-username": "your_username",    "x-unitrends-password": "your_password",  },  body: JSON.stringify({ jsonrpc: "2.0", id: 1, method: "tools/list" }),});

Single-tenant HTTP (AUTH_MODE=env, the image default) still requires a valid X-Gateway-S2S header, then reads UNITRENDS_* from the environment when the request does not carry credential headers.

Run

sh
npm installnpm run buildnpm start                       # stdio
# HTTP refuses to start until CONDUIT_S2S_SECRET is a real secretCONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" MCP_TRANSPORT=http npm start
# Local HTTP only, without a service-to-service secret (always binds 127.0.0.1)MCP_TRANSPORT=http MCP_ALLOW_INSECURE_DEV=1 npm start

Docker

The image listens on 0.0.0.0 inside the container and defaults to AUTH_MODE=env. Publish the port on loopback and pass the S2S secret. HTTP will not start when CONDUIT_S2S_SECRET is empty or a known placeholder.

sh
docker build -t unitrends-mcp .docker run \  -e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \  -e UNITRENDS_BASE_URL="https://unitrends.example.com" \  -e UNITRENDS_USERNAME="..." \  -e UNITRENDS_PASSWORD="..." \  -p 127.0.0.1:8080:8080 \  unitrends-mcp

Gateway mode does not read those vendor variables. Credentials arrive on each request, and the request must also carry X-Gateway-S2S signed with CONDUIT_S2S_SECRET:

sh
docker run \  -e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \  -e AUTH_MODE=gateway \  -p 127.0.0.1:8080:8080 \  unitrends-mcp

Compose refuses to start when CONDUIT_S2S_SECRET is unset or empty, sets AUTH_MODE=gateway, does not inject UNITRENDS_BASE_URL, UNITRENDS_USERNAME, or UNITRENDS_PASSWORD, and publishes 127.0.0.1:8080:8080:

sh
CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" docker compose up

License

Apache 2.0 — see LICENSE.

來源:README.md,提交 ae00585

工具

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

版本歷史

2
  1. v1.1.5最新Oct 14, 2026
  2. v1.1.4Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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