IRIS Operations & Monitoring MCP Server

io.github.jbrandtmsePublished by GitHub account jbrandtmsev1.1.0Updated Nov 22, 2026

IRIS Operations & Monitoring MCP Server

Overview

AI-generated overview

Lets an assistant monitor and operate an InterSystems IRIS instance: health checks, metrics, jobs, locks, processes, databases, backups, tasks and…

What you can do
  • Run a composite health check and read system, alert and interoperability metrics
  • Inspect running jobs, locks and single processes, with optional terminate, suspend or resume
  • Check journals, mirrors, ECP, license usage, audit events and database status
  • Perform runtime database maintenance, backups, freeze/thaw and alert-counter resets
  • List, create, modify, delete and trigger scheduled tasks, and read task history
  • Read or set system configuration and discover server profiles and governance policy
When to use it
Useful when an assistant needs to diagnose or operate an InterSystems IRIS deployment, for example triaging a slow or wedged instance, checking journal or license headroom, or reviewing scheduled tasks and audit events. It suits operators and developers who already have IRIS credentials and want monitoring and maintenance from a chat client.
Requirements
Runs locally via npx (Node.js). Needs network access to the IRIS web server and the environment variables IRIS_HOST, IRIS_PORT, IRIS_USERNAME and the secret IRIS_PASSWORD; IRIS_NAMESPACE and IRIS_HTTPS are optional. Optional IRIS_PROFILES, IRIS_GOVERNANCE, IRIS_TOOLS_PRESET and IRIS_AUDIT_LOG tune multi-instance targeting, action policy, tool visibility and audit logging. The IRIS user may need %Admin_Operate or %Admin_Manage privileges.
Before you install
The server holds IRIS credentials in its environment, so avoid committing real values to version control. Many tools change state: process terminate/suspend/resume, database mount/dismount/compact/truncate, backups and freeze/thaw, task create/modify/delete/run, configuration set and alert reset; mutating actions are opt-in via governance and disabled by default. Backup restore is not supported, and the clean action with killAppData wipes persistent business state. Audit logging is off unless…

Installation

In SourceWeft

  1. Open IRIS Operations & Monitoring MCP Server in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

@iris-mcp/ops

IRIS Operations & Monitoring MCP Server -- Composite health check, system metrics, jobs, locks, process control, journals, mirrors, audit events, database integrity, database maintenance operations, backups, licensing, ECP, task scheduling, system configuration, and alert management via the Model Context Protocol.

Part of the IRIS MCP Server Suite.


Installation

bash
npm install -g @iris-mcp/ops

Or run directly without installing:

bash
npx -y @iris-mcp/ops@1

Configuration

All servers use the same environment variables:

VariableDefaultDescription
IRIS_HOSTlocalhostIRIS hostname or IP
IRIS_PORT52773IRIS web server port
IRIS_USERNAME(required)IRIS username. There is no default: a server that starts without it fails, naming the variable.
IRIS_PASSWORD(required)IRIS password
IRIS_NAMESPACEUSERDefault IRIS namespace
IRIS_HTTPSfalseUse HTTPS instead of HTTP
IRIS_ACCEPT_LANGUAGEen-US,en;q=0.9Optional. Accept-Language header sent on every request, pinning %Status error text to a predictable language instead of whatever locale an unspecified header resolves to. IRIS also chooses the message language per request, by matching this header against the languages the instance has, so a localized prefix can still appear when the header names one — existing prefix-stripping is unaffected. Details: suite README.

Multiple servers & the server parameter

Optionally, set IRIS_PROFILES (a JSON map of named IRIS instances) and IRIS_GOVERNANCE (a JSON tool-action policy) to target several instances from one server and restrict which actions are allowed. Every tool accepts an optional server parameter (a profile name from IRIS_PROFILES) that selects which instance the call targets; omit it to use the default profile. It composes with the existing per-call namespace override. Both variables are optional and additive — omit them and this server behaves exactly as a single-instance, fully-enabled install. Full model, escaping, and worked examples: Multiple Servers & Governance.

Optionally, set IRIS_GOVERNANCE_FILE to the path of a JSON file of the same shape as IRIS_GOVERNANCE to load policy from a file shared across several MCP clients instead of inline JSON. Optional and additive — unset (the default) means inert: no file is ever read and behavior is byte-for-byte unchanged. An IRIS_GOVERNANCE env value always wins over the file. Details: Governance file.

Tool Visibility (IRIS_TOOLS_PRESET)

