Skip to main content
Glama
Datto BCDR MCP Server

Datto BCDR MCP Server

by veeemlab

Datto BCDR MCP Server

Release npm version npm downloads License: MIT Docker Publish

A Model Context Protocol server for Datto BCDR (SIRIS, ALTO, Cloud SIRIS/DBMA). It lets MCP-compatible AI clients (Claude Desktop, Claude Code, and others) answer backup questions across your whole fleet, such as "Which backups are broken?" or "How is customer X doing?", in a single tool call.

Read-only Datto BCDR MCP server that turns fleet-wide backup monitoring into one tool call.

Why this server?

Most Datto BCDR integrations wrap the REST API one endpoint at a time. The model then has to list every device, fetch every agent and compare timestamps itself, which is slow, burns context and breaks on rate limits. This server takes a different approach:

  • Aggregated tools, not just wrappers. The health check runs server-side across all devices and returns only the problems.

  • Root causes, not just symptoms. Besides stale snapshots it detects full local storage, an expiring Datto service period, paused agents, failed local verification and excluded volumes.

  • Context-friendly output. Trimmed fields, relative timestamps ("vor 30 h"), empty values removed.

  • Rate-limit safe. A sliding-window limiter keeps fleet scans under Datto's roughly 120 requests/minute per key, with a short GET cache and Retry-After handling.

  • Strictly read-only. The server only issues GET requests. There is nothing to confirm because nothing can be changed.

Related MCP server: Vigilo

When to use this

Use this server when an MCP client should monitor Datto BCDR backups without hand-walking the API.

It is especially suited for:

  • daily backup checks ("what failed overnight?")

  • per-client status for monthly reports and QBRs

  • finding a protected server by hostname across all appliances

  • reviewing failed screenshot verifications, including the image

  • automated alerting (e.g. an n8n cron job that opens PSA tickets via the REST endpoint)

  • containerized MCP deployments

Features

  • 10 tools, 2 of them fleet-wide aggregations (health summary, client overview)

  • 11 health checks with per-call threshold overrides, ignore and criticalOnly

  • Screenshot verification images returned as MCP image content, so the model can see why a boot test failed

  • Flat tool schemas (string / number / boolean only), compatible with Copilot Studio and MCP hubs

  • Two transports: stdio (default, for desktop/CLI clients) and authenticated Streamable HTTP for remote/containerized use

  • REST endpoint /api/health-summary with stable dedupKeys for ticket deduplication

  • Field names verified against the live Datto BCDR API

Tools (10)

Tool

Description

get-backup-health-summary

Checks all devices and agents against thresholds and returns only findings

get-client-overview

Per-client rollup: devices, agents, critical/warning counts, traffic-light status

find-asset

Find a protected server/agent by hostname across the whole fleet

get-screenshot-failures

Agents whose screenshot verification failed in the last N days

get-screenshot

Latest screenshot verification image of an agent

list-alerts

Active alerts, per device or fleet-wide

list-active-restores

Running virtualizations / VM restores, per device or fleet-wide

list-devices

Fleet with model, client and online status

get-device

Device details incl. local storage usage in %, service period and warranty

list-device-assets

Agents/shares of a device with snapshot, offsite, screenshot and backup status

All tools are read-only. Tool descriptions and finding texts are in German.

Health checks

Code

Severity

Default

DEVICE_OFFLINE

critical

not seen for > 1 h

SNAPSHOT_STALE / SNAPSHOT_MISSING

critical

last snapshot > 24 h ago / none

BACKUP_FAILED

critical

last backup run failed (incl. error message)

LOCAL_STORAGE_HIGH

warning, critical from 95 %

≥ 85 % used

SERVICE_EXPIRING

warning, critical once expired

Datto service period ends within 30 days

LOCAL_VERIFICATION_FAILED

warning

backup succeeded but local verification failed

OFFSITE_STALE / OFFSITE_MISSING

warning

last offsite sync > 48 h ago / never (not for CLDSIRIS)

SCREENSHOT_FAILED / SCREENSHOT_STALE

warning

last attempt failed / older than 7 days

AGENT_PAUSED

warning

agent is paused (forgotten pauses after maintenance)

UNPROTECTED_VOLUMES

warning

volumes excluded from the backup (named)

DEVICE_API_ERROR

warning

assets of the device could not be fetched

Every threshold can be overridden per call. Use ignore (comma-separated codes) to hide specific checks and criticalOnly to return critical findings only. Archived agents are skipped, shares have no screenshot check. A paused agent is reported once as AGENT_PAUSED instead of its stale-snapshot symptoms.

Prerequisites

  • Node.js 20+

  • Datto BCDR API key pair: Partner Portal → Admin → Integrations → API Keys → Create API Key. Create it without a client or vendor restriction, otherwise the key only sees part of the fleet. Datto allows at most two API keys per organization.

Installation

1. Run via npx (recommended)

npx -y @veeemlab/datto-bcdr-mcp

2. Run from GitHub (bleeding edge)

npx -y github:veeemlab/datto-bcdr-mcp

3. Install globally

