Atera

io.github.wyre-technology由 GitHub 帳號 wyre-technology 發布v1.5.9更新於 Oct 27, 2026

MCP server for Atera RMM — customers, tickets, and more.

已驗證STDIO僅桌面安全與監控商業與電商

概覽

AI 產生的概覽

面向 Atera RMM API 的 MCP 伺服器,讓助理查看 Atera 帳戶中的客戶、代理裝置、工單、告警與聯絡人。

可以做什麼
  • 在客戶、代理、工單、告警、聯絡人等領域間導覽,並可返回領域選擇
  • 列出、查詢與建立客戶記錄
  • 列出與查詢代理裝置,包括依機器名稱查找
  • 列出、檢視、建立與更新服務工單,並在 MCP Apps 宿主中顯示互動式工單卡片
  • 列出告警,並依代理或裝置篩選
  • 列出聯絡人,並依客戶篩選
適用情境
適合使用 Atera 的託管服務商或 IT 團隊,希望助理直接查詢客戶、端點、工單與告警,或不必切換到 Atera 主控台就能草擬與更新工單。
執行需求
以本機 stdio 程序執行(npm 套件或容器映像)。需要 Atera 管理員在 Admin > Data management > API 建立的 API 權杖或舊版 API 金鑰,透過 ATERA_API_KEY 提供。安裝 npm 套件另需具備 read:packages 權限的 GitHub 個人存取權杖,透過 NODE_AUTH_TOKEN 提供。HTTP 模式還需 CONDUIT_S2S_SECRET 與 X-Gateway-S2S 標頭。
安裝前請注意
Atera API 金鑰可存取 RMM 資料,經由 ATERA_API_KEY 或 X-Atera-API-Key 標頭傳遞,請勿寫入共用設定。工具可建立客戶與工單、更新工單,會直接變更線上 Atera 帳戶。HTTP 模式需設定高強度的 CONDUIT_S2S_SECRET 並只綁定本機回環位址;不安全的開發開關會關閉 S2S 驗證。安裝套件本身也需要 GitHub 權杖。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Atera,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Atera MCP Server

Model Context Protocol (MCP) server for interacting with the Atera RMM API. Implements a decision tree architecture for efficient tool discovery and reduced context overhead.

One-Click Deployment

[!IMPORTANT] Before you click: this server depends on @wyre-technology/node-atera, 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-AI 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/app.yaml already declares it).

[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. The Cloudflare Workers target is currently a thin entrypoint stub (the /mcp route returns 501 Not Implemented) and is best suited to gateway-style deployments; for a full self-hosted server prefer DigitalOcean or the prebuilt container image (ghcr.io/wyre-ai/atera-mcp).

Features

  • Decision Tree Navigation: Tools are organized by domain (customers, agents, tickets, alerts, contacts). Navigate to a domain first, then use domain-specific tools.
  • Lazy Client Loading: The Atera client is only instantiated when first needed, reducing startup time.
  • Full API Coverage: Supports customer management, device/agent monitoring, ticket operations, alert handling, and contact management.
  • Rate Limit Handling: Built-in rate limiting via the node-atera client (700 req/min).
  • Interactive Ticket Card (MCP Apps): atera_tickets_get renders as an interactive card in MCP Apps hosts (Claude Desktop/web) with an in-card "Add comment" round-trip via atera_tickets_add_comment (internal-only by default); plain-JSON behavior is unchanged in other hosts. The card is neutral by default and brandable via window.__BRAND__ injection or MCP_BRAND_* env vars (MCP_BRAND_NAME, MCP_BRAND_LOGO_URL, MCP_BRAND_PRIMARY_COLOR, MCP_BRAND_ACCENT_COLOR, MCP_BRAND_BG, MCP_BRAND_TEXT) — no rebuild needed.

Installation

This package is published to 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 install @wyre-ai/atera-mcp

The repo's .npmrc already points the @wyre-ai scope at GitHub Packages and reads the token from NODE_AUTH_TOKEN, so no further config is needed.

Or build from source:

bash
git clone https://github.com/WYRE-AI/atera-mcp.gitcd atera-mcpnpm installnpm run build

Configuration

Copy .env.example and set the variables below.

VariableRequiredDescription
ATERA_API_KEYFor stdio and AUTH_MODE=envAtera API token or legacy API key from Admin > Data management > API. JWT tokens are sent as Authorization: Bearer; legacy keys are sent as X-API-KEY. The Compose gateway service does not load this variable.
MCP_TRANSPORTNostdio (default) or http
AUTH_MODENogateway (Docker image and Compose default) or env. Gateway mode requires X-Atera-API-Key on each /mcp request and never falls back to ATERA_API_KEY. env uses that variable only after S2S auth succeeds.
CONDUIT_S2S_SECRETYes for HTTPService-to-service secret. Generate with openssl rand -hex 32. The HTTP server logs an error and exits non-zero when this is empty or a known placeholder (changeme, your-s2s-secret, secret, placeholder, and similar public examples). Compose will not start without it. Never commit a real value. The value is never logged.
MCP_ALLOW_INSECURE_DEVNoSet to exactly 1 only for local development to start HTTP without CONDUIT_S2S_SECRET. The process logs a warning, does not enforce X-Gateway-S2S, and forces the listener onto 127.0.0.1 even if MCP_HTTP_HOST is a wider address. A known placeholder secret is still refused.
MCP_HTTP_HOSTNoBind address when MCP_TRANSPORT=http. Defaults to 127.0.0.1 when unset. A configured CONDUIT_S2S_SECRET honors this value. 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.

HTTP authentication

With MCP_TRANSPORT=http and CONDUIT_S2S_SECRET set, every /mcp request must include X-Gateway-S2S. The check is verifyS2sHeader in src/s2s-verify.ts: the header value is t=<unix seconds>,v1=<hex>, where the hex is HMAC-SHA256 of the literal string t=<unix seconds> keyed with CONDUIT_S2S_SECRET (64 lowercase hex characters). The timestamp must be within 300 seconds of the server clock. A missing or invalid header returns HTTP 401 before vendor credentials are read.

bash
TS=$(date +%s)SIG=$(printf 't=%s' "$TS" | openssl dgst -sha256 -hmac "$CONDUIT_S2S_SECRET" -hex | awk '{print $NF}')curl -sS http://127.0.0.1:8080/mcp \  -H 'Content-Type: application/json' \  -H 'Accept: application/json, text/event-stream' \  -H "X-Gateway-S2S: t=${TS},v1=${SIG}" \  -H "X-Atera-API-Key: $ATERA_API_KEY" \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

In AUTH_MODE=gateway, /mcp also requires X-Atera-API-Key. That header is the only credential source for the request. With AUTH_MODE=env, the signed request uses ATERA_API_KEY from the environment when the header is absent.

Getting Your API Key

  1. Log into Atera as an admin
  2. Go to Admin > Data management > API
  3. Create an API token (JWT) or copy a legacy API key

JWT tokens (issuer AteraInterop) authenticate with Authorization: Bearer. Legacy static keys authenticate with X-API-KEY. This server selects the header from the key shape, including when the installed node-atera client still sends only X-API-KEY.

Usage

With Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "atera": {      "command": "npx",      "args": ["@wyre-ai/atera-mcp"],      "env": {        "ATERA_API_KEY": "your-api-key-here"      }    }  }}

