
Unitrends Backup
io.github.wyre-technology由 GitHub 账号 wyre-technology 发布v1.1.3更新于 Oct 24, 2026
MCP server for Unitrends Backup — appliances, jobs, recovery points, restores, alerts.
概览
让助手查看 Unitrends Backup 的设备、作业、恢复点和告警,并可排队执行恢复。
- 可以做什么
- 将 Unitrends Backup API 暴露给 MCP 客户端。相关工具可列出设备和受保护资产、查看正在运行和历史备份作业、浏览恢复点、检查恢复进度、查看未处理告警,并生成 RPO 合规报告。其中一个工具用于排队执行恢复,README 将其标注为破坏性操作且需要确认。
- 适用场景
- 适合需要让助手基于 Unitrends 设备或 MSP Console 回答备份状态、作业历史或 RPO 合规问题,或在不打开 Unitrends 界面的情况下发起恢复的场景。
- 运行要求
- 以容器形式通过 stdio 在本地运行(也支持 HTTP 模式)。需要 UNITRENDS_BASE_URL、UNITRENDS_USERNAME 和 UNITRENDS_PASSWORD;自签名设备可将 UNITRENDS_VERIFY_TLS 设为 false。网关模式下凭据通过 X-Unitrends-Base-URL、X-Unitrends-Username 和 X-Unitrends-Password 请求头传入。需要能访问设备的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Unitrends Backup,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Unitrends Backup MCP Server
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_appliancerenders as an interactive card in MCP Apps hosts (Claude Desktop/web); neutral by default, brandable viawindow.__BRAND__injection orMCP_BRAND_*env vars; plain-JSON behavior is unchanged in other hosts
Tools
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.
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, defaulttrue)X-Gateway-S2S(required whenCONDUIT_S2S_SECRETis set)
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
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.
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:
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:
License
Apache 2.0 — see LICENSE.
来源:README.md,提交 ae00585
工具
0版本历史
1- v1.1.3最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分