TractorBeeam365 MCP

io.github.Ringosystems由 GitHub 帳號 Ringosystems 發布v2.2.0更新於 Nov 10, 2026

MCP server for Veeam Backup for Microsoft 365: read-only review + gated, audited restore tier.

概覽

AI 產生的概覽

針對 Veeam Backup for Microsoft 365 的 MCP 伺服器,讓助理檢視備份設定、涵蓋缺口與趨勢,並可選擇性地執行工作與還原。

可以做什麼
  • 檢視備份健康狀態:一次性健康摘要、API 根與連線檢查、組織與組織清單、工作與工作範圍、工作工作階段、儲存庫與還原點、物件儲存、代理與授權。
  • 分析趨勢與缺口:各工作的成功/失敗漂移、容量用盡預測、還原測試頻率、RPO 合規性,以及對照未受保護的 Microsoft 365 物件計算備份涵蓋率。
  • 稽核雲端不可變性:將儲存桶層級的物件鎖定模式、保留期與版本控制,與 VB365 回報的結果交叉比對。
  • 視需要啟用操作:啟動、停止、啟用或停用工作,產生保護與儲存報告,重新同步組織,重新掃描代理或將其設為維護模式。
  • 編排還原:開啟時間點工作階段,瀏覽或搜尋可還原項目,定義目標與選項,執行、查看狀態並結束工作階段。
適用情境
當你管理 Veeam Backup for Microsoft 365,希望助理彙整設定、找出未受保護的信箱、網站或團隊、發現失敗工作與容量風險,或確認雲端不可變性時使用。選用的操作層適合需要受控工作操作或引導式還原的維運人員。
執行需求
需要本機執行環境:以 stdio 執行已發佈的 OCI 映像,或使用 Python 3.10+ 與專案相依套件。需透過 VB365_HOST 存取 VB365 REST API 主機,並提供 VB365_USERNAME 與 VB365_PASSWORD,帳號須為 VB365 系統管理員或還原操作員。缺口與雲端鎖定檢查可選用 Graph 及 B2/S3 相關設定;啟用操作需設定 TB_* 旗標。
安裝前請注意
VB365 沒有唯讀 API 角色,帳號必須是系統管理員或還原操作員,因此即使檢視工具只做 GET,憑證權限仍很高。啟用操作層後可變更工作並執行還原;還原到原始位置會覆寫資料,需明確確認。還原選項可能夾帶 Microsoft 365 目標憑證。SSL 驗證預設關閉,與 VB365 的連線可能遭中間人攔截。請勿將環境檔與稽核或還原資料提交到版本控制。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

TractorBeeam365 MCP

A Model Context Protocol server for Veeam Backup for Microsoft 365 (VB365). It talks directly to the VB365 REST API so an MCP client (Claude Code / Claude Desktop) can review your backup configuration, find protection gaps, spot trends, verify cloud immutability — and, when you explicitly opt in, run jobs and orchestrate restores.

Independent project — not affiliated with, endorsed by, or supported by Veeam Software. "Veeam" is a registered trademark of Veeam Software; the "Beeam" spelling is a deliberate, distinct play on words. Use at your own risk.

🔱 The name: a tractor beam pulls your data back in — and Beeam winks at the backup product underneath. Read-only review is the safe default; the "pull" (restore/actions) is opt-in.

Two tiers

TierDefaultWhat it can do
Read-only review✅ always onGET-only. Cannot change anything. Config/health, gap-analysis, trends, cloud-lock cross-check.
Action / Restore⛔ offOpt-in via TB_* env flags. Run/stop jobs, generate reports, sync orgs, define + execute restores. Every write is confirm-token gated and audited.

If you never set the TB_* flags, this is a pure read-only reviewer that physically cannot modify your environment — the action/restore tools aren't even registered.

Quick deploy (prebuilt image)

No clone or build required. From v2.2.0 the image is published multi-arch (amd64 + arm64) to GitHub Container Registry and Docker Hub, so it runs natively on x86 servers, Apple Silicon, and ARM boxes (Raspberry Pi, ARM cloud). On an ARM host, pin the :2.2.0 (or later) tag until a multi-arch :latest has been published.

Persistent HTTP service (Docker Compose)

Grab two files and start it:

bash
curl -fsSLO https://raw.githubusercontent.com/Ringosystems/TractorBeeam-MCP/main/docker-compose.deploy.ymlcurl -fsSL  https://raw.githubusercontent.com/Ringosystems/TractorBeeam-MCP/main/.env.example -o .env# Edit .env: set VB365_HOST / VB365_USERNAME / VB365_PASSWORD and a long MCP_AUTH_TOKEN.docker compose -f docker-compose.deploy.yml up -d

MCP is then live at http://<host>:8766/mcp. Attach a client with the bearer token you set:

bash
claude mcp add --transport http tractorbeeam365 http://<host>:8766/mcp \  --header "Authorization: Bearer <your MCP_AUTH_TOKEN>"

Update later:

bash
docker compose -f docker-compose.deploy.yml pull && docker compose -f docker-compose.deploy.yml up -d

Unraid (one click)

