>ImmyBot MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@>ImmyBot MCP Serverlist all ImmyBot computers and their online status"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ImmyBot MCP Server
An MCP server for the ImmyBot API (v1), the endpoint setup and software maintenance automation platform MSPs use for Windows fleets. It lets an AI agent read tenants, computers and their inventory, deployments (target assignments) and their compliance, maintenance sessions with per-item results and logs, scripts and the software catalogs and, on explicit request with confirmation, start maintenance, install software, run a deployment or run a script on a computer.
Transport: MCP Streamable HTTP at
POST /mcp, health probe atGET /healthStateless and multi-tenant: credentials arrive on every request as HTTP headers and are never stored; every tool is listed from the first
tools/listPython 3.12, uv, FastMCP, httpx
License: Apache-2.0, Copyright 2026 MSPbots.ai
Authentication headers
Header | Required | Type | Default | Allowed values | Description | Example |
| Yes | string | none | instance name (a full | The |
|
| Yes | string | none | GUID or Entra domain | Microsoft Entra directory (tenant) id of the app registration, not an ImmyBot tenant id |
|
| Yes | string | none | GUID | Application (client) id of the Entra app registration |
|
| Yes | string | none | - | Client secret value of that app registration |
|
Where to get them (per ImmyBot's API documentation): register an app in Microsoft Entra ID, create a client secret (copy its value), then in ImmyBot add the app's enterprise application object id as a person ("AD External ID") and make that user an admin.
How they are used: the server requests a token from
https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token with the client-credentials grant
and scope https://{subdomain}.immy.bot/.default, then calls
https://{subdomain}.immy.bot/api/v1/... with Authorization: Bearer. Tokens are cached in
memory, keyed by a SHA-256 of the full credential set, and refreshed once on a 401.
A request to /mcp without all four headers gets HTTP 401 naming the missing ones; an invalid
subdomain or tenant value gets HTTP 400.
Related MCP server: Auvik MCP Server
Tools
All tools return a JSON string. write marks tools that change data; confirm marks tools
that change endpoints and also need confirm: true; n/a marks tools kept for compatibility
that have no ImmyBot API behind them (they return an invalid_argument error naming the tool
to use instead).
Area | Tools |
Overview |
|
Computers |
|
Deployments |
|
Maintenance sessions |
|
Scripts |
|
Software |
|
Tenants |
|
Tasks | n/a: all 15 |
Errors come back as a JSON envelope instead of an exception:
{"error": {"code": "unauthorized", "message": "Microsoft Entra rejected the client credentials (HTTP 401): invalid_client: AADSTS7000215: Invalid client secret provided.", "retryable": false}}code is one of not_configured, unauthorized, not_found, invalid_argument,
rate_limited, upstream_error. Reads are retried with backoff on 429, 5xx and network
errors; writes only on 429.
Run locally
uv sync
uv run python -m immybot_mcp # listens on 0.0.0.0:8080or with Docker:
docker build --platform linux/amd64 -t immybot-mcp:dev .
docker run --rm -p 8080:8080 immybot-mcp:devConfiguration (environment variables, all optional): MCP_HTTP_HOST (default 0.0.0.0),
MCP_HTTP_PORT (default 8080), LOG_LEVEL (default INFO). Credentials are never read
from the environment.
Testing example
# list tools
curl -s http://localhost:8080/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "X-Immybot-Instance-Subdomain: examplemsp" \
-H "X-Immybot-Tenant-Id: 00000000-0000-0000-0000-000000000000" \
-H "X-Immybot-Client-Id: 00000000-0000-0000-0000-000000000000" \
-H "X-Immybot-Client-Secret: your-client-secret" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
# failed maintenance sessions
curl -s http://localhost:8080/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "X-Immybot-Instance-Subdomain: examplemsp" \
-H "X-Immybot-Tenant-Id: 00000000-0000-0000-0000-000000000000" \
-H "X-Immybot-Client-Id: 00000000-0000-0000-0000-000000000000" \
-H "X-Immybot-Client-Secret: your-client-secret" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"immybot_maintenance_sessions_list","arguments":{"status":"Failed","limit":10}}}'Unit tests (no network access needed):
uv run pytestDelivery notes
Tool count (68). Kept as is because the tool names are an existing contract.
Token scope fixed. ImmyBot's Entra application uses the instance URL as its App ID URI, so the token scope is
https://{subdomain}.immy.bot/.default. Older versions requestedapi://{client_id}/.default, a token ImmyBot does not accept.Routes follow the ImmyBot API. Deployments are
/target-assignments; sessions are listed through the/maintenance-sessions/dxgrid and their items through/maintenance-actions/dx; maintenance starts through/run-immy-service; scripts run through/scripts/run; scripts and software have separatelocalandglobalcatalogs (ids can collide, sodatabaseType/softwareTypecan be passed; otherwise Local is tried, then Global). Older versions called many routes that do not exist.No API, kept for compatibility (21 tools). ImmyBot has no task queue (all 15
immybot_tasks_*), no API to create computers (agents register them), no pause for sessions, no stored script runs (_execution_history/_execution_result;immybot_scripts_runreturns the output) and no software categories or publishers. These tools return aninvalid_argumenterror that names the tool to use.Compliance and stats from real data.
immybot_deployments_compliancereads the latest action per computer for the deployment,immybot_tenants_compliancethe tenant's non-compliant actions,immybot_software_statsthe success / failure counts per version.Parameters the API cannot honour were removed:
statuson computers / deployments / scripts lists,category/publisher/statuson software lists and search,autoUpdateon install. New optional parameters:search/skipon computers,databaseType/softwareType,detectionOnlyon maintenance start,allowRebooton install.Confirmation for endpoint changes. Starting maintenance, installing software, running a deployment and running a script take
confirm: trueand otherwise return a "not done" result describing the action.Secrets stay out of results. ImmyBot returns task parameter values in clear text; parameters whose names look secret (password, secret, token, API key ...) are masked, session job arguments are left out of
immybot_maintenance_sessions_get, and logs omit script bodies and parameters.Script runs are synchronous; the wait is capped at 95 seconds (script
timeoutmax 90) to stay inside the gateway's tool-call limit.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Give your AI hands. Identity, credential vault, and API gateway for autonomous agents.
- mcp-serverOAuthcom.make
Give your AI agents the tools to build, manage, and run automation workflows.
- mcpOAuthcom.vibgrate
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
Give your AI agents trusted access to the full Postman platform.
Related MCP Servers
AlicenseNot gradedqualityAmaintenanceEnables AI assistants to connect over streamable HTTP with bearer authentication to tools for agent lifecycle, email, phone, platform, vault, and browser extension management.2MIT- AlicenseNot gradedqualityCmaintenanceEnables AI agents to query an MSP's network monitoring data — tenants, discovered devices, networks, interfaces, configuration backups, alerts, performance statistics and billing usage — through multi-tenant, stateless Streamable HTTP with credentials supplied per request. Read-only by default, with optional alert dismissal and raw API access for changes.Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to read-only query an MSP's Action1 data — organizations, managed endpoints, missing OS and third-party updates, and scheduled automations — using per-request credentials that are never stored. Supports multi-tenant, stateless access over Streamable HTTP with paginated list results and structured error responses.Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to read computers, clients, locations, alerts, and script catalog and history data from the ConnectWise Automate RMM REST API, and on explicit request reboot machines, run scripts or catalog commands, and create or update clients. Credentials are supplied per request via HTTP headers and never stored, supporting stateless multi-tenant use.Apache 2.0