Set IRIS_TOOLS_PRESET=core to trim this server's tools/list to a 10-tool runtime roster (9 package tools + iris_server_profiles) — monitoring-persona basics: health check, system metrics, alert metrics, jobs/locks/processes, tasks, license. IRIS_TOOLS_PRESET=developer trims to a DIFFERENT 10-tool runtime roster (9 + iris_server_profiles) — the runtime debugging slice (interop metrics + task history for scheduled jobs); no backup/mirror/ECP/config surface. Same COUNT, different MEMBERSHIP — core swaps iris_metrics_alerts/iris_license_info for developer's iris_metrics_interop/iris_task_history. Omit (or set "full") for today's behavior — every tool visible, byte-for-byte. IRIS_TOOLS_DISABLE/IRIS_TOOLS_ENABLE hide/force-show individual tools independent of the preset. This is orthogonal to IRIS_GOVERNANCE above (visibility = does the agent know a tool exists; governance = is an already-visible call allowed). Full model, exact per-tool roster, and the payload-size measurements: Tool Visibility Presets.

Prompt-pack limitation. The run-external-backup prompt calls iris_journal_info and iris_backup_manage — both are hidden under BOTH core and developer, so this prompt only works under full (or with IRIS_TOOLS_ENABLE=iris_journal_info,iris_backup_manage). The check-system-health prompt's interpretation guidance also names iris_journal_info/iris_database_check/iris_mirror_status (hidden under both presets) and, under developer only, iris_license_info/iris_metrics_alerts — the composite iris_health_check call itself always works, but the FOLLOW-UP drill-down tool for some findings may be hidden depending on preset.


Audit Logging (IRIS_AUDIT_LOG)

For regulated deployments, set IRIS_AUDIT_LOG=/path/to/audit.jsonl to record every MCP tool call this server handles — success, error, or governance denial — as one secrets-free JSON line (session, sequence, tool, action, outcome, redacted parameter keys). It is off by default (unset ⇒ a mechanical no-op, zero filesystem writes) and framework-wide — the same interceptor covers every tool on this server. IRIS_AUDIT_LOG_MAX_MB (default 50) sets the single-generation rotation size; IRIS_AUDIT_LOG_PARAMS=true additionally records (redacted) parameter values. Because it is server-side configuration — not a governed tool action — an AI client cannot disable its own audit trail; only an operator with server-environment access can. This MCP-call audit trail is distinct from this server's iris_audit_events tool, which reads IRIS's own %SYS.Audit* security-audit database — full record shape, redaction rules, and that disambiguation: Compliance & Auditability.

Server Manager connections (IRIS_SERVER_MANAGER)

Set IRIS_SERVER_MANAGER=auto to import IRIS connection definitions straight from the InterSystems Server Manager VS Code extension's intersystems.servers settings — one curated roster instead of re-typing host/port/username into every MCP client's config. IRIS_SERVER_MANAGER is framework configuration, not a tool — it applies identically across all five servers in the suite. Omit (or set "off", the default) for today's behavior: no settings file is ever read. A password-less imported definition is completed via an OS-keychain / IRIS_CREDENTIAL_HELPER credential chain (see the iris-mcp-credentials CLI — Server Manager passwords themselves are never readable outside VS Code, by design); iris_server_profiles reports where each profile's connection fields came from via source ("env"/"server-manager") and sourceFile. The companion variables are all optional, each with its own default: IRIS_SM_SERVERS (unset — import all), IRIS_SM_SETTINGS_PATHS (unset — normal discovery), IRIS_SM_WORKSPACE (unset — the process CWD) and IRIS_CREDENTIAL_HELPER (unset). Full model, discovery precedence, and the SecretStorage boundary explained plainly: Server Manager connections.

MCP Client Configuration

Claude Code (.mcp.json)

json
{  "mcpServers": {    "iris-ops-mcp": {      "command": "npx",      "args": ["-y", "@iris-mcp/ops@1"],      "env": {        "IRIS_HOST": "localhost",        "IRIS_PORT": "52773",        "IRIS_USERNAME": "_SYSTEM",        "IRIS_PASSWORD": "SYS",        "IRIS_NAMESPACE": "USER"      }    }  }}

Claude Desktop (claude_desktop_config.json)

json
{  "mcpServers": {    "iris-ops-mcp": {      "command": "npx",      "args": ["-y", "@iris-mcp/ops@1"],      "env": {        "IRIS_HOST": "localhost",        "IRIS_PORT": "52773",        "IRIS_USERNAME": "_SYSTEM",        "IRIS_PASSWORD": "SYS",        "IRIS_NAMESPACE": "USER"      }    }  }}

Cursor

json
{  "iris-ops-mcp": {    "command": "npx",    "args": ["-y", "@iris-mcp/ops@1"],    "env": {      "IRIS_HOST": "localhost",      "IRIS_PORT": "52773",      "IRIS_USERNAME": "_SYSTEM",      "IRIS_PASSWORD": "SYS",      "IRIS_NAMESPACE": "USER"    }  }}

Note: Replace "SYS" with your actual IRIS password. Avoid committing real credentials to version control.


Tool Reference

Framework Tools

Provided by the shared framework and available on every suite server (Epic 19).

