Spanning Cloud Backup logo

Spanning Cloud Backup

Inspect Spanning backups, audit activity, license usage, and queue confirmed restores through MCP.

Install Spanning Cloud Backup

Run the project’s own setup commands, in order.

Setup steps from the project

Spanning Cloud Backup installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install
    
  2. 2. Run
    npm run build
    
  3. 3. Start the server
    npm start                       # stdio
    
  4. 4. Start the server
    CONDUIT_S2S_SECRET="$(openssl rand -hex 32)" MCP_TRANSPORT=http npm start
    
  5. 5. Start the server
    MCP_TRANSPORT=http MCP_ALLOW_INSECURE_DEV=1 npm start
    
  6. 6. Install
    docker build --secret id=npmrc,src=$HOME/.npmrc -t spanning-mcp .
    

Overview

Spanning Cloud Backup exposes the Spanning Cloud Backup API through MCP for M365, Google Workspace, and Salesforce tenants. Agents can inspect backed-up users, covered services, backup runs, restore progress, audit events, license usage, and server health. Restore requests are destructive and require confirmation before queuing. It supports stdio for local clients and authenticated HTTP for hosted or single-tenant deployments.

Use cases

  • Review backup coverage for users across supported SaaS platforms
  • Inspect backup runs for a user and service
  • Queue a confirmed restore and monitor its progress
  • Audit administrator activity over a date range
  • Compare used and purchased backup seats

Key features

  • M365, Google Workspace, and Salesforce backup visibility
  • User, service, and backup-run queries
  • Confirmed restore queuing with status checks
  • Date-range administrator audit logs
  • License usage and server health checks
  • Optional MCP Apps backup-status card

Tools9

What Spanning Cloud Backup lets your agent do. Expand a tool for its parameters.

Self-reported~120 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 73d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit6d agoMost recent push to the default branch.
Tools exposed9Callable tools this server registers over MCP.

How Spanning Cloud Backup works

What Spanning Cloud Backup does

Spanning Cloud Backup connects MCP clients to the Spanning Cloud Backup API for Microsoft 365, Google Workspace, and Salesforce environments. It provides administrative visibility into backup coverage and lets an authorized user initiate and monitor restores.

The available operations cover the main backup-management workflow:

  • Enumerate users with backups in the organization.
  • Retrieve details for an individual user.
  • See which services are covered for that user.
  • Review backup runs for a selected user and service.
  • Queue a restore after confirmation and check its progress.
  • Query the administrator audit log over a selected date range.
  • Compare used seats with purchased license capacity.
  • Check server health and status.

spanning_queue_restore changes backup state and is marked destructive. The audit-log operation uses date-range elicitation to collect its time window.

How it works

The server can run over stdio or HTTP. In stdio mode, it reads the Spanning platform and administrator credentials from environment variables and communicates directly with an MCP client. The supported platform values are m365, gws, and salesforce.

HTTP deployments use a service-to-service HMAC secret to authenticate /mcp requests with the X-Gateway-S2S header. The signed timestamp must be within 300 seconds of the server clock. Hosted gateway mode also expects platform, administrator email, and API-token headers on each MCP request rather than reading static SPANNING_* values from the process environment.

An unauthenticated /health endpoint remains available for health checks. Local development can bypass the HMAC requirement with MCP_ALLOW_INSECURE_DEV=1; that mode logs a warning and forces the HTTP listener to loopback.

In MCP Apps hosts such as Claude Desktop or Claude web, spanning_get_user can render a read-only status card containing backup status, license state, the most recent backup, and service coverage. Other hosts receive the normal JSON result.

Setup and configuration

For a local installation, install dependencies, build the project, and start the process:

Terminal
npm install
npm run build
npm start

Set SPANNING_PLATFORM, SPANNING_ADMIN_EMAIL, and SPANNING_API_TOKEN for stdio or for HTTP running with AUTH_MODE=env. HTTP otherwise requires a real CONDUIT_S2S_SECRET; generate one with openssl rand -hex 32. MCP_TRANSPORT selects stdio or http, while MCP_HTTP_HOST and MCP_HTTP_PORT control the HTTP listener. The default port is 8080.

Docker and Compose use gateway mode by default. The container listens on port 8080, and Compose publishes it on loopback. Gateway deployments receive Spanning credentials through request headers. Image builds require a GitHub Packages npmrc supplied as a Docker build secret.

The embedded status card can be rebuilt with npm run build:ui. Its branding can be adjusted through MCP_BRAND_* variables or a window.__BRAND__ injection.

Limitations and notes

Credential handling differs by transport and authorization mode. Gateway mode does not fall back to SPANNING_* environment variables, and requests missing required authentication headers receive HTTP 401. Never commit real API tokens or service secrets. The insecure development option is intended for local use only and binds to 127.0.0.1.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Spanning Cloud Backup

Spanning Cloud Backup is an MCP server that connects AI clients to the Spanning Cloud Backup API for M365, Google Workspace, and Salesforce. Its main tools list users, services, and backup runs; queue and monitor restores; inspect audit logs and license usage; and report server status.

Install it with `npm install`, build it with `npm run build`, and start it with `npm start`. Configure the required Spanning platform, administrator email, and API token for stdio or environment-based HTTP. Docker and Compose instructions are also available for HTTP deployments.

Stdio requires `SPANNING_PLATFORM`, `SPANNING_ADMIN_EMAIL`, and `SPANNING_API_TOKEN`. HTTP requires `CONDUIT_S2S_SECRET` unless insecure local development mode is enabled. HTTP can also use `MCP_TRANSPORT`, `AUTH_MODE`, `MCP_HTTP_HOST`, and `MCP_HTTP_PORT` for deployment settings.

HTTP requests to `/mcp` require a valid `X-Gateway-S2S` HMAC header when a real `CONDUIT_S2S_SECRET` is configured. Gateway mode additionally requires platform, administrator-email, and API-token headers. The `/health` endpoint does not require authentication.

Yes, `spanning_queue_restore` queues a restore, and `spanning_get_restore_status` checks its progress. Queueing a restore is destructive and requires confirmation before the operation is submitted.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSpanning Cloud Backup AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/spanning-cloud-backup?style=directory)](https://allmcps.com/mcp/spanning-cloud-backup)
HTML Embed
<a href="https://allmcps.com/mcp/spanning-cloud-backup"><img src="https://allmcps.com/api/badge/spanning-cloud-backup?style=directory" alt="Spanning Cloud Backup on AllMCPs" /></a>