TractorBeeam365 MCP
Allows cross-checking Object Lock mode, retention, and versioning at the S3 bucket level against what VB365 reports.
Allows cross-checking Object Lock mode, retention, and versioning at the Backblaze B2 bucket level against what VB365 reports.
Provides tools to review backup configuration, find protection gaps, spot trends, verify cloud immutability, and optionally run jobs and orchestrate restores for Veeam Backup for Microsoft 365.
Allows cross-checking Object Lock mode, retention, and versioning at the Wasabi bucket level against what VB365 reports.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TractorBeeam365 MCPshow me a health summary of my Veeam 365 setup"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Tier | Default | What it can do |
Read-only review | ✅ always on | GET-only. Cannot change anything. Config/health, gap-analysis, trends, cloud-lock cross-check. |
Action / Restore | ⛔ off | Opt-in via |
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.
Related MCP server: Microsoft 365 MCP Server
Read-only tools (always available)
Tool | What it returns |
| One-shot review: orgs, jobs + last status, repos, cloud storage (B2/S3/Azure), proxies, license, trend anomalies, and a |
| Per-job success/failure drift, repo capacity-full projection, restore-test cadence per org, RPO compliance. |
| Backup coverage % and unprotected live M365 objects, by comparing Microsoft Graph against what jobs protect (needs |
| Cross-checks Object Lock mode/retention/versioning at the bucket vs what VB365 reports (needs |
| Resource list + version (confirms connectivity). |
| Protected orgs; an org's users/groups/sites/teams. |
| Jobs, one job's config, and exactly what a job protects (selected/excluded). |
| Recent run results (optionally per job). |
| Repos (capacity/retention/immutability); restore points. |
| Cloud/object storage (B2/S3/Azure/Wasabi/IBM/Glacier). |
| Proxies + status; license/edition/expiry. |
| Read-only GET to any other |
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 |
| start / stop / enable / disable a backup job |
| mailbox/onedrive/sharepoint/teams/user protection, license, storage reports → file |
| trigger a directory resync for an org |
| rescan / maintenance-mode a proxy |
| 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
restore_session_start(scope="job", scope_id="<jobId>", workload="exchange")
→ { session_id } # opens a point-in-time explore session
restore_browse(session_id) # list mailboxes
restore_browse(session_id, parent_id=<mailboxId>) # list items in a mailbox
restore_define(session_id, parent_id=<mailboxId>, item_ids=[...], target="export")
→ { confirm_token, preview } # DRY RUN — nothing changed
restore_execute(session_id, confirm=<confirm_token>) # executes + audits
restore_session_stop(session_id)target =
export(safest — reads backup to a local file; no M365 creds),alternate(writes to a different M365 location), ororiginal(writes back to the original location — destructive; also passconfirm_overwrite_original=True).options may carry an alternate
mailbox/folderand the M365 target credentials VB365 uses to write back (userName/userPassword/applicationId), or setVB365_RESTORE_*in.env.PST export requires 64-bit Outlook 2010+ installed on the VB365 server (a Veeam requirement); without it,
exportToPstreturns a server-side error.
Setup
Install Python 3.10+ where Claude Code runs.
From this folder:
python -m venv .venv .\.venv\Scripts\Activate.ps1 pip install -r requirements.txtCopy
.env.exampleto.envand fill inVB365_HOST,VB365_USERNAME,VB365_PASSWORD(keepVB365_PORT=4443,VB365_API_VERSION=v8unless yours differ). Optionally addGRAPH_*,B2_*/S3_*, and theTB_*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.ps1creates a dedicated service account on the VB365 server. Keep.envout of source control.
Register with Claude Code
# 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.
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:
TB_ENABLE_ACTIONS=true # master switch
TB_ALLOW_JOB_CONTROL=true # + any of the per-category flags you want
TB_ALLOW_RESTORE=true
TB_AUDIT_LOG=audit/actions.jsonlThe 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 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.
# 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-tag image via CI (.github/workflows/publish.yml):
# 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:latestTo publish manually instead:
docker build -t <dockerhubuser>/tractorbeeam365-mcp:latest .
docker push <dockerhubuser>/tractorbeeam365-mcp:latestSecurity: the MCP HTTP transport has no per-caller identity. This build binds loopback by default, requires
MCP_AUTH_TOKENbefore it will serve HTTP, and hides the write/restore tools over HTTP unlessTB_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 mountedaudit/anddownloads/volumes. See SECURITY.md.
Quick connectivity test (no MCP client needed)
.\.venv\Scripts\Activate.ps1
python -c "import server; print(server.vb365_api_root())"Notes
.gitignoreexcludes.env, the venv, and the operator-tieraudit/,downloads/,*.pstartifacts. Never commit credentials or restored data.VB365 ships a self-signed cert, so
VB365_VERIFY_SSLdefaults tofalse. That leaves the link to VB365 open to an active man-in-the-middle, so prefer settingVB365_CA_BUNDLEto the server's certificate (verification on against it), orVB365_VERIFY_SSL=truewith 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_rootand usevb365_getwith 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, and CONTRIBUTING.md to contribute.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ringosystems/TractorBeeam-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server