ToolDescriptionKey ParametersAnnotations
iris_server_profilesCall this first. Reports the configured server-profile roster (non-secret connection metadata — password is never included) and the effective governance policy (which actions are enabled/disabled).profile?, allProfiles?readOnly, idempotent

iris_server_profiles is a read tool, enabled by default. It reports in-memory config and does not connect to IRIS. Use it to choose the right server profile and avoid governance-disabled actions before invoking other tools.

Health Check Tool

ToolDescriptionKey ParametersAnnotations
iris_health_checkRecommended first call of any diagnostic session. Composite health check across up to 9 instance areas in one round-trip; returns a structured verdict (healthy/warning/critical) with a per-area finding explaining why.areas?, thresholds?readOnly, idempotent

iris_health_check is a read tool, enabled by default under IRIS_GOVERNANCE. See Tool Examples below for the full contract (areas, thresholds, verdict computation).

Metrics & Monitoring Tools

ToolDescriptionKey ParametersAnnotations
iris_metrics_systemSystem metrics in Prometheus format(none)readOnly, idempotent
iris_metrics_alertsActive system alerts with severity(none)readOnly, idempotent
iris_metrics_interopInteroperability volume and interface metricsnamespace?readOnly, idempotent
iris_alerts_manageManage system alert state (reset counter)actiondestructive, idempotent

Process & Lock Tools

ToolDescriptionKey ParametersAnnotations
iris_jobs_listList all running IRIS jobs/processes(none)readOnly, idempotent
iris_locks_listList all current system locks(none)readOnly, idempotent
iris_process_manageInspect one process by PID, or terminate/suspend/resume it (control actions opt-in via governance, default-disabled; self/critical jobs refused)action, pid, namespace?destructive

Infrastructure Tools

ToolDescriptionKey ParametersAnnotations
iris_journal_infoJournal file status and directory info(none)readOnly, idempotent
iris_mirror_statusMirror configuration and membership status(none)readOnly, idempotent
iris_audit_eventsAudit log events with filtersbeginDate?, endDate?, username?, eventType?, maxRows?readOnly, idempotent
iris_database_checkDatabase status (mounted, encrypted, size)name?readOnly, idempotent
iris_database_actionRuntime database maintenance: mount/dismount/compact/defragment/truncate/expandVolume by directory (all mutating, opt-in via governance, default-disabled)action, directory, readonly?, percentFull?, targetSize?, newVolDir?, initialSize?, namespace?destructive
iris_backup_manageRun a user-defined backup task, freeze/thaw the instance, or list backup history (write actions opt-in via governance, default-disabled; restore not supported)action, taskName?, backupType?, jobbackup?, device?, logFile?, description?, username?, password?, namespace?destructive
iris_license_infoLicense type, capacity, usage, expiration(none)readOnly, idempotent
iris_ecp_statusECP connection status(none)readOnly, idempotent

Task Scheduling Tools

ToolDescriptionKey ParametersAnnotations
iris_task_manageCreate, modify, or delete a scheduled taskaction, id?, name?, taskClass?, namespace?, suspended?destructive
iris_task_listList all scheduled tasks with details(none)readOnly, idempotent
iris_task_runTrigger immediate task executioniddestructive
iris_task_historyView task execution historytaskId?, maxRows?readOnly, idempotent

System Configuration Tools

ToolDescriptionKey ParametersAnnotations
iris_config_manageGet, set, or export system configurationaction, section?, properties?destructive (set)

Prompts

Workflow-shaped MCP prompts (Epic 25) served via prompts/list/prompts/get. Prompts are a separate protocol capability from tools — they carry no governance key and do not change this server's tool count.

PromptDescription
check-system-healthRuns iris_health_check, interprets every non-ok finding, and names the fixing tool for each one.
run-external-backupFreezes the instance for an external (OS/SAN-level) snapshot and thaws it safely afterward — thaw always runs, even if the snapshot step failed.

Also installable as Agent Skills.


Tool Examples

iris_health_check -- Composite health check (recommended first call)

Runs a composite health check across up to 9 IRIS instance areas in ONE round-trip and returns a structured verdict (healthy / warning / critical) with a per-area finding explaining why. Replaces 6+ separate calls (iris_metrics_system, iris_journal_info, iris_mirror_status, iris_locks_list, iris_license_info, iris_database_check, iris_metrics_alerts, iris_metrics_interop) with documented, overridable thresholds.

The ObjectScript endpoint (/monitor/health, Story 23.1) returns raw per-area values only -- every threshold, per-area level rule, and the overall verdict are computed here in TypeScript (architecture.md ADR H5), so tuning a threshold never needs a bootstrap bump.

Areas (9): system, databases, journal, mirror, locks, license, ecp, alerts, interop. memory is NOT a valid area -- it was REMOVED in Story 23.0 (no reliable instance-wide memory-health signal exists in IRIS); it is dropped entirely, not folded into system or any other area, and passing it is rejected by the input schema.

