IRIS Interoperability Management MCP Server

v1.3.0
io.github.jbrandtmse/iris-interop-mcp Checked 10 hours ago Published 4 days ago

IRIS Interoperability Management MCP Server

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

iris_production_manage Manage Production

Create or delete an Interoperability production. For 'create', provides an empty production class. For 'delete', the namespace's current production must be Stopped: Running, Suspended, Troubled, NetworkStopped and any other state is refused and nothing is deleted. 'delete' accepts only a production class (one that extends Ens.Production): any other class is refused and nothing is deleted. When the production class is gone but its Ens.Config.Production row remains (an orphan), 'delete' removes that row and returns orphanRemoved: true. Use iris_production_control to start/stop productions.

ParameterTypeDescription
action *stringAction to perform: 'create' a new production or 'delete' an existing one
name *stringFully qualified production class name (e.g., 'MyApp.Production')
namespacestringTarget namespace where the production lives. Defaults to the server's configured namespace; pass an explicit value to manage a production in a different namespace per call without changing the connect…
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.

iris_production_control Control Production

Start, stop, restart, update, recover, or clean an Interoperability production. 'start' and 'restart' require the production name. 'stop' halts the current production. 'update' applies configuration changes to a running production. 'recover' attempts to restart a troubled production. 'clean' clears a STOPPED production's stale runtime state (queues, job-status, suspended messages) to unwedge a production that 'recover' cannot fix. For a troubled production, prefer 'recover' first; use 'clean' only as a LAST RESORT when 'recover' does not resolve the problem. By default 'clean' touches only tra…

