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 分