Threshold-checked areas (defaults shown; every threshold can be overridden independently):

AreaDirectionWarnCritNotes
journalascending (% full)8092High is bad.
databasesdescending (% free)103Low is bad. Per-DB freePct computed only for maxSize-configured, mounted databases; unlimited-maxSize or unmounted databases report notApplicable (v1 has no volume-level disk-exhaustion signal for those -- see iris_database_check). The worst database drives the area's level; the full per-DB breakdown stays in raw.
licenseascending (% used)8095Prefers the IRIS-authoritative dashboard figure (SYS.Stats.Dashboard.LicenseCurrentPct) over a CSP-user-count fallback. notApplicable when no user limit is configured (core/unlimited-user license) and no authoritative figure is available.
locksascending (% of lock table utilized)5085notApplicable when usable+used is 0.
alerts(state mapping, no numeric threshold)----Numeric $SYSTEM.Monitor state: -1 (Hung) = critical, 1 (Warning) / 2 (Alert) = warning, 0 (OK) = ok.

Informational areas (no ok/warning threshold in v1 -- raw values only; always ok, or notApplicable when not configured): system, mirror, ecp, interop.

A failed probe for one area yields level: "error" for that area only (sanitized message in explanation) -- every other area stays intact, and an error finding counts as warning severity for the overall verdict (it never escalates the verdict to critical by itself). A notApplicable finding (e.g. no mirror membership, no Interoperability classes in this namespace) never affects the verdict.

Input (no args -- check all 9 areas):

json
{}

Input (subset + threshold override):

json
{  "areas": ["journal", "license"],  "thresholds": { "journalPctCrit": 95 }}

Output (structuredContent):

json
{  "verdict": "warning",  "checkedAt": "2026-07-08T12:00:00.000Z",  "findings": [    {      "area": "journal",      "level": "warning",      "metric": "journalSpacePct",      "value": 85.2,      "threshold": 80,      "explanation": "Journal directory is 85.2% full (warning threshold 80%). Purge or expand journal space."    },    {      "area": "license",      "level": "ok",      "metric": "licensePct",      "value": 12.5,      "threshold": 80,      "explanation": "License is 12.5% used (IRIS-authoritative dashboard figure) -- ok threshold 80%."    }  ],  "raw": {    "journal": { "volumeFreeBytes": 148000000, "volumeTotalBytes": 1000000000, "state": "Open" },    "license": { "currentCSPUsers": 1, "userLimit": 8, "licenseCurrent": 1, "licenseCurrentPct": 12.5 }  }}

iris_health_check is a read tool (mutates: "read"), enabled by default under IRIS_GOVERNANCE.

iris_metrics_system -- System metrics

Input:

json
{}

Output (Prometheus text format):

# HELP iris_process_count Number of IRIS processes# TYPE iris_process_count gaugeiris_process_count 42# HELP iris_global_references_total Total global references since startup (instance-wide, from SYS.Stats.Global)# TYPE iris_global_references_total counteriris_global_references_total 1640566217# HELP iris_routine_commands_total Total routine commands since startup (instance-wide, from SYS.Stats.Routine)# TYPE iris_routine_commands_total counteriris_routine_commands_total 5083780047# HELP iris_db_size_mb Database size in megabytes# TYPE iris_db_size_mb gaugeiris_db_size_mb{db="USER"} 11iris_db_size_mb{db="IRISSYS"} 80

iris_global_references_total and iris_routine_commands_total are instance-wide counters sampled from SYS.Stats.Global (sum of RefLocal + RefPrivate + RefRemote) and SYS.Stats.Routine.RtnCommands respectively. These are the same counters that power the Management Portal System Dashboard, and both increase monotonically across all processes on the instance — not per-process snapshots.

iris_metrics_alerts -- System alerts

Input:

json
{}

Output:

json
{  "state": 0,  "stateText": "OK",  "alertCount": 0,  "alerts": [],  "lastAlert": ""}
iris_metrics_interop -- Interop metrics

Input:

json
{  "namespace": "USER"}

Output:

json
{  "namespaces": [    {      "namespace": "USER",      "productionName": "MyApp.Production",      "productionState": "Running",      "productionStateCode": 1,      "queueDepth": 5,      "errorCount24h": 2,      "messageCount24h": 1500    }  ],  "count": 1}

errorCount24h counts Event Log entries of type Error and messageCount24h counts message headers, each over the 24 hours before the call, measured in UTC (a read, enabled by default).

iris_alerts_manage -- Reset alert counter

Single supported action: reset — calls $SYSTEM.Monitor.Clear() in %SYS to clear the in-memory alert counter and system state. Counterpart to iris_metrics_alerts.