npm install -g @veeemlab/datto-bcdr-mcp
datto-bcdr-mcp

Configuration

MCP hubs (stdio)

Field

Value

Server type

STDIO

Command

npx

Arguments

-y @veeemlab/datto-bcdr-mcp@0.1.0

Environment

DATTO_BCDR_PUBLIC_KEY, DATTO_BCDR_SECRET_KEY

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "datto-bcdr": {
      "command": "npx",
      "args": ["-y", "@veeemlab/datto-bcdr-mcp"],
      "env": {
        "DATTO_BCDR_PUBLIC_KEY": "your-public-key",
        "DATTO_BCDR_SECRET_KEY": "your-secret-key"
      }
    }
  }
}

Claude Code

claude mcp add datto-bcdr --env DATTO_BCDR_PUBLIC_KEY=your-public-key --env DATTO_BCDR_SECRET_KEY=your-secret-key -- npx -y @veeemlab/datto-bcdr-mcp

MCP Inspector

npx @modelcontextprotocol/inspector npx -y @veeemlab/datto-bcdr-mcp

All tool schemas are flat. List parameters such as serials or ignore take comma-separated strings, e.g. "AGENT_PAUSED,SCREENSHOT_STALE".

Environment Variables

Variable

Required

Default

Description

DATTO_BCDR_PUBLIC_KEY

yes

Public key (Basic Auth username)

DATTO_BCDR_SECRET_KEY

yes

Secret key (Basic Auth password)

MCP_TRANSPORT

no

stdio

stdio or http

DATTO_BCDR_CONCURRENCY

no

5

Parallel requests during fleet scans

DATTO_BCDR_RATE_LIMIT_PER_MINUTE

no

100

Datto allows roughly 120/min per key

DATTO_BCDR_CACHE_TTL_SECONDS

no

60

GET cache TTL, 0 disables it

DATTO_BCDR_TIMEOUT_MS

no

30000

Timeout per request

DATTO_BCDR_BASE_URL

no

https://api.datto.com/v1/bcdr

MCP_AUTH_TOKEN

HTTP only

Bearer token for /mcp and /api. Always set it when the server is reachable from the network

HOST / PORT

HTTP only

127.0.0.1 / 3000

ALLOWED_HOSTS

HTTP only

Host header allowlist (DNS rebinding protection), e.g. mcp.example.com

Run with Docker

Images for linux/amd64 and linux/arm64 are published to GHCR on every release.

stdio (Claude Desktop/Code, MCP hubs):

docker run -i --rm -e DATTO_BCDR_PUBLIC_KEY=... -e DATTO_BCDR_SECRET_KEY=... ghcr.io/veeemlab/datto-bcdr-mcp:latest

HTTP (long-running service): use the included docker-compose.yml with a .env file containing the Datto keys and MCP_AUTH_TOKEN.

docker compose up -d

Without Docker: npm run start:http. In HTTP mode the server refuses to start without MCP_AUTH_TOKEN unless HOST is a loopback address.

Path

Purpose

POST /mcp

MCP Streamable HTTP (stateless), Authorization: Bearer $MCP_AUTH_TOKEN

GET /api/health-summary

Plain JSON health report, same parameters as query string (?criticalOnly=true&ignore=AGENT_PAUSED,SCREENSHOT_STALE)

GET /healthz

Liveness probe, no auth

curl -s localhost:3000/api/health-summary -H "Authorization: Bearer $MCP_AUTH_TOKEN" | jq .totals

Automation (e.g. n8n → PSA tickets)

GET /api/health-summary returns a dedupKey per finding (<serial>:<asset> or <serial>:_device). Before opening a ticket, the workflow looks for an open ticket with that key (e.g. in the title or a custom field) and only creates a new one if none exists.

Security

  • Read-only: the server only issues GET requests to the Datto API.

  • Credentials are read from environment variables only and never logged.

  • Screenshot images are only downloaded from https://*.datto.com / https://*.dattobackup.com, and API credentials are only sent to the API host.

  • In HTTP mode a bearer token is mandatory on non-loopback hosts. Use ALLOWED_HOSTS to pin the expected host name behind a reverse proxy.

Development

npm ci
cp .env.example .env   # add your keys
set -a; source .env; set +a
npm run smoke          # validates the key pair and prints the real field names of /device and /asset
npm run lint           # eslint
npm run format:check   # prettier
npm test               # vitest
npm run inspect        # MCP Inspector against dist/

Release

Releases are tag-driven. On a v* tag the workflows run lint, tests and build, publish to npm with provenance, create a GitHub release and push the Docker image to GHCR:

npm version patch && git push --follow-tags

License

MIT

Available Tools

10 tools
find-assetAgent flottenweit findenA
Read-onlyIdempotent

Sucht einen geschützten Server/Agent oder Share über Hostname/FQDN auf allen Geräten und liefert Gerät, Kunde und Backup-Status.

Inputs: hostname (required), client, includeHidden.

get-backup-health-summaryBackup Health Summary (Flotte)A
Read-onlyIdempotent