ParameterTypeDescription
action *stringLifecycle action to perform on the production
confirmboolean(clean only) Must be true to permit a killAppData persistent wipe. killAppData:true without confirm:true is refused and changes nothing.
forcebooleanForce stop on timeout. Honored ONLY by 'stop' and 'restart'; accepted but ignored for 'start'/'update'/'recover'/'clean' (default: false).
killAppDataboolean(clean only) When true, ALSO wipe the persistent ^Ens.AppData business state — HL7 sequence numbers, file/FTP done-file tables (wiping these causes re-ingestion of already-processed files → DUPLIC…
namestringProduction class name (required for start and restart)
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.
timeoutnumberSeconds to wait for a graceful stop. Honored ONLY by 'stop' and 'restart'; accepted but ignored for 'start'/'update'/'recover'/'clean' (default: 120).

iris_production_status Production Status

Get the current production status in a namespace. Returns production name, state (Running/Stopped/Suspended/Troubled/NetworkStopped), and state code. Set detail=true to include item-level status (name, class, enabled, adapter).

ParameterTypeDescription
detailbooleanInclude item-level detail when true (default: false)
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.

iris_production_summary Production Summary

Get a cross-namespace summary of all Interoperability productions. Iterates all namespaces and returns production name and state for each namespace that has a configured production. No namespace parameter needed.

ParameterTypeDescription
cursorstringPagination cursor from a previous response's nextCursor field
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.

iris_production_item Manage Production Item

Add, remove, enable, disable, get settings, or set settings for an individual Interoperability production config item. 'get' returns host and adapter settings, and always names the 'production' the returned item belongs to. 'set' updates settings: the property keys poolSize, enabled, comment, category, className map to Ens.Config.Item properties, and ANY OTHER key (e.g. adapterClassName, or a host/adapter setting like FilePath, Charset) is routed to an Ens.Config.Setting on the item (Target Adapter by default; pass '<Name>@Host' / '<Name>@Adapter' to force the target). 'enable'/'disable' toggl…

ParameterTypeDescription
action *stringAction to perform on the config item
itemName *stringName of the production config item (e.g., 'MyApp.Service.FileIn')
classNamestringHost class name for the config item. Required for 'add' (the item's Ens.Config.Item.ClassName).
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
productionstringTarget production name for 'add'/'remove'/'set' (defaults to the namespace's active production; required for those actions when no production is active) and optionally for 'get' (to disambiguate an it…
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.
settingsobjectSettings object for 'add'/'set'. Property keys (poolSize, enabled, comment, category, className) map to Ens.Config.Item properties; any other key routes to an Ens.Config.Setting (Target Adapter by def…

iris_production_autostart Manage Auto-Start

Get or set the auto-start production configuration for a namespace. 'get' returns the current auto-start production name and enabled status. 'set' configures which production auto-starts; pass empty productionName to disable.

ParameterTypeDescription
action *stringAction: 'get' current auto-start config or 'set' a new one
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
productionNamestringProduction class name to auto-start (for 'set' action). Empty string disables auto-start.
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.

iris_production_logs Production Logs

Query event log entries from an Interoperability production. Returns entries from Ens_Util.Log with timestamp, type, item name, and message text. Filter by log type (Info/Warning/Error/Trace/Assert/Alert), config item name, and maximum row count. Under the block PHI data policy (IRIS_DATA_POLICY) each entry's text is withheld with a reason in textPolicy; under redact and allow it is shown unchanged.

ParameterTypeDescription
countnumberMaximum number of log entries to return (default: 100, max: 10000)
itemNamestringFilter by config item name (exact match)
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.
typestringFilter by log type

iris_production_queues Production Queues

Return queue status for all production items including message queue count. Shows the current number of messages queued for each config item in the production.

ParameterTypeDescription
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.

iris_production_messages Production Messages

Trace message flow through a production by session ID or header ID. At least one of sessionId or headerId is required. Each message step includes source item, target item, message class, timestamp, and status. Use sessionId to see all messages in a session, or headerId for a specific message.

ParameterTypeDescription
countnumberMaximum number of messages to return (default: 100, max: 10000)
headerIdnumberSpecific message header ID to look up
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.
sessionIdnumberSession ID to trace (returns all messages in the session)

iris_production_adapters Production Adapters

List available Interoperability adapter types grouped by category (Inbound/Outbound). Shows non-abstract adapter classes that extend Ens.InboundAdapter or Ens.OutboundAdapter. Optionally filter by category.

ParameterTypeDescription
categorystringFilter by adapter category (default: all categories)
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.

iris_credential_manage Manage Credential

Create, update, or delete an Ensemble credential. 'create' stores a new credential with ID, username, and password. 'update' modifies the username or password of an existing credential. 'delete' removes a credential by ID. Passwords are write-only and never returned.

ParameterTypeDescription
action *stringAction to perform: 'create', 'update', or 'delete'
id *stringCredential system name / ID (e.g., 'SMTP-Relay')
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
passwordstringPassword for the credential (write-only, never returned)
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.
usernamestringUsername for the credential (required for create, optional for update)

iris_credential_list List Credentials

List all stored Ensemble credentials with their IDs and usernames. Passwords are never included in the response (NFR6 security requirement).

ParameterTypeDescription
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.

iris_lookup_manage Manage Lookup Table

Get, set, or delete an entry in an Ensemble lookup table. 'get' returns the value for a key (and whether it exists). 'set' creates or updates a key-value pair. 'delete' removes a key from the table.

ParameterTypeDescription
action *stringAction to perform: 'get', 'set', or 'delete'
key *stringKey within the lookup table
tableName *stringLookup table name
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.
valuestringValue to set (required for 'set' action)

iris_lookup_transfer Transfer Lookup Table

Export or import an Ensemble lookup table in XML format. 'export' returns the full table as XML with all key-value entries. 'import' parses XML and sets entries in the lookup table.

ParameterTypeDescription
action *stringAction: 'export' table to XML or 'import' XML into table
tableName *stringLookup table name
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.
xmlstringXML content to import (required for 'import' action)

iris_rule_list List Business Rules

List all business rule classes in the namespace. Returns non-abstract classes that extend Ens.Rule.Definition, showing their fully-qualified class names. Use 'prefix' to narrow by dotted-package prefix (e.g. 'MyPackage.Rules'). Use 'filter' for a case-insensitive substring match. Use 'cursor'/'nextCursor' for pagination (default page size: 100, max: 1000). Note: filtering is client-side — the full list is fetched from the server each page request.

ParameterTypeDescription
cursorstringPagination cursor from a previous response's nextCursor field
filterstringCase-insensitive substring filter (client-side). Applied after prefix. Example: 'routing' matches any rule whose name contains 'routing', 'Routing', or 'ROUTING'.
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
pageSizeintegerPage size (default: 100, max: 1000)
prefixstringDotted-prefix filter (client-side). Only rules whose name starts with this prefix are returned. Example: 'MyPackage.Rules' matches 'MyPackage.Rules.RoutingRule' but not 'OtherPackage.Rules.X'.
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.

iris_rule_get Get Business Rule

Get the full definition of a business rule class including conditions, actions, and routing logic. Returns the rule class as UDL text with XData blocks containing the rule XML definition.

ParameterTypeDescription
name *stringFully-qualified rule class name (e.g., 'MyPackage.Rules.MyRule')
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.

iris_transform_list List Data Transformations

List all data transformation (DTL) classes in the namespace. Returns non-abstract classes that extend Ens.DataTransformDTL or Ens.DataTransform, showing their fully-qualified class names. Use 'prefix' to narrow by dotted-package prefix (e.g. 'MyPackage.Transforms'). Use 'filter' for a case-insensitive substring match. Use 'cursor'/'nextCursor' for pagination (default page size: 100, max: 1000). Note: filtering is client-side — the full list is fetched from the server each page request.

ParameterTypeDescription
cursorstringPagination cursor from a previous response's nextCursor field
filterstringCase-insensitive substring filter (client-side). Applied after prefix. Example: 'hl7' matches any transform whose name contains 'hl7', 'HL7', or 'Hl7'.
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
pageSizeintegerPage size (default: 100, max: 1000)
prefixstringDotted-prefix filter (client-side). Only transforms whose name starts with this prefix are returned. Example: 'MyPackage.Transforms' matches 'MyPackage.Transforms.ToHL7' but not 'OtherPackage.Transfor…
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.

iris_transform_test Test Data Transformation

Execute a data transformation against sample input and return the output. Requires the transform class name, source message class name, and a JSON object of property values to populate the source message. The transformation is executed and the resulting output object is returned.

ParameterTypeDescription
className *stringFully-qualified transform class name (e.g., 'MyPackage.Transforms.MyDTL')
sourceClass *stringFully-qualified source message class name
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.
sourceDataobjectJSON object of property values to populate the source message

iris_interop_rest Manage REST Application

Create, delete, or get a REST application. 'create' generates a REST application from an OpenAPI specification. 'delete' removes the application registration (spec + dispatch); the generated '.impl' implementation class is preserved by design (IRIS %REST.API) — delete it separately if unwanted. 'get' returns the OpenAPI spec for an existing REST application.

ParameterTypeDescription
action *stringAction to perform: 'create', 'delete', or 'get'
name *stringREST application name — an ObjectScript package name (e.g., 'MyApi' or 'MyCompany.MyApi'); it becomes the package of the generated classes. URL-path values like '/myapi' are rejected by IRIS ($ZNAME…
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.
specOpenAPI specification as JSON object or string (required for 'create')

iris_default_settings_manage Manage System Default Settings

Manage Interoperability System Default Settings (Ens.Config.DefaultSettings) — the production-portable settings override layer. A setting is keyed by a 4-tuple (production / item / hostClass / setting); any omitted slot defaults to '*' (applies to all). Actions: - **list** (read): all settings rows, optionally filtered by any of the four key slots passed as filters. - **get** (read): the single row for the exact tuple (returns found:false if absent). - **set** (write): create or update the row for a tuple. Requires 'value'; accepts optional 'description' and 'deployable'. - **delete** (writ…

ParameterTypeDescription
action *stringAction to perform on the default setting(s)
deployablebooleanOptional deployable flag — whether the setting is export-portable (for 'set').
descriptionstringOptional human-readable description (for 'set').
hostClassstringHost class name key slot (defaults to '*' = all host classes). Filter for 'list'; part of the exact tuple key for get/set/delete.
itemstringItem (config item) name key slot (defaults to '*' = all items). Filter for 'list'; part of the exact tuple key for get/set/delete.
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to operate on a different namespace per call without changing the connection default.
productionstringProduction name key slot. For get/set/delete it is part of the exact tuple key and defaults to '*' (= the catch-all row) when omitted. For 'list' it is an OPTIONAL exact-match filter: OMIT it to retur…
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.
settingstringSetting name key slot (defaults to '*' = all settings). Filter for 'list'; part of the exact tuple key for get/set/delete.
valuestringSetting value (required for 'set').

iris_message_diagram Message Trace Diagram

Generate a Mermaid sequence diagram from an Interoperability message trace. Use this when the user wants to visualize how messages flowed through a production for one or more sessions — equivalent to the Management Portal's Visual Trace, as renderable Mermaid text. Returns one sequenceDiagram per session showing config items as participants, sync (->>) vs async (-->>) calls, request/response pairing, loop blocks compressing repeated patterns, and [ERROR] flags on failed messages; anomalies are reported as warnings, and iris_production_messages remains the tool for raw message-row data. Under…

ParameterTypeDescription
sessionIds *arraySession IDs to diagram (1-20 positive integers, one diagram per session)
dedupbooleanCollapse identical flows across the requested sessions (default: true): a session whose diagram matches an earlier one (session metadata header and per-message row-id tokens in warning comments normal…
labelModestringArrow label style: 'full' (default) = full message body class name; 'short' = last dotted segment only
maxRowsintegerPer-session cap on loaded message rows (default: 2000, max: 10000); the diagram is flagged truncated when the cap is hit
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to query a different namespace per call without changing the connection default.
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.

iris_message_resend Resend Interoperability Messages

Resend / replay Interoperability messages via the pinned Ens.MessageHeader:ResendDuplicatedMessage API. Actions: - **preview** (read, enabled by default): per header ID (1-100) — id, session, source/target item, status, time, body classname (+ existence check), a first-~1KB body summary under the operator's data policy (`IRIS_DATA_POLICY`, set per profile; default `redact`: an HL7 v2 body shows only its class name, every other body is withheld with a reason; `block` withholds every body; `allow` shows the summary unchanged), and a resendability verdict + reason (Request-type Status=Error he…

ParameterTypeDescription
action *stringAction to perform: preview (read), resend or resendFiltered (writes, default-disabled)
confirmboolean(resendFiltered) Must be true together with dryRun:false to execute the resend; dryRun:false without confirm:true is refused with no changes made. Ignored while dryRun is true or omitted (the call pre…
dryRunboolean(resendFiltered) Default true: return count + a first-20 sample and resend NOTHING. Must be explicitly false (with confirm:true) to execute.
fromstring(resendFiltered, REQUIRED) Window start — ISO-8601 or ODBC timestamp. The from/to window may not exceed 7 days.
headOfQueueboolean(resend only) Enqueue the resent message at the head of its target queue (default: false).
headerIdsarrayHeader IDs (1-100 numeric values, string or number) — required for 'preview' and 'resend'. Ignored by 'resendFiltered'.
itemstring(resendFiltered, REQUIRED) Config item name — matches either the SourceConfigName or TargetConfigName of candidate messages.
maxMessagesinteger(resendFiltered) Cap on matched/resent messages (default: 100, HARD CAP: 500). An executing call whose match count is over this cap is refused, not truncated-and-executed; a preview reports the full c…
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to operate on a different namespace per call without changing the connection default.
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.
statusstring(resendFiltered) Message status filter (default: 'Errored').
tostring(resendFiltered) Window end — ISO-8601 or ODBC timestamp (default: now).

iris_message_body Read Interoperability Message Bodies

Read the bodies of 1 to 20 Interoperability messages by header ID, such as the ids iris_message_search returns: use it after a search to see what a message carried. Returns one item per ID, in request order (a repeated ID gives a repeated item): the body class and ID, the body kind and the body rendered by kind. An HL7 v2 body is shown as ER7 text (format er7). An XML virtual document is shown as XML (xml). A persistent object is shown as JSON (json): its JSON export when its class extends %JSON.Adaptor, otherwise a dump of its public properties, where a character stream shows its text and a b…

ParameterTypeDescription
headerIds *arrayHeader IDs to read (1-20 positive integers, number or string of digits), such as the id values iris_message_search returns.
dataPolicystringA data policy for this call: block, redact or allow. It can only tighten the profile's policy; a looser one is ignored and reported as dataPolicyClamped.
maxCharsintegerMost characters of text shown per body (default 10000, max 1048576). An output cap: the body is read whole first (HL7 v2) or serialized whole (XML, JSON export); a character stream in a property dump…
namespacestringTarget namespace. Defaults to the server's configured namespace; pass an explicit value to operate on a different namespace per call without changing the connection default.
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.

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…

ParameterTypeDescription
allProfilesbooleanWhen true, return the effective governance policy for EVERY configured profile (as `governance.policies`) instead of a single profile's policy. A supplied `profile` is still validated (an unknown name…
profilestringWhich profile's governance policy to report (a name from the roster). Omit to use the default profile. Distinct from the framework `server` parameter, which selects the connection profile (irrelevant…
serverstringNamed server profile to target for this call (from `IRIS_PROFILES`). Omit to use the default server.