Back to Discover

immybot-mcp

connector

wyre-technology

MCP server for ImmyBot — Windows software deployment, maintenance, tenants, deployments.

View on GitHub
0 starsSynced Aug 13, 2026

Install to Claude Code

/plugin marketplace add wyre-technology/immybot-mcp

README

@wyre-technology/immybot-mcp

MCP server for ImmyBot - Windows endpoint management and software deployment automation.

Features

  • 🔐 OAuth 2.0 Authentication - Microsoft Entra ID client credentials
  • 🏢 Multi-tenant Support - Per-instance subdomain configuration
  • 🧭 Decision Tree Navigation - Organized tool discovery by domain
  • 💻 Comprehensive Coverage - Computers, software, deployments, scripts, tenants, maintenance sessions, tasks
  • Gateway Ready - Stateless per-request operation for WYRE MCP Gateway
  • 🚀 Docker Deployment - Container-ready with health checks
  • 📊 Structured Logging - Detailed operation tracking

Quick Start

Docker (Recommended)

docker run -d \
  --name immybot-mcp \
  -p 8080:8080 \
  -e AUTH_MODE=gateway \
  -e MCP_HTTP_PORT=8080 \
  -e LOG_LEVEL=info \
  ghcr.io/wyre-technology/immybot-mcp:latest

Direct Installation

npm install @wyre-technology/immybot-mcp
npx @wyre-technology/immybot-mcp

Navigation

The server uses decision-tree navigation to organize tools by domain:

  1. Startimmybot_navigate → Choose domain
  2. Domain tools → Domain-specific operations
  3. Returnimmybot_back → Main navigation

Available Domains

  • computers - Device and endpoint management
  • software - Application and package management
  • deployments - Software deployment configuration
  • scripts - PowerShell script execution and management
  • tenants - Client organization management
  • maintenance_sessions - Device maintenance and state reconciliation
  • tasks - Background operation monitoring

Authentication

ImmyBot uses OAuth 2.0 with Microsoft Entra ID:

Required Configuration

FieldDescriptionExample
instanceSubdomainImmyBot instance subdomainacmemsp
tenantIdMicrosoft Entra tenant ID12345678-1234-1234-1234-123456789abc
clientIdApplication (client) ID87654321-4321-4321-4321-cba987654321
clientSecretClient secret valueyour-client-secret

Setup Steps

  1. Register Enterprise Application in Microsoft Entra ID
  2. Grant ImmyBot API permissions to the application
  3. Create client secret for the application
  4. Configure application in ImmyBot settings

OAuth scope: api://{client_id}/.default

Usage Examples

1. Navigate to Computers Domain

// Start navigation
await callTool('immybot_navigate', { domain: 'computers' });

// List computers
await callTool('immybot_computers_list', { 
  tenantId: 1,
  isOnline: true 
});

// Get computer details
await callTool('immybot_computers_get', { computerId: 123 });

2. Software Management

// Navigate to software domain
await callTool('immybot_navigate', { domain: 'software' });

// Search for software
await callTool('immybot_software_search', { query: 'Chrome' });

// Install software (stages for maintenance session)
await callTool('immybot_software_install', {
  softwareId: 456,
  computerIds: [123, 124, 125],
  autoUpdate: true
});

3. Maintenance Sessions

// Navigate to maintenance sessions
await callTool('immybot_navigate', { domain: 'maintenance_sessions' });

// Start maintenance session (reconciles deployments)
await callTool('immybot_maintenance_sessions_start', {
  computerId: 123,
  sessionType: 'Manual'
});

// Check session status
await callTool('immybot_maintenance_sessions_get', { sessionId: 789 });

Two-Step Deployment Model

⚠️ Important: ImmyBot uses a two-step deployment workflow:

  1. Configure desired state - Software installations create deployments
  2. Reconcile via maintenance session - Sessions apply the desired state
// Step 1: Stage software installation
await callTool('immybot_software_install', {
  softwareId: 123,
  computerIds: [456]
});
// ↑ This creates a deployment, does NOT install immediately

// Step 2: Reconcile state
await callTool('immybot_maintenance_sessions_start', {
  computerId: 456
});
// ↑ This runs the maintenance session to actually install software

Environment Variables

Gateway Mode (Docker)

VariableDefaultDescription
AUTH_MODEdirectSet to gateway for WYRE MCP Gateway
MCP_TRANSPORTstdioTransport mode (http or stdio)
MCP_HTTP_PORT8080HTTP server port
LOG_LEVELinfoLogging level (debug, info, warn, error)

Direct Mode (CLI)

VariableRequiredDescription
IMMYBOT_INSTANCE_SUBDOMAINImmyBot instance subdomain
IMMYBOT_TENANT_IDMicrosoft Entra tenant ID
IMMYBOT_CLIENT_IDApplication client ID
IMMYBOT_CLIENT_SECRETClient secret

Tools Reference

Navigation Tools

ToolDescription
immybot_navigateNavigate to domain
immybot_statusShow current state
immybot_backReturn to main menu

Computers Tools

ToolDescription
immybot_computers_listList computers with filtering
immybot_computers_getGet computer details
immybot_computers_searchSearch computers by name
immybot_computers_inventoryGet hardware/software inventory
immybot_computers_createCreate computer record
immybot_computers_deploymentsList computer deployments
immybot_computers_trigger_checkinForce agent check-in

Software Tools

ToolDescription
immybot_software_list_globalList global software packages
immybot_software_listList all software (global + tenant)
immybot_software_getGet software details
immybot_software_searchSearch software by name
immybot_software_versionsList software versions
immybot_software_latest_versionGet latest version
immybot_software_categoriesList categories
immybot_software_publishersList publishers
immybot_software_installStage software installation
immybot_software_statsGet installation statistics

Error Handling

The server provides structured error responses:

{
  "content": [{"type": "text", "text": "Error: Authentication failed"}],
  "isError": true
}

Common error types:

  • Authentication errors - Invalid credentials or expired tokens
  • Not found errors - Resource doesn't exist
  • Validation errors - Missing or invalid parameters
  • Rate limit errors - Too many requests
  • Server errors - Internal ImmyBot API issues

Development

Build from Source

git clone https://github.com/wyre-technology/immybot-mcp.git
cd immybot-mcp
npm install
npm run build
npm start

Testing

npm test

Docker Build

docker build -t immybot-mcp --build-arg NODE_AUTH_TOKEN=$GITHUB_TOKEN .

Support

License

Apache-2.0 - see LICENSE for details.

Rendered live from wyre-technology/immybot-mcp's GitHub README — not stored, always reflects the source repo.

1 Install Method

NameDescriptionCategorySource
oci packageInstall via oci (stdio transport)mcp-serverghcr.io/wyre-technology/immybot-mcp:v1.2.10

0 Comments

Login required
Log in to post a comment or update on this repo.

No comments yet — be the first to share an update.