# Datto SaaS Protection [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/WYRE-AI/datto-saas-protection-mcp  
**GitHub Stars:** 2  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/datto-saas-protection

## Description
MCP server for Datto SaaS Protection — M365/GWS backups, restores, seats.

## Tools
Capabilities this server exposes over MCP:

- **datto_saas_list_domains** — read-only
- **datto_saas_list_seats** — read-only
- **datto_saas_get_seat** — read-only
- **datto_saas_list_applications** — read-only
- **datto_saas_get_backup_stats** — read-only
- **datto_saas_bulk_seat_change** — write, destructive** (asks for confirmation)

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "datto-saas-protection": {
    "url": "https://api.datto.com/v1/saas/"
  }
}
```

## Documentation

## What Datto SaaS Protection does

Datto SaaS Protection connects MCP clients to the Datto REST API for Microsoft 365 and Google Workspace customer administration. It exposes domain discovery, seat inspection, application listings, backup statistics, and a bulk seat-change operation. The server is focused on the Datto SaaS Protection API and uses the single `api.datto.com` host.

The read-only tools help an agent identify protected customers, examine individual seat protection state, review available applications, and inspect backup status. The write operation can license, pause, or unlicense seats in bulk. It requires confirmation before making changes.

`datto_saas_get_seat` can also render an interactive, read-only seat card in MCP Apps hosts such as Claude Desktop and Claude web. Other hosts receive the normal JSON result. The card is neutral by default and can be branded through `window.__BRAND__` injection or `MCP_BRAND_*` environment variables.

## How it works

Begin with `datto_saas_list_domains`. Its response supplies the `saasCustomerId` and `externalSubscriptionId` values needed by the customer-specific tools. The server then maps MCP tool calls to Datto REST endpoints for domains, seats, applications, detailed backup statistics, and bulk seat changes.

Local stdio usage authenticates to Datto with HTTP Basic authentication using a public and secret API key. HTTP deployments add service-to-service authentication: each `/mcp` request must include an `X-Gateway-S2S` header containing a timestamp and HMAC-SHA256 signature. The signature is checked against `CONDUIT_S2S_SECRET` and must be recent.

Gateway mode accepts Datto credentials from `X-Datto-SaaS-Public-Key` and `X-Datto-SaaS-Secret-Key` on each request. Environment mode uses the corresponding `DATTO_SAAS_*` variables after service-to-service authentication succeeds.

## Setup and configuration

Create a Datto API key in the Datto Partner Portal under Admin > Integrations > API Keys. For a local stdio process, set `DATTO_SAAS_PUBLIC_KEY` and `DATTO_SAAS_SECRET_KEY`, then install, build, and start the project:

```sh
npm install
npm run build
npm start
```

Set `MCP_TRANSPORT=http` for HTTP operation. HTTP requires a real `CONDUIT_S2S_SECRET`; the default port is `8080`, and the default bind address is `127.0.0.1`. `AUTH_MODE=gateway` is intended for gateway or container deployments, while `AUTH_MODE=env` supports single-tenant HTTP using environment credentials.

Docker and Compose use gateway mode and bind the published port to loopback in the documented examples. `MCP_ALLOW_INSECURE_DEV=1` permits local HTTP development without an S2S secret, but binds only to loopback and should not be used as a production configuration. `/health` is unauthenticated.

## Tools and capabilities

- `datto_saas_list_domains`: lists SaaS domains and returns identifiers used by other tools.
- `datto_saas_list_seats`: lists seats for a Datto SaaS customer.
- `datto_saas_get_seat`: retrieves one seat and its protection state; it may render the interactive seat card.
- `datto_saas_list_applications`: lists applications associated with a customer.
- `datto_saas_get_backup_stats`: retrieves detailed backup statistics.
- `datto_saas_bulk_seat_change`: performs a confirmed bulk license, pause, or unlicense operation.

## Limitations and notes

The bulk seat-change tool is destructive and should be used only after checking the target customer and seats. Earlier restore, activity, client, and license-usage operations are not part of the available interface. The API has no separate regional European host; requests use `api.datto.com`. In gateway mode, missing Datto credential headers produce an authorization failure rather than falling back to process environment variables.

_Full upstream README: https://allmcps.com/mcp/datto-saas-protection/readme_