Scope-down note (Epic 12): Only reset is supported. Actions clear (per-alert by index) and acknowledge are NOT available — IRIS has no native API for either. Both are deferred to Epic 13 if demand materialises. reset does NOT truncate alerts.log; historical entries remain on disk for audit.

Input:

json
{  "action": "reset"}

Output:

json
{  "action": "reset",  "clearedAt": "2026-04-22T10:50:00Z"}

clearedAt is the time of the reset in UTC (ISO 8601, to the second).

iris_jobs_list -- List running jobs

Input:

json
{}

Output:

json
{  "jobs": [    {      "pid": 1234,      "namespace": "USER",      "routine": "MyApp.Service",      "state": "RUN",      "userName": "_SYSTEM",      "commandsExecuted": 50000,      "globalReferences": 12000,      "cpuTime": 45.2    }  ],  "count": 1}
iris_locks_list -- List locks

Input:

json
{}

Output:

json
{  "locks": [    {      "lockName": "^MyGlobal(\"key1\")",      "ownerPid": 1234,      "owner": "1234",      "mode": "Exclusive",      "flags": "",      "counts": "1"    }  ],  "count": 1}
iris_journal_info -- Journal status

Input:

json
{}

Output:

json
{  "currentFile": "C:\\InterSystems\\IRIS\\mgr\\journal\\20260407.001",  "primaryDirectory": "C:\\InterSystems\\IRIS\\mgr\\journal",  "alternateDirectory": "C:\\InterSystems\\IRIS\\mgr\\journal2",  "fileCount": 15,  "currentOffset": 524288,  "freeSpaceBytes": 53687091200,  "state": "Enabled"}
iris_mirror_status -- Mirror status

Input:

json
{}

Output:

json
{  "isMember": false,  "mirrorName": "",  "memberType": "Not Member",  "isPrimary": false,  "isBackup": false,  "isAsyncMember": false,  "status": "This instance is not a mirror member"}
iris_audit_events -- Query audit log

Input:

json
{  "username": "_SYSTEM",  "maxRows": 5}

Output:

json
{  "events": [    {      "timestamp": "2026-04-07 10:30:00",      "username": "_SYSTEM",      "eventSource": "%System",      "eventType": "Login",      "event": "LoginSuccess",      "description": "User logged in",      "clientIPAddress": "127.0.0.1",      "namespace": "%SYS"    }  ],  "count": 1,  "maxRows": 5}
iris_database_check -- Database health

Input:

json
{  "name": "USER"}

Output:

json
{  "databases": [    {      "name": "USER",      "directory": "C:\\InterSystems\\IRIS\\mgr\\user",      "mounted": true,      "readOnly": false,      "encrypted": false,      "journalState": 2,      "sizeMB": 256,      "maxSizeMB": 0    }  ],  "count": 1}
iris_license_info -- License info

Input:

json
{}

Output:

json
{  "customerName": "InterSystems",  "licenseCapacity": "Community",  "expirationDate": "2027-01-01",  "connectionLimit": 0,  "userLimit": 5,  "coresLicensed": 4,  "cpusLicensed": 1,  "currentCSPUsers": 2}
iris_ecp_status -- ECP status

Input:

json
{}

Output:

json
{  "configured": false,  "status": "ECP not configured"}
iris_task_manage -- Create a task

Input:

json
{  "action": "create",  "name": "Daily Purge",  "taskClass": "MyApp.Tasks.PurgeOldData",  "namespace": "USER"}

Output:

json
{  "action": "create",  "id": 42,  "name": "Daily Purge"}
iris_task_list -- List tasks

Input:

json
{}

Output:

json
{  "tasks": [    {      "id": 42,      "name": "Daily Purge",      "taskClass": "MyApp.Tasks.PurgeOldData",      "namespace": "USER",      "suspended": "0",      "priority": "Normal",      "runInterval": "Daily"    }  ],  "count": 1}
iris_task_run -- Run a task immediately

Input:

json
{  "id": 42}

Output:

json
{  "triggered": true,  "id": 42,  "message": "Task triggered for immediate execution"}
iris_task_history -- Task execution history

Input:

json
{  "taskId": 42,  "maxRows": 100}

maxRows defaults to 100 and is capped at 1000 to keep responses bounded on busy systems.

Output:

json
{  "history": [    {      "taskName": "Daily Purge",      "lastStart": "2026-04-07 02:00:00",      "completed": "2026-04-07 02:00:15",      "status": "Completed",      "result": "Success",      "namespace": "USER",      "username": "_SYSTEM",      "taskId": "42"    }  ],  "count": 1,  "total": 1,  "maxRows": 100,  "truncated": false}

total is the row count the query produced before capping; truncated is true when total > count.

iris_config_manage -- Get system configuration

Input:

json
{  "action": "get",  "section": "config"}

Output:

json
{  "section": "config",  "properties": {    "globals": 400,    "routines": 256,    "locksiz": 16777216,    "MaxServerConn": 1  }}