Prüft alle Geräte und Agents gegen Schwellwerte und gibt NUR Problemfälle zurück. Kritisch: Gerät offline, Snapshot zu alt/fehlend, letzter Backup-Lauf fehlgeschlagen, lokaler Speicher >= 95 %, Datto-Servicevertrag abgelaufen. Warnung: Offsite-Sync zu alt, Screenshot-Verification fehlgeschlagen/zu alt, lokale Verifikation fehlgeschlagen, lokaler Speicher über Schwellwert, Servicevertrag endet bald, Agent pausiert, Volumes nicht im Backup. Archivierte Agents werden übersprungen. Standard: Snapshot 24 h, Offsite 48 h, Screenshot 7 d, Offline 1 h, Speicher 85 %, Servicevertrag 30 d.

Inputs: client, ignore, serials, criticalOnly, +7 more.

get-client-overviewBackup-Status pro KundeA
Read-onlyIdempotent

Rollup pro Kunde: Geräte (online/offline), geschützte Agents/Shares, Anzahl kritischer und Warn-Befunde, Ampelstatus. Gut für Monatsreports, QBRs und 'wie steht Kunde X da?'. Nutzt dieselben Schwellwerte wie get-backup-health-summary.

Inputs: client, includeHidden.

get-deviceDatto-Gerät DetailsB
Read-onlyIdempotent

Details eines Geräts: Modell, Kunde, Online-Status, Speicherbelegung lokal/offsite, Region (CLDSIRIS), Garantie.

Inputs: serial (required).

get-screenshotScreenshot-Verification anzeigenA
Read-onlyIdempotent

Lädt das letzte Screenshot-Verification-Bild eines Agents, damit du siehst, warum der Boot-Test fehlschlug (Bluescreen, Login-Fenster, Updates, Black Screen). Gibt das Bild plus Status zurück.

Inputs: asset (required), serial (required).

get-screenshot-failuresFehlgeschlagene Screenshot-VerificationsB
Read-onlyIdempotent

Agents, deren Screenshot-Verification in den letzten X Tagen fehlgeschlagen ist (letzter Versuch oder Backups im Zeitraum).

Inputs: days, client, includeHidden.

list-active-restoresLaufende VirtualisierungenA
Read-onlyIdempotent

Laufende VM-Restores/Virtualisierungen. Ohne Seriennummer wird die ganze Flotte geprüft und nur Geräte mit aktiven Restores zurückgegeben.

Inputs: client, serial, includeHidden.

list-alertsAktive AlertsA
Read-onlyIdempotent

Aktive (nicht geräumte) Alerts. Mit Seriennummer für ein Gerät, ohne Seriennummer flottenweit (nur Geräte mit Alerts).

Inputs: client, serial, includeHidden.

list-device-assetsAgents/Shares eines GerätsA
Read-onlyIdempotent

Alle geschützten Agents und Shares eines Geräts mit letztem Snapshot, Offsite-Sync, Screenshot-Verification und letztem Backup-Status.

Inputs: serial (required), name.

list-devicesDatto-Geräte auflistenA
Read-onlyIdempotent

Listet alle BCDR-Geräte (SIRIS, ALTO, CLDSIRIS) mit Kunde, Modell, Online-Status, Agent-/Share-Anzahl und offenen Alerts.

Inputs: model, client, onlyOffline, includeHidden.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 10 tools

    Disambiguation4/5

    Most tools have clearly distinct scopes, but get-backup-health-summary, get-client-overview, get-screenshot-failures, and list-device-assets overlap around backup health and screenshot verification. The descriptions clarify fleet-wide problems vs client rollup vs per-device asset status, so confusion is limited but not impossible.

    Naming Consistency5/5

    All tool names use snake_case and consistently start with get, list, or find followed by a resource/action phrase. There are no mixed conventions such as camelCase or vague standalone verbs.

    Tool Count5/5

    Ten tools is well-scoped for a BCDR monitoring server, covering devices, assets, alerts, restores, health summaries, screenshots, and client overviews. Each tool appears to earn its place without obvious redundancy.

    Completeness4/5

    The read-only monitoring surface is strong, with device, asset, alert, restore, health, and screenshot views. Minor gaps exist for operational follow-up, such as alert acknowledgement/resolution, restore start/cancel, alert detail, and a client-list tool.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Read-only MCP server that allows AI assistants to query and monitor KVM Fleet devices, audit logs, and console sessions through the official REST API.
      5
      8 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients such as Claude to check current uptime status, inspect monitors and incidents, trigger fresh checks, and retrieve status summaries from a self-hosted monitoring service.
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to read Datto SIRIS and ALTO backup appliance data, including protected machines and shares, snapshot history with local and screenshot verification, offsite replication status, fleet alerts, and partner portal activity logs. Provides read-only access to the Datto partner REST API with stateless, per-request authentication.
      Apache 2.0
    • A
      license
      C
      quality
      B
      maintenance
      Enables MCP clients to inspect Acronis Cyber Protect Cloud tenant, user, alert, policy, resource, agent, and incident data, with optional opt-in write actions such as marking alerts as false positives or executing protection policies.
      34
      Apache 2.0