With MCP Gateway

Configure in the gateway registry:

json
{  "name": "atera-mcp",  "command": "node",  "args": ["/path/to/atera-mcp/dist/index.js"],  "env": {    "ATERA_API_KEY": "${ATERA_API_KEY}"  }}

Docker

The image listens on 0.0.0.0 inside the container (MCP_HTTP_HOST) and defaults to AUTH_MODE=gateway. Publish the port on loopback and pass a real S2S secret. In gateway mode the Atera API key arrives on each request as X-Atera-API-Key; it is not read from the environment.

bash
# Generate the secret first: openssl rand -hex 32docker build -t atera-mcp .docker run \  -e CONDUIT_S2S_SECRET \  -p 127.0.0.1:8080:8080 \  atera-mcp

Compose refuses to start when CONDUIT_S2S_SECRET is unset, defaults AUTH_MODE to gateway, does not inject ATERA_API_KEY, and publishes 127.0.0.1:8080:8080:

bash
CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" docker compose up

Single-tenant HTTP (AUTH_MODE=env) still requires the S2S secret, then uses ATERA_API_KEY:

bash
docker run \  -e CONDUIT_S2S_SECRET \  -e AUTH_MODE=env \  -e ATERA_API_KEY=your-key \  -p 127.0.0.1:8080:8080 \  atera-mcp

Local HTTP without a secret is development-only. It binds 127.0.0.1 only and logs a warning. A non-loopback MCP_HTTP_HOST is ignored and the override is logged:

bash
MCP_TRANSPORT=http MCP_ALLOW_INSECURE_DEV=1 npm start

Decision Tree Architecture

This server uses a navigation-based approach to tool discovery:

  1. Start: Only atera_navigate tool is available
  2. Navigate: Call atera_navigate with a domain (customers, agents, tickets, alerts, contacts)
  3. Tool list refresh: The server declares tools.listChanged and sends notifications/tools/list_changed so the client re-fetches tools/list
  4. Domain Tools: After that refresh, domain-specific tools are available
  5. Back: Use atera_back to return to domain selection (this also sends notifications/tools/list_changed)

This architecture:

  • Reduces tool list size for better LLM performance
  • Groups related operations logically
  • Minimizes context window usage

Available Domains

Customers

Manage customer (company) records.

  • atera_customers_list - List customers with pagination
  • atera_customers_get - Get customer by ID
  • atera_customers_create - Create new customer

Agents

Manage devices/endpoints with the Atera agent installed.

  • atera_agents_list - List agents with optional customer filter
  • atera_agents_get - Get agent by ID
  • atera_agents_get_by_machine - Get agent by machine name

Tickets

Manage service tickets.

  • atera_tickets_list - List tickets with filters
  • atera_tickets_get - Get ticket by ID
  • atera_tickets_create - Create new ticket
  • atera_tickets_update - Update existing ticket

Alerts

Monitor alerts from devices and agents.

  • atera_alerts_list - List alerts with filters
  • atera_alerts_get - Get alert by ID
  • atera_alerts_by_agent - List alerts for an agent
  • atera_alerts_by_device - List alerts for a device

Contacts

Manage customer contacts.

  • atera_contacts_list - List all contacts
  • atera_contacts_get - Get contact by ID
  • atera_contacts_by_customer - List contacts for a customer

Example Conversation

User: List all open tickets
Claude: I'll navigate to the tickets domain and list open tickets.[Calls atera_navigate with domain: "tickets"][Calls atera_tickets_list with ticketStatus: "Open"]
Result: Found 15 open tickets...

Development

bash
# Install dependenciesnpm install
# Buildnpm run build
# Run in developmentnpm run dev
# Type checknpm run typecheck
# Lintnpm run lint
# Testnpm run test

API Rate Limits

Atera API allows 700 requests per minute. The underlying node-atera client handles rate limiting automatically with request queuing.

License

Apache-2.0

Contributing

Contributions welcome! Please read our contributing guidelines and submit PRs to the main branch.

來源:README.md,提交 2031ded

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分