When section is "locale", properties includes a current field with the active IRIS locale code (resolved via %SYS.NLS.Locale.%New().Name) alongside the existing availableLocales enumeration and localeCount:

json
{  "section": "locale",  "properties": {    "current": "enuw",    "availableLocales": ["enuw", "araw", "deuw", "fraw", ...],    "localeCount": 36  }}

Namespace Scoping

Most operations tools are system-level and do not require a namespace parameter. They operate across the entire IRIS instance.

Tools where namespace has a real effect:

  • iris_metrics_interop -- optionally filter interop metrics to a single namespace
  • iris_task_manage -- specify the execution namespace for a new task

Tools that accept namespace but IGNORE it (the operation is %SYS-scoped; the param is retained only for backward compatibility and has no effect):

  • iris_process_manage -- process inspection/control runs against the system-wide process table
  • iris_database_action -- SYS.Database keys on the directory path and runs in %SYS
  • iris_backup_manage -- backup/freeze/thaw are instance-wide via Backup.General in %SYS

Tools that do NOT accept namespace (system-wide scope):

  • iris_metrics_system, iris_metrics_alerts, iris_alerts_manage
  • iris_jobs_list, iris_locks_list
  • iris_journal_info, iris_mirror_status, iris_audit_events
  • iris_database_check, iris_license_info, iris_ecp_status
  • iris_task_list, iris_task_run, iris_task_history
  • iris_config_manage

Error Handling

Common Errors

ErrorCauseResolution
IRIS connection refusedIRIS web server not running or wrong host/portVerify IRIS_HOST and IRIS_PORT settings
401 UnauthorizedInvalid credentials or insufficient privilegesCheck credentials; ops operations may require %Admin_Operate or %Admin_Manage resources
ECP not configuredNo ECP setup on this instanceThis is an informational response, not an error
Mirror not configuredNo mirror setup on this instanceThis is an informational response, not an error
Task not foundInvalid task IDUse iris_task_list to find valid task IDs
Configuration section not foundInvalid section nameValid sections: config, startup, locale
Custom REST endpoint not foundBootstrap has not completedThe server auto-bootstraps on first connection; save the web app via SMP if 404 persists

Error Response Format

json
{  "content": [{ "type": "text", "text": "Error retrieving system metrics: <details>" }],  "isError": true}

Back to IRIS MCP Server Suite

Source: packages/iris-ops-mcp/README.md at commit 704b410

Tools

22

iris_metrics_system

System Metrics

Returns IRIS system metrics in Prometheus text exposition format. Includes process count, global references, routine commands, uptime, and database sizes. No parameters required.

Parametersserver

iris_metrics_alerts

System Alerts

Returns active IRIS system alerts. Each alert includes severity, category, message, and index. Also returns the overall system state (OK, Warning, Alert, Hung) and alert count. No parameters required.

Parametersserver

iris_metrics_interop

Interoperability Metrics

Returns interoperability volume and interface metrics including message throughput, queue depths, error rates, and production status. Without a namespace parameter, summarizes all namespaces with productions. With a namespace, returns metrics for that namespace only.

Parametersservernamespace

iris_alerts_manage

Manage System Alerts

Manages IRIS system alert state. Single supported action: - **reset**: Calls `$SYSTEM.Monitor.Clear()` to reset the alert counter and system state. The `alerts.log` file is NOT truncated — historical entries remain on disk for audit. `iris_metrics_alerts` will re-populate active alerts on the next poll if conditions persist. Actions NOT available (deferred to Epic 13 — IRIS has no native API for either): - `clear` (remove a specific alert by index) - `acknowledge` (mark an alert as seen without clearing the counter)

Parametersactionrequiredserver

iris_jobs_list

List Jobs

List all running IRIS jobs/processes. Each job includes process ID, namespace, routine, state, username, client IP, job type, commands executed, global references, transaction status, and CPU time. No parameters required.

Parametersserver

iris_locks_list

List Locks

List all current IRIS system locks. Each lock includes lock name (full reference), owner process ID, raw owner string, lock mode, flags, and lock count. No parameters required.

Parametersserver

iris_process_manage

Manage IRIS Process

Inspect and control a single IRIS process by PID (extends the read-only iris_jobs_list with detail + lifecycle control). Actions: - **get** (read): full detail for one process — state, routine, namespace, user, client IP, resource counters, and the canBeTerminated/canBeSuspended flags. Requires 'pid'. - **terminate** (write, destructive): kill the process (SYS.Process.Terminate). Requires 'pid'. - **suspend** (write): pause the process (SYS.Process.Suspend). Requires 'pid'. - **resume** (write): resume a suspended process (SYS.Process.Resume). Requires 'pid'. The mutating actions (terminate/suspend/resume) are opt-in under tool governance and are DISABLED by default until enabled via IRIS_GOVERNANCE. A control action targeting the calling process, or a critical/protected system job (CanBeTerminated/CanBeSuspended = 0), is REFUSED by the server and changes nothing (the result carries refused:true with a reason).

