MCP Overview

MCP Server — AI-Driven Automation and Repair

RMMmax ships a Model Context Protocol (MCP) server exposing roughly 79 canonical tool functions over a secure JSON-RPC endpoint, letting an AI assistant — Claude, or any MCP-compatible agent — inventory, diagnose, script, and remediate a customer’s entire managed fleet, with the same tenant isolation and entitlement rules enforced everywhere else in the platform.

RMMmax MCP server AI integration

Authentication & Security Model

  • OAuth2 client_credentials flow — operators create scoped OAuth clients from Environment → MCP Server, receiving a client ID/secret pair once.
  • Three explicit scopes — read (inventory, status, summaries, docs), write (enable/disable clients, agents, tool configs; create scripts), execute (dispatch commands/scripts, run scans/updates) — fail-closed by default. An empty scope grants nothing.
  • Every tool call is re-scoped to the authenticated team; cross-tenant IDs are returned as “not found,” never dispatched.
  • Rate-limited to 120 requests/minute per credential; browser-origin requests are restricted to allowed AppBox origins.
  • Responses use explicit field allowlists — credentials, OAuth secrets, agent tokens, and encrypted fields are never returned through MCP, even to a fully-scoped client.
  • MCP access is plan-gated (an add-on tool slug), and every individual tool call is additionally checked against the team’s plan entitlements — a team without the BitLocker entitlement cannot call BitLocker MCP functions even with a full-scope token.

Function Categories

CategoryRepresentative Functions
Inventory & docsList endpoints/clients, inventory summary, CVE summary, read/search platform documentation
AlertsList, acknowledge, and create alerts
Scripts & executionsList/create/run scripts and commands, check execution status, enable/disable clients, agents, and tool configurations
Software managementGet Chocolatey/Homebrew/Linux package data, install/update packages, reboot agents
Health & DefenderHealth summaries/detail, virus quick/full scans, Defender status
BitLockerScan, lock/unlock/suspend/resume volumes, client/agent data
BleachBitScan and clean actions, client/agent data
SurfLogUsage data, hourly/daily browser usage
Update ManagerScan for updates, get update data, trigger OS/agent updates
WarrantyScan for warranty, get client/agent warranty data, list providers, get coverage, force refresh
Printers, Hardware Inventory, ReconRead fleet hardware and printer detail, trigger and check network recon scans

The Detect-Decide-Repair Loop

Because these functions are fully composable, an AI agent connected via MCP can, in one conversational session: identify every Windows agent with an overdue critical CVE, confirm which of those already has BitLocker enabled, dispatch a targeted patch run, verify the patch succeeded, and generate a client PDF report — the same detect-decide-repair loop a senior technician would run manually, done end to end through natural language.

MCP is $0.50/agent/mo as an add-on, free on the Free tier →