datto-rmm-mcp
Provides tools for managing Datto RMM devices, alerts, sites, and running quick jobs via the Datto RMM API.
Datto RMM MCP Server
MCP server for Datto RMM, enabling Claude to interact with your Datto RMM account.
One-Click Deployment
Before you click: this server depends on @wyre-ai/node-datto-rmm,
which is hosted on the GitHub Packages npm registry. GitHub Packages has no
anonymous access — even though the package is public, every npm install needs a
token. The cloud builder runs npm install for you, so you must give it one, or
the build fails with npm error 401 Unauthorized ... npm.pkg.github.com.
Create a GitHub Personal Access Token with the
read:packagesscope (classic token). Any GitHub account works — you do not need to be a member of thewyre-technologyorg to read its public packages.Add it as a build variable when prompted by the deploy flow:
Cloudflare Workers → set a build variable named
NODE_AUTH_TOKENto your PAT (Workers → Settings → Build → Variables and Secrets).DigitalOcean App Platform → set an encrypted env var named
GITHUB_TOKENwith scope Build Time to your PAT (the.do/deploy.template.yamlalready declares it). Also set a runtime secretCONDUIT_S2S_SECRET(openssl rand -hex 32). HTTP exits if that value is missing or a known placeholder.
The DigitalOcean target builds the full Docker image and runs the complete MCP
server over HTTP — this is the recommended path for operators. This repo has no
Cloudflare Workers entrypoint (src/worker.ts), so the Workers button is not a
supported target yet; prefer DigitalOcean or the prebuilt container image
(ghcr.io/wyre-ai/datto-rmm-mcp).
Related MCP server: uptime-kuma-mcp-server
Features
Device Management: List, search, and get details for devices
Alert Management: View and resolve alerts
Interactive Alert Card (MCP Apps):
datto_get_alertrenders as an interactive card in MCP Apps hosts (Claude Desktop/web) with an in-card "Resolve alert" round-trip; neutral by default, brandable viawindow.__BRAND__injection orMCP_BRAND_*env vars; plain-JSON behavior is unchanged in other hostsSite Management: List and view site details
Quick Jobs: Run quick jobs on devices
Audit Data: Retrieve full device audit or software inventory
Installation
Via MCP Gateway (Recommended)
This server is designed to work with the MCP Gateway which handles authentication and credential management.
On HTTP, the gateway proves it is the caller with X-Gateway-S2S. The value is t=<unix seconds>,v1=<hex hmac-sha256>. The MAC is HMAC-SHA256 over the ASCII string t=<unix seconds> (the same prefix that appears in the header), keyed with CONDUIT_S2S_SECRET. The timestamp must be within 300 seconds of the server clock. A missing or invalid header is 401. The secret is never written to logs.
Attributing jobs to the end user
Datto RMM records the API account that created a job and offers no way to override it, so on a shared service account every quick job in the console reads as the integration rather than the person who asked for it.
If the gateway sends an X-Mcp-User-Upn header, that identity is appended to
the job name, which is the only field that reaches the console's activity
list:
Restart Service [someone@example.com]Only honoured when AUTH_MODE=gateway. Without a gateway in front, the
header is whatever the caller chose to send, so attributing a job to it would
look authoritative while being self-declared. It is advisory labelling in
either case and never affects authorization. Brackets and control characters
are stripped from the value, and it is length-capped, so the suffix cannot be
forged or made to corrupt the name.
Local Development
This server's @wyre-technology/* dependencies live on the GitHub Packages npm
registry, which requires a token even for public packages. Authenticate once, then install:
# Authenticate npm to GitHub Packages (token needs the read:packages scope)
export NODE_AUTH_TOKEN=$(gh auth token) # or a PAT with read:packages
npm install
npm run build
npm startThe repo's .npmrc already points the @wyre-technology scope at GitHub Packages and
reads the token from NODE_AUTH_TOKEN, so no further config is needed.
Configuration
Copy .env.example. Stdio and AUTH_MODE=env read vendor credentials from the environment. Gateway mode does not.
Variable | Required | Description |
| For stdio and | Datto RMM API key |
| For stdio and | Datto RMM API secret |
| No | API platform: |
| No |
|
| No |
|
| Yes for HTTP | Service-to-service secret. The HTTP server logs an error and exits non-zero when this is empty or a known placeholder ( |
| No | Set to exactly |
| No | Bind address when |
| No | HTTP port. Defaults to |
/health stays unauthenticated and does not read credentials. The stdio transport does not use CONDUIT_S2S_SECRET.
When used with the MCP Gateway in single-tenant AUTH_MODE=env, credentials may also be injected via X_API_KEY and X_API_SECRET environment variables. That path still requires a valid X-Gateway-S2S header on HTTP.
HTTP authentication
With MCP_TRANSPORT=http and CONDUIT_S2S_SECRET set, every /mcp request must include X-Gateway-S2S: t=<unix seconds>,v1=<hex hmac-sha256 of the string t=...>. A missing or invalid header returns 401 before any vendor credential is read.
In AUTH_MODE=gateway, /mcp also requires X-Datto-API-Key and X-Datto-API-Secret (X-Datto-Platform is optional). Those headers are the only credential source for that request. A request missing them returns 401 and does not fall back to DATTO_API_KEY / DATTO_API_SECRET.
Platform Selection
Datto RMM uses regional API endpoints. Select the platform that matches your account:
Platform | Region/Description |
| South Africa |
| Europe |
| US East (default) |
| Canada |
| US West |
| Australia |
Available Tools
Tools that only read data from Datto RMM carry annotations: { readOnlyHint: true }
in their tools/list definition. Clients that support this MCP hint (e.g.
Microsoft 365 Copilot / Copilot Studio) can use it to skip the per-call
confirmation prompt for those tools. Tools that create, update, resolve, or
run anything are never annotated as read-only.
Tool | Description | Read-only |
| List devices with optional site filter | Yes |
| Find a device by hostname (exact or partial match) and resolve its UID | Yes |
| Get device details by UID | Yes |
| List open alerts with optional site filter | Yes |
| Get alert details by UID (renders as an interactive card in MCP Apps hosts) | Yes |
| Resolve an alert | No |
| List all sites | Yes |
| Get site details | Yes |
| List components (find a componentUid and its expected | Yes |
| Run a quick job on a device (returns a job UID for use with the job tools below) | No |
| Get status/details for a quick job by UID | Yes |
| Get the components that make up a quick job | Yes |
| Get a quick job's result for a specific device | Yes |
| Get a quick job's captured stdout for a specific device | Yes |
| Get a quick job's captured stderr for a specific device | Yes |
| Get device audit data (full or software only) | Yes |
| Get Windows patch installation status for a device | Yes |
| Get Windows patch installation status across all devices in a site | Yes |
Docker
Use the prebuilt image (no build, no token)
The image listens on 0.0.0.0 inside the container (MCP_HTTP_HOST) and defaults to AUTH_MODE=env. Publish the port on loopback and pass the S2S secret. HTTP refuses to start when CONDUIT_S2S_SECRET is empty or a known placeholder.
docker pull ghcr.io/wyre-ai/datto-rmm-mcp:latest
docker run \
-e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \
-e DATTO_API_KEY=xxx \
-e DATTO_API_SECRET=xxx \
-e DATTO_PLATFORM=concord \
-p 127.0.0.1:8080:8080 \
ghcr.io/wyre-ai/datto-rmm-mcp:latestThe image is public and pulls anonymously, so this path needs no GitHub token at all.
Gateway mode does not read those vendor variables. Credentials arrive on each request, and the request must also carry X-Gateway-S2S signed with CONDUIT_S2S_SECRET:
docker run \
-e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \
-e AUTH_MODE=gateway \
-p 127.0.0.1:8080:8080 \
ghcr.io/wyre-ai/datto-rmm-mcp:latestCompose refuses to start when CONDUIT_S2S_SECRET is unset, sets AUTH_MODE=gateway, does not inject DATTO_API_KEY or DATTO_API_SECRET, and publishes 127.0.0.1:8080:8080:
CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" docker compose upBuild from source
The build installs @wyre-ai/node-datto-rmm from GitHub Packages, which
requires a token even though the package is public (see
One-Click Deployment). The Dockerfile takes it as the
GITHUB_TOKEN build arg — omit it and the build fails at npm ci with
npm error 401 Unauthorized ... npm.pkg.github.com:
docker build --build-arg GITHUB_TOKEN=$(gh auth token) -t datto-rmm-mcp .
docker run \
-e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \
-e DATTO_API_KEY=xxx \
-e DATTO_API_SECRET=xxx \
-e DATTO_PLATFORM=concord \
-p 127.0.0.1:8080:8080 \
datto-rmm-mcpThe token is written to a temporary .npmrc that is deleted in the same layer, so
it is never baked into the image.
The image defaults toMCP_TRANSPORT=http on port 8080. Publish it on loopback
(-p 127.0.0.1:8080:8080) unless a proxy sits in front. Health check:
curl http://127.0.0.1:8080/health (no credentials). HTTP will not start until
CONDUIT_S2S_SECRET is a real secret.
Local HTTP without a secret is development-only. It binds 127.0.0.1 and logs a warning. A non-loopback MCP_HTTP_HOST makes startup exit:
MCP_TRANSPORT=http MCP_ALLOW_INSECURE_DEV=1 npm startLicense
Apache-2.0
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
- sentinelOAuthio.rootstuff
Uptime, SSL, DNS and domain monitoring you can talk to from Claude or any MCP client.
Hosted MCP server for Cliniko — patients, appointments, availability, and invoices for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceMCP server for the Atera RMM API. Implements a decision tree architecture for efficient tool discovery, enabling Claude to manage devices, alerts, tickets, and customers in Atera.Apache 2.0
- FlicenseNot gradedqualityCmaintenanceMCP server for managing self-hosted Uptime Kuma monitors and querying uptime statistics from Claude.-
- AlicenseAqualityDmaintenanceA comprehensive Model Context Protocol (MCP) server that enables Claude and other LLM applications to execute PowerShell commands, scripts, and perform system operations on Windows systems.1027MIT
- AlicenseNot gradedqualityDmaintenanceA production-ready MCP server with file management, HTTP requests, system info, and environment variable tools, plus a management UI and dual transport for Claude Desktop and Claude.ai.402 npmMIT