Parameterspidrequiredactionrequiredservernamespace

iris_journal_info

Journal Info

Returns IRIS journal file information including current journal file path, primary and alternate directories, file count, current offset, free space, and journaling state. No parameters required.

Parametersserver

iris_mirror_status

Mirror Status

Returns IRIS mirror configuration, membership, and synchronization status. Includes mirror name, member type (Primary/Backup/Async/Not Member), role flags, and overall mirror status. Gracefully reports when mirroring is not configured. No parameters required.

Parametersserver

iris_audit_events

Audit Events

Returns matching IRIS audit log events with optional filters. Each event includes timestamp, username, event source, event type, event name, description, client IP, and namespace. Results are limited by maxRows (default 100, max 1000).

ParametersserverendDatemaxRowsusernamebeginDateeventType

iris_database_check

Database Check

Returns IRIS database status for all databases or a specific database. Each database entry includes mounted status, read-only flag, encryption status, journal state, size in MB, and max size. This is a status check, not a full integrity scan.

Parametersnameserver

iris_database_action

Database Maintenance Action

Run a runtime database-maintenance operation via SYS.Database (in %SYS). This is the runtime-operations companion to the read-only iris_database_check and is disjoint from the admin iris_database_manage (which handles database CONFIG: create/modify/delete). All actions key on the database DIRECTORY path (not the config name) and are MUTATING — they are opt-in under tool governance and DISABLED by default until enabled via IRIS_GOVERNANCE. Actions: - **mount** (write): mount a database (SYS.Database.MountDatabase). Optional 'readonly' (boolean) mounts it read-only. Requires 'directory'. - **dismount** (write, destructive): take a database offline (SYS.Database.DismountDatabase). Requires 'directory'. - **compact** (write): compact globals to reclaim space within the .DAT (SYS.Database.CompactDatabase). Optional 'percentFull' (default 90). Returns mbProcessed/mbCompressed. Requires 'directory'. - **defragment** (write): rearrange global blocks into contiguous sequence (SYS.Database.Defragment). Requires 'directory'. - **truncate** (write, destructive): return trailing unused space to the OS, shrinking the .DAT (SYS.Database.ReturnUnusedSpace). Optional 'targetSize' MB (default 0 = return all free trailing space). Returns returnSize. Requires 'directory'. - **expandVolume** (write): add a new volume to a multi-volume database (SYS.Database.NewVolume). Requires 'directory', 'newVolDir', and optional 'initialSize' (MB). These operations are SYNCHRONOUS — IRIS has no async/queue API for them. compact/defragment/truncate can run for a while on large databases and the request blocks until they complete. A missing/unknown 'directory' (or a DB that is in use, locked, or unmounted) is rejected with a clear error rather than corrupting anything.

ParametersactionrequiredserverreadonlydirectoryrequirednamespacenewVolDirtargetSizeinitialSizepercentFull

iris_backup_manage

Backup Management

Run backups and freeze/thaw the IRIS instance via Backup.General (in %SYS), or list backup history. The mutating actions (run/freeze/thaw) are opt-in under tool governance and DISABLED by default until enabled via IRIS_GOVERNANCE; listHistory is read-only and enabled by default. Actions: - **listHistory** (read): list recent backups from the ^SYS("BUHISTORY") history global (most-recent-first), each with timestamp, type, status, device, log file, and description. - **run** (write): run a USER-DEFINED backup task BY NAME (Backup.General.StartTask). Requires 'taskName' — the name of a backup task the operator has already defined in the Management Portal (System Operation > Backups). There are NO predefined/shipped task names. The backup TYPE (full/incremental/cumulative) is a property of that task definition; the optional 'backupType' field here is informational only and does NOT select the task. Optional 'jobbackup' (boolean) runs the backup in a background job. - **freeze** (write, destructive): quiesce ALL database writes instance-wide for an external snapshot (Backup.General.ExternalFreeze). DISRUPTIVE — the instance stops accepting writes until a thaw. Optional 'logFile' and 'description'. - **thaw** (write): resume database writes after a freeze (Backup.General.ExternalThaw). Optional 'logFile', 'username', 'password' (must match what was passed to the freeze). **restore is NOT supported via this tool.** IRIS restore is interactive (^DBREST / CLUMENU^JRNRESTO) and not cleanly scriptable; use the IRIS restore utility or the Management Portal restore instead. An action='restore' request is rejected with a clear message rather than crashing.

ParametersactionrequireddeviceserverlogFilepasswordtaskNameusernamejobbackupnamespacebackupTypedescription

iris_license_info

License Info

Returns IRIS license information including customer name, license capacity, expiration date, connection and user limits, cores/CPUs licensed, and current CSP user count. No parameters required.

