Datto RMM

io.github.wyre-technology由 GitHub 账号 wyre-technology 发布v1.7.6更新于 Oct 24, 2026

MCP server for Datto RMM — devices, alerts, sites, jobs, and audit data.

概览

AI 生成的概览

让助手浏览并操作 Datto RMM 账户中的设备、站点、告警、快速作业、审计与补丁数据。

可以做什么
将 Claude 连接到 Datto RMM 账户以进行受管设备运维。读取类工具可列出和搜索设备、将主机名解析为 UID、列出站点、列出未处理告警、列出组件,并获取作业状态、作业结果、stdout/stderr、设备审计与软件清单,以及单台设备或整个站点的 Windows 补丁状态。写入类工具可解决告警并在设备上运行快速作业。datto_get_alert 在 MCP Apps 宿主中可渲染为交互式卡片,并支持卡片内解决告警。
适用场景
适合托管服务提供商和 IT 团队,让助手无需打开 RMM 控制台即可查询设备、分诊未处理告警、检查补丁或审计状态,并触发快速修复作业。最适合已拥有 Datto RMM API 凭据、希望以读取为主进行调查并偶尔解决告警或运行作业的运维人员。
运行要求
以本地进程方式通过 stdio 运行,或使用预构建容器镜像(ghcr.io/wyre-technology/datto-rmm-mcp),该镜像默认以 HTTP 在 8080 端口监听。需要 Datto RMM API 凭据 DATTO_API_KEY 和 DATTO_API_SECRET,以及用于区域端点的 DATTO_PLATFORM(默认 concord)。从源码构建或通过云构建器部署还需要具备 read:packages 权限的 GitHub 令牌。需要能访问 Datto RMM API 的网络。
安装前请注意
需要 Datto RMM API 凭据(DATTO_API_KEY、DATTO_API_SECRET),该凭据可访问整个 RMM 账户。存在写入类工具:datto_resolve_alert 和 datto_run_quickjob 会作用于真实终端,快速作业会在受管设备上执行组件,运行前请确认目标。从源码构建或通过云构建器部署还需要具备 read:packages 权限的 GitHub 令牌(NODE_AUTH_TOKEN 或 GITHUB_TOKEN)。通过 X-Mcp-User-Upn 标头进行的作业归属仅为提示性标注,不影响授权。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Datto RMM,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Datto RMM MCP Server

MCP server for Datto RMM, enabling Claude to interact with your Datto RMM account.

One-Click Deployment

[!IMPORTANT] 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.

  1. Create a GitHub Personal Access Token with the read:packages scope (classic token). Any GitHub account works — you do not need to be a member of the wyre-technology org to read its public packages.
  2. Add it as a build variable when prompted by the deploy flow:
    • Cloudflare Workers → set a build variable named NODE_AUTH_TOKEN to your PAT (Workers → Settings → Build → Variables and Secrets).
    • DigitalOcean App Platform → set an encrypted env var named GITHUB_TOKEN with scope Build Time to your PAT (the .do/deploy.template.yaml already declares it). Also set a runtime secret CONDUIT_S2S_SECRET (openssl rand -hex 32). HTTP exits if that value is missing or a known placeholder.

[Deploy to DO]

[Deploy to Cloudflare Workers]

[!NOTE] 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).

Features

  • Device Management: List, search, and get details for devices
  • Alert Management: View and resolve alerts
  • Interactive Alert Card (MCP Apps): datto_get_alert renders as an interactive card in MCP Apps hosts (Claude Desktop/web) with an in-card "Resolve alert" round-trip; neutral by default, brandable via window.__BRAND__ injection or MCP_BRAND_* env vars; plain-JSON behavior is unchanged in other hosts
  • Site 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 [[email protected]]

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:

bash
# 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 installnpm run buildnpm start

The 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.

VariableRequiredDescription
DATTO_API_KEYFor stdio and AUTH_MODE=envDatto RMM API key
DATTO_API_SECRETFor stdio and AUTH_MODE=envDatto RMM API secret
DATTO_PLATFORMNoAPI platform: pinotage, merlot, concord (default), vidal, zinfandel, or syrah
MCP_TRANSPORTNostdio (default) or http
AUTH_MODENoenv (image default) or gateway (Compose default). Gateway mode requires X-Datto-API-Key and X-Datto-API-Secret on each /mcp request and never falls back to DATTO_*. env uses those variables only after S2S auth succeeds.
CONDUIT_S2S_SECRETYes for HTTPService-to-service secret. The HTTP server logs an error and exits non-zero when this is empty or a known placeholder (changeme, placeholder, your-s2s-secret, replace-with-a-real-secret, and the other example values in code). Compose will not start without it. Never commit a real value. Generate one with openssl rand -hex 32.
MCP_ALLOW_INSECURE_DEVNoSet to exactly 1 only for local development to start HTTP without CONDUIT_S2S_SECRET. The process logs a warning and does not enforce X-Gateway-S2S. The listener is forced to 127.0.0.1. A non-loopback MCP_HTTP_HOST (including 0.0.0.0) refuses to start. A known placeholder still refuses to start; unset the secret to use this bypass.
MCP_HTTP_HOSTNoBind address when MCP_TRANSPORT=http. With a real CONDUIT_S2S_SECRET, this is honored and defaults to 0.0.0.0 when unset, so container deploys stay unchanged. The container image sets 0.0.0.0.
MCP_HTTP_PORTNoHTTP port. Defaults to 8080.

/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:

PlatformRegion/Description
pinotageSouth Africa
merlotEurope
concordUS East (default)
vidalCanada
zinfandelUS West
syrahAustralia

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.

ToolDescriptionRead-only
datto_list_devicesList devices with optional site filterYes
datto_find_deviceFind a device by hostname (exact or partial match) and resolve its UIDYes
datto_get_deviceGet device details by UIDYes
datto_list_alertsList open alerts with optional site filterYes
datto_get_alertGet alert details by UID (renders as an interactive card in MCP Apps hosts)Yes
datto_resolve_alertResolve an alertNo
datto_list_sitesList all sitesYes
datto_get_siteGet site detailsYes
datto_list_componentsList components (find a componentUid and its expected variables for datto_run_quickjob), optionally by name substringYes
datto_run_quickjobRun a quick job on a device (returns a job UID for use with the job tools below)No
datto_get_jobGet status/details for a quick job by UIDYes
datto_get_job_componentsGet the components that make up a quick jobYes
datto_get_job_resultsGet a quick job's result for a specific deviceYes
datto_get_job_stdoutGet a quick job's captured stdout for a specific deviceYes
datto_get_job_stderrGet a quick job's captured stderr for a specific deviceYes
datto_get_device_auditGet device audit data (full or software only)Yes
datto_get_device_patchesGet Windows patch installation status for a deviceYes
datto_get_site_patchesGet Windows patch installation status across all devices in a siteYes

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.

bash
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:latest

The 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:

bash
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:latest

Compose 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:

bash
CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" docker compose up

Build 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:

bash
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-mcp

The token is written to a temporary .npmrc that is deleted in the same layer, so it is never baked into the image.

[!NOTE] The image defaults to MCP_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:

bash
MCP_TRANSPORT=http MCP_ALLOW_INSECURE_DEV=1 npm start

License

Apache-2.0

来源:README.md,提交 dd0633d

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.7.6最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分