In Unraid open Docker → Add Container, and paste this template URL into the Template field:

text
https://raw.githubusercontent.com/Ringosystems/TractorBeeam-MCP/main/deploy/unraid/tractorbeeam365.xml

Fill in VB365_HOST, VB365_USERNAME, VB365_PASSWORD, and a long MCP_AUTH_TOKEN, then Apply. The audit and downloads folders map under /mnt/user/appdata/tractorbeeam365/.

Single MCP client, no service (stdio)

For a client that launches the server itself, run the image on demand over stdio:

bash
docker run -i --rm \  -e VB365_HOST=... -e VB365_USERNAME=... -e VB365_PASSWORD=... \  ghcr.io/ringosystems/tractorbeeam-mcp:latest

Read-only tools (always available)

ToolWhat it returns
vb365_health_summaryOne-shot review: orgs, jobs + last status, repos, cloud storage (B2/S3/Azure), proxies, license, trend anomalies, and a flags list. Start here.
vb365_trendsPer-job success/failure drift, repo capacity-full projection, restore-test cadence per org, RPO compliance.
gap_coverage_summary / gap_unprotected_objectsBackup coverage % and unprotected live M365 objects, by comparing Microsoft Graph against what jobs protect (needs GRAPH_*).
cloud_lock_auditCross-checks Object Lock mode/retention/versioning at the bucket vs what VB365 reports (needs B2_*/S3_*).
vb365_api_rootResource list + version (confirms connectivity).
vb365_list_organizations / vb365_org_inventoryProtected orgs; an org's users/groups/sites/teams.
vb365_list_jobs / vb365_get_job / vb365_job_scopeJobs, one job's config, and exactly what a job protects (selected/excluded).
vb365_list_job_sessionsRecent run results (optionally per job).
vb365_list_repositories / vb365_list_restore_pointsRepos (capacity/retention/immutability); restore points.
vb365_list_object_storage / vb365_get_object_storageCloud/object storage (B2/S3/Azure/Wasabi/IBM/Glacier).
vb365_list_proxies / vb365_licenseProxies + status; license/edition/expiry.
vb365_getRead-only GET to any other /<version>/... resource.

Action / Restore tools (opt-in, gated)

Registered only when the matching flag is set. Two-call confirm pattern: call once to get a preview + a one-time confirm_token; call again with confirm=<token> to execute. Every execution is appended to TB_AUDIT_LOG.

Tool (flag)What it does
action_job (TB_ALLOW_JOB_CONTROL)start / stop / enable / disable a backup job
action_generate_report (TB_ALLOW_REPORTS)mailbox/onedrive/sharepoint/teams/user protection, license, storage reports → file
action_org_sync (TB_ALLOW_ORG_SYNC)trigger a directory resync for an org
action_proxy (TB_ALLOW_PROXY)rescan / maintenance-mode a proxy
restore_session_start → restore_browse / restore_search → restore_define → restore_execute → restore_status → restore_session_stop (TB_ALLOW_RESTORE)Full restore orchestration across Exchange / OneDrive / SharePoint / Teams: open a point-in-time session, browse/search restorable items, then define (pick items + target + options) and execute a restore.

Restore: define what, where, how

text
restore_session_start(scope="job", scope_id="<jobId>", workload="exchange")   → { session_id }                         # opens a point-in-time explore sessionrestore_browse(session_id)                  # list mailboxesrestore_browse(session_id, parent_id=<mailboxId>)   # list items in a mailboxrestore_define(session_id, parent_id=<mailboxId>, item_ids=[...], target="export")   → { confirm_token, preview }             # DRY RUN — nothing changedrestore_execute(session_id, confirm=<confirm_token>)   # executes + auditsrestore_session_stop(session_id)
  • target = export (safest — reads backup to a local file; no M365 creds), alternate (writes to a different M365 location), or original (writes back to the original location — destructive; also pass confirm_overwrite_original=True).
  • options may carry an alternate mailbox/folder and the M365 target credentials VB365 uses to write back (userName/userPassword/applicationId), or set VB365_RESTORE_* in .env.
  • PST export requires 64-bit Outlook 2010+ installed on the VB365 server (a Veeam requirement); without it, exportToPst returns a server-side error.

Setup

  1. Install Python 3.10+ where Claude Code runs.

  2. From this folder:

    powershell
    python -m venv .venv.\.venv\Scripts\Activate.ps1pip install -r requirements.txt
  3. Copy .env.example to .env and fill in VB365_HOST, VB365_USERNAME, VB365_PASSWORD (keep VB365_PORT=4443, VB365_API_VERSION=v8 unless yours differ). Optionally add GRAPH_*, B2_*/S3_*, and the TB_* flags.

    The REST API account needs to be a VB365 administrator (or restore operator) — VB365 has no read-only API role. The read-only review tools are GET-only regardless. New-VB365ReviewAccount.ps1 creates a dedicated service account on the VB365 server. Keep .env out of source control.

Register with Claude Code

powershell
# Replace <repo> with the absolute path to your clone.claude mcp add tractorbeeam365 --scope user -- "<repo>\.venv\Scripts\python.exe" "<repo>\server.py"

On Linux/macOS use forward slashes and <repo>/.venv/bin/python.

It is also published to the MCP Registry as io.github.Ringosystems/tractorbeeam-mcp (an OCI image on GHCR), so MCP clients that support the registry can install it directly. To run the published image as a stdio server:

bash
docker run -i --rm \  -e VB365_HOST=... -e VB365_USERNAME=... -e VB365_PASSWORD=... \  ghcr.io/ringosystems/tractorbeeam-mcp:latest

Then ask: "Run a VB365 health summary and tell me if anything is misconfigured."

Enabling the action / restore tier

The action/restore tools stay hidden until you opt in. In .env:

ini
TB_ENABLE_ACTIONS=true        # master switchTB_ALLOW_JOB_CONTROL=true     # + any of the per-category flags you wantTB_ALLOW_RESTORE=trueTB_AUDIT_LOG=audit/actions.jsonl

The action/restore tools are not registered over an HTTP transport unless you also set TB_ALLOW_WRITE_OVER_HTTP=true, because that transport has no per-caller identity. Run the operator tier over stdio, or only behind your own authenticating reverse proxy.

Safety model: tools are only registered when enabled, every mutation needs a second call with a one-time confirm token, restores default to a safe target (original-location overwrite needs an explicit acknowledgement), and every action is written to an append-only audit log. Recommended: run a separate "operator" instance with the flags on, and the default instance read-only.

Run as a persistent service (Docker / UNRAID)

The image itself defaults to the stdio transport (so MCP clients can docker run -i it). Via docker compose it runs streamable-http on 0.0.0.0:8000 inside the container, read-only (no TB_* flags). No credentials are baked in. The HTTP transport fails closed: it refuses to start unless you set MCP_AUTH_TOKEN (clients then send Authorization: Bearer <token>), or you explicitly accept the risk with MCP_ALLOW_UNAUTHENTICATED_HTTP=true.

bash
# Put MCP_AUTH_TOKEN=<a long random secret> in .env first.docker compose up -d --build          # builds locally and runs read-only# MCP is live at http://<host>:8766/mcp ; attach with:claude mcp add --transport http tractorbeeam365 http://<host>:8766/mcp \  --header "Authorization: Bearer <token>"

Prebuilt images

Each GitHub Release publishes a multi-arch, multi-tag image via CI (.github/workflows/publish.yml) to GHCR, Docker Hub, and the MCP Registry. The full release runbook is in PUBLISHING.md.

bash
# GitHub Container Registry (published automatically on every release):docker pull ghcr.io/ringosystems/tractorbeeam-mcp:latest# Docker Hub (published when the DOCKERHUB_USERNAME / DOCKERHUB_TOKEN repo# secrets are configured):docker pull ringosystems/tractorbeeam365-mcp:latest

To publish manually instead:

bash
docker build -t <dockerhubuser>/tractorbeeam365-mcp:latest .docker push <dockerhubuser>/tractorbeeam365-mcp:latest

Security: the MCP HTTP transport has no per-caller identity. This build binds loopback by default, requires MCP_AUTH_TOKEN before it will serve HTTP, and hides the write/restore tools over HTTP unless TB_ALLOW_WRITE_OVER_HTTP=true. Still keep the port on a trusted network and front it with TLS + auth. The audit log and any generated PST/report files live in the mounted audit/ and downloads/ volumes. See SECURITY.md.

Quick connectivity test (no MCP client needed)

powershell
.\.venv\Scripts\Activate.ps1python -c "import server; print(server.vb365_api_root())"

Notes

  • .gitignore excludes .env, the venv, and the operator-tier audit/, downloads/, *.pst artifacts. Never commit credentials or restored data.
  • VB365 ships a self-signed cert, so VB365_VERIFY_SSL defaults to false. That leaves the link to VB365 open to an active man-in-the-middle, so prefer setting VB365_CA_BUNDLE to the server's certificate (verification on against it), or VB365_VERIFY_SSL=true with a trusted cert. The server warns at startup when the channel is unverified.
  • Endpoint names vary slightly by VB365 version. If a curated tool 404s, call vb365_api_root and use vb365_get with the exact resource name.

Trademarks

This is an independent project and is not affiliated with, endorsed by, or sponsored by any of the companies below. Product names are used only for identification (nominative use).

  • "Veeam" is a registered trademark of Veeam Software. The "Beeam" spelling is a deliberate, distinct wordplay and is not the trademark.
  • Microsoft, Microsoft 365, Microsoft Graph, Outlook, and the Office Deployment Tool are trademarks of the Microsoft group of companies.
  • Backblaze and B2 are trademarks of Backblaze, Inc.
  • Amazon Web Services, AWS, Amazon S3, and S3 Glacier are trademarks of Amazon.com, Inc. or its affiliates.
  • Wasabi, IBM and IBM Cloud, Azure, and Google Cloud are trademarks of their respective owners.

License

Released under the MIT License. See SECURITY.md for the security model and reporting, CONTRIBUTING.md to contribute, and PUBLISHING.md for how releases are built and published.

來源:README.md,提交 37deccd

工具

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

版本歷史

1
  1. v2.2.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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