Parametersserver

iris_ecp_status

ECP Status

Returns ECP (Enterprise Cache Protocol) connection status. Reports whether ECP is configured on this instance and, if so, the connection health. Gracefully returns 'ECP not configured' when ECP is not in use. No parameters required.

Parametersserver

iris_task_manage

Manage Task

Create, modify, or delete an IRIS scheduled task. For 'create', name, taskClass, and namespace are required. For 'modify', id is required and only provided fields are updated. For 'delete', only id is needed.

ParametersidnameactionrequiredservernamespacesuspendedtaskClassdescription

iris_task_list

List Tasks

List all IRIS scheduled tasks with schedule, status, and configuration details. Each task includes name, task class, namespace, suspended status, priority, run interval, next scheduled date/time, last started/finished, and last status/result. No parameters required.

Parametersserver

iris_task_run

Run Task

Trigger immediate execution of an IRIS scheduled task by ID. The task runs asynchronously — this tool confirms the trigger was sent but does not wait for completion. Check task history for results.

Parametersidrequiredserver

iris_task_history

Task History

View execution history for IRIS scheduled tasks. Optionally filter by task ID. Each entry includes task name, start time, completion time, status, result, namespace, and username. Results are capped by maxRows (default 100, max 1000).

ParametersservertaskIdmaxRows

iris_config_manage

Manage System Configuration

View or modify IRIS system configuration parameters. Actions: 'get' retrieves configuration for a section (config, startup, locale); 'set' modifies parameters (config section only, requires properties object); 'export' returns combined system info and configuration data.

Parametersactionrequiredserversectionproperties

iris_health_check

Composite Health Check

Runs a composite health check across up to 9 IRIS instance areas in ONE round-trip and returns a structured verdict ('healthy' | 'warning' | 'critical') with a per-area finding explaining WHY. This is the recommended FIRST call of any diagnostic session -- it replaces 6+ separate calls (iris_metrics_system, iris_journal_info, iris_mirror_status, iris_locks_list, iris_license_info, iris_database_check, iris_metrics_alerts, iris_metrics_interop) with documented, overridable thresholds. Areas (9): 'system', 'databases', 'journal', 'mirror', 'locks', 'license', 'ecp', 'alerts', 'interop'. NOTE: 'memory' is NOT a valid area -- it was REMOVED in Story 23.0 (no reliable instance-wide memory-health signal exists in IRIS). It is dropped entirely, NOT folded into 'system' or any other area, and passing it is rejected by this tool's input schema. Threshold-checked areas: 'journal' (% full, ASCENDING -- high is bad), 'databases' (% free per configured-maxSize, mounted database, DESCENDING -- low is bad; unlimited-maxSize or unmounted databases report 'notApplicable' -- v1 has no volume-level disk-exhaustion signal for those; see iris_database_check), 'license' (% used, ASCENDING, prefers the IRIS-authoritative dashboard figure over a CSP-user-count fallback), 'locks' (% of lock table utilized, ASCENDING), 'alerts' (maps the numeric $SYSTEM.Monitor state: -1 Hung=critical, 1 Warning/2 Alert=warning, 0 OK=ok). Informational areas (no ok/warning threshold in v1 -- raw values only; always 'ok', or 'notApplicable' when not configured): 'system', 'mirror', 'ecp', 'interop'. A failed probe for one area yields level:'error' for that area only (sanitized message in 'explanation') -- every other area stays intact, and an 'error' finding counts as 'warning' severity for the overall verdict (it NEVER escalates the verdict to 'critical' by itself). 'notApplicable' findings (e.g. no mirror membership, no Interoperability classes in this namespace) never affect the verdict. Optional 'area

Parametersareasserverthresholds

iris_server_profiles

Server Profiles & Governance

CALL THIS FIRST. Discover the IRIS server profiles this MCP server can target and the effective governance policy (which tool actions are enabled/disabled) — so you can choose the right `server` profile and avoid calling disabled actions, without reading the client's config files. Returns: (1) a profile roster with non-secret connection metadata (name, host, port, username, namespace, https, baseUrl, timeout, source ["env" or "server-manager"], sourceFile [the settings file, for server-manager-sourced profiles only], dataPolicy ["block", "redact" or "allow": what the profile shows of message bodies], dataPolicySource [the channel that set it]; the password is NEVER included); and (2) the effective enabled/disabled action map for a selected profile (optional `profile` arg; defaults to the `default` profile), or for every profile when `allProfiles: true`. Note: the optional `profile` arg selects which profile's POLICY to report; the framework `server` arg (which selects the connection target) is irrelevant to this tool, since it reports in-memory config and does not connect to IRIS. This is a read-only tool, enabled by default.

ParametersserverprofileallProfiles

Version history

1
  1. v1.1.0LatestNov 22, 2026

Score

90% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts
  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts