Listed from the MCP registry; nobody on Odel publishes it.
IRIS Operations & Monitoring MCP Server
Runs on your machine from its package; the steps are below.
At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y @iris-mcp/ops
MCP client config
{
"mcpServers": {
"iris-operations-monitoring-mcp-server": {
"command": "npx",
"args": [
"-y",
"@iris-mcp/ops"
]
}
}
}Install Node.js 22.17 or later and run one command. The five servers and the
iris-mcp-clientsconfiguration CLI are published on npm as@iris-mcp/*(version 1.x, with provenance). Claude Code has a plugin and VS Code has an extension, both from 1.1.0; every other client is configured by onenpxcommand. See Quick Start, CHANGELOG.md for what each release changed, anddocs/epic-summary.mdfor what each epic built.
Give AI assistants structured, safe access to InterSystems IRIS.
The IRIS MCP Server Suite is a collection of five specialized Model Context Protocol (MCP) servers that let AI coding assistants — Claude, Copilot, Cursor, and others — work directly with InterSystems IRIS. Each server covers a distinct operational domain so you can install only what you need.
| Package | Domain | Tools | Description |
|---|---|---|---|
| @iris-mcp/dev | Development | 32 | ObjectScript document CRUD, guarded surgical line edits of existing documents (iris_doc_edit), compilation, SQL (with read-only mode, a rows-affected cap and a query-only tool, iris_sql_query), globals, code execution, unit tests, package browsing, bulk export, macro-expanded routine lookup, SQL query analysis and performance advisories, lines-of-code metrics, cross-profile environment diff & promotion (iris_env_diff, iris_env_promote), long-running test-run re-attach/read/cancel (iris_test_status), line coverage of a test run (iris_test_coverage, disabled by default) |
| @iris-mcp/admin | Administration | 26 | Namespace, database, user, role, resource (incl. SQL privileges), web-app, SSL/TLS, OAuth2, service, LDAP, X.509, and audit management |
| @iris-mcp/interop | Interoperability | 24 | Ensemble/Health Connect production lifecycle, production item management, system default settings, credentials, lookups, rules, transforms, message-trace Mermaid diagrams, message header and message body content search (iris_message_search — read-only, a required window of at most 7 days; the body action filters on body properties with validated, parameterised conditions and is under the PHI data policy: enabled by default, refused under block; the searchTable action finds messages by an indexed Search Table value, such as an HL7 medical record number, under the same policy), message body reading (iris_message_body — a read of 1 to 20 message bodies by header ID, rendered by kind and under the PHI data policy: enabled by default; an HL7 v2 body is redacted by default and every other body is withheld unless the policy is allow), message resend/replay (duplication hazard — preview before executing) |
| @iris-mcp/ops | Operations & Monitoring | 21 | Composite health check (iris_health_check — one call, verdict + findings), system metrics, jobs, locks, journals, mirrors, audit, database integrity, licensing, ECP, tasks, alert management, process control, database maintenance operations, backups |
| @iris-mcp/data | Data & Analytics | 7 | DocDB document database, DeepSee analytics (MDX/cubes), REST API management |
110 tools across 5 servers — install one or all. Each server additionally provides one framework tool,
iris_server_profiles(see Discovering profiles and policy), so the advertised count per server is one greater than the package totals above.
@iris-mcp/all installs the five servers as dependencies of one package, but it launches nothing: a global install (npm install -g @iris-mcp/all) links no command, and an npm project install puts the seven commands of its dependencies in node_modules/.bin. MCP clients start servers with npx -y @iris-mcp/<server>@1, one entry per server. See the meta-package README for details.
| Your Role | Recommended Server(s) |
|---|---|
| ObjectScript developer | @iris-mcp/dev — compile, edit, execute code, run SQL, manage globals |
| System administrator | @iris-mcp/admin — manage namespaces, databases, users, roles, web apps, SSL, OAuth |
| Integration engineer | @iris-mcp/interop — control productions, configure credentials, manage business rules and transforms, search and read messages under the PHI data policy (iris_message_search and iris_message_body are reads, enabled by default) |
| Operations / SRE | @iris-mcp/ops — check overall instance health in one call (iris_health_check), monitor metrics, inspect jobs and locks, review journals, audit events, manage tasks |
| Data / BI analyst | @iris-mcp/data — query DocDB collections, run MDX against DeepSee cubes, manage REST APIs |
| Full-stack / getting started | @iris-mcp/dev + @iris-mcp/admin, or all five servers |
52773)Install Node.js 22.17 or later, then follow the one path for your client. Every path starts the same five servers (@iris-mcp/dev, admin, data, interop and ops) through npx -y @iris-mcp/<name>@1, pinned to major version 1.
The IRIS side installs itself. The first time a server connects to a namespace, it deploys and compiles the ExecuteMCPv2 classes there and registers the /api/executemcp/v2 web application and the %ALL package mapping, and it upgrades an older deployment the same way when you move to a newer release. Most users need nothing beyond the steps below. IPM is only the fallback for an instance where that automatic install cannot run (see Optional: Install the IRIS-Side Classes with IPM).
| Your client | The one install path |
|---|---|
| Claude Code | The plugin, from 1.1.0: /plugin marketplace add jbrandtmse/iris-execute-mcp-v2, then /plugin install iris-mcp@iris-mcp. See Claude Code: the plugin. |
| VS Code (GitHub Copilot) | The IRIS MCP Launcher extension, from 1.1.0: iris-mcp-launcher-<version>.vsix from the repository's GitHub Releases; it is not on the Visual Studio Marketplace or Open VSX yet. See VS Code: the extension. |
| Every other client | npx -y -p @iris-mcp/client-config@1 iris-mcp-clients apply --client <id> --servers iris-dev-mcp. See Every other client. |
On 1.0.x the iris-mcp-clients command is the route for every client, Claude Code and VS Code included.
/plugin marketplace add jbrandtmse/iris-execute-mcp-v2
/plugin install iris-mcp@iris-mcp
Claude Code asks for the IRIS host, web port, namespace and HTTPS flag (defaults localhost, 52773, USER, off), the user name and the password (kept in the system keychain), and starts the five servers (dev, admin, data, interop, ops) through npx -y @iris-mcp/<name>@1, with the 18 skills. A plugin cannot carry the always-on rule: run npx -y -p @iris-mcp/client-config@1 iris-mcp-clients skills install --client claude-code in your project for it (see The skills pack).
Switching from the installer or claude mcp add: remove the old entries first. If Claude Code already has iris-dev-mcp, iris-admin-mcp, iris-data-mcp, iris-interop-mcp or iris-ops-mcp entries, the plugin serves the same tools again and every tool appears twice. npx -y -p @iris-mcp/client-config@1 iris-mcp-clients doctor lists each such entry as a claude-code-plugin-duplicates finding, with the command that removes it:
npx -y -p @iris-mcp/client-config@1 iris-mcp-clients remove --client claude-code --server iris-dev-mcp --scope user
Use --scope project for an entry in the project's .mcp.json. doctor reads Claude Code's user and project scopes only; an entry in the local scope (the projects map of ~/.claude.json) is removed with claude mcp remove iris-dev-mcp --scope local.
If you're inside VS Code with GitHub Copilot (or another client that consumes VS Code's built-in MCP server
registry), the extension is the install path, and it sidesteps the Server Manager credential chain described in step 2 entirely:
extensions/iris-mcp-launcher/, a standalone VS Code
extension (outside this repo's npm workspace) that registers the @iris-mcp/* servers directly with VS Code and
resolves credentials from Server Manager's vscode.authentication session inside the extension host — the
one place a Server-Manager-saved SecretStorage password actually is reachable. No OS keychain setup, no
IRIS_CREDENTIAL_HELPER, no IRIS_PROFILES password entry required.
This only helps Copilot-family agents for launching servers. Claude Code manages its own MCP configuration
(claude mcp add / .mcp.json) and does not consume VS Code's MCP registry — Claude Code users should use the
plugin or the iris-mcp-clients command (see 1. Install) and the credential options in step 2 instead. See the extension's own README for the
verified client-coverage boundary and citations.
The extension carries three surfaces, and two of them help every client, not just Copilot:
| Command (category "IRIS MCP Launcher") | What it does |
|---|---|
| Select Servers… | Choose which Server Manager servers become MCP servers; a status bar item shows how many are registered |
| Manage MCP Clients… | Wire the suite into any of the 15 supported MCP clients — detect, per-server enable/disable, diff preview, backup/restore, doctor. The GUI front-end for iris-mcp-clients; useful to Claude Code / Cursor / Cline users too |
| Open Governance Editor | Visually edit the shared governance policy file that every client's servers read |
Installing it (from 1.1.0). The extension is not on the Visual Studio Marketplace or Open VSX yet; both stores come later, once the publisher is set up. Until then, download iris-mcp-launcher-<version>.vsix from the release's assets on the repository's GitHub Releases page, and install it with the command palette's Extensions: Install from VSIX… or with code --install-extension iris-mcp-launcher-<version>.vsix (VSCodium and other VS Code-compatible editors install a vsix the same way). Updates are manual until the stores are set up: install the next release's vsix the same way. The extension declares the InterSystems Server Manager extension as a dependency; install that from your editor's extension store if the editor does not add it. The extension starts the servers through npx -y @iris-mcp/<name>@1, so it needs Node.js 22.17 or later on the machine. To build the extension from a checkout instead, see Contributing.
iris-mcp-clients CLInpx -y -p @iris-mcp/client-config@1 iris-mcp-clients detect # which clients are installed
npx -y -p @iris-mcp/client-config@1 iris-mcp-clients apply --client cursor --servers iris-dev-mcp # preview, confirm, write
--client takes one of claude-desktop, cursor, cline, windsurf (Devin Desktop), codex, gemini, zed, goose, kimi-code, from 1.1.0 pi and jetbrains-junie, or, for older installs, roo-code (discontinued) and kimi (archived); --servers all writes all five. apply prints the exact edit first and writes only after you confirm. The per-client guides and copy-pasteable snippets are in the MCP client configuration index, and the full command reference is in @iris-mcp/client-config.
All servers use the same environment variables:
| Variable | Default | Description |
|---|---|---|
IRIS_HOST | localhost | IRIS hostname or IP |
IRIS_PORT | 52773 | IRIS 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 unless IRIS_CREDENTIAL_NAME is set) | IRIS password. With IRIS_CREDENTIAL_NAME set it may be unset or empty, and the password comes from the stored entry that variable names. |
IRIS_NAMESPACE | USER | Default IRIS namespace |
IRIS_HTTPS | false | Use HTTPS instead of HTTP |
IRIS_ACCEPT_LANGUAGE | en-US,en;q=0.9 | Optional. Accept-Language header value sent on every HTTP request, pinning IRIS's request-locale negotiation so %Status error text renders in a predictable language instead of whatever locale an unspecified header resolves to. IRIS chooses the message language per request: its REST dispatcher matches this header against the languages the instance has on every request, so both English (ERROR #) and localized prefixes can appear when the header names a non-English language; existing prefix-stripping is unaffected. |
MCP_TRANSPORT | stdio | Optional. Only stdio is supported (--transport is equivalent); any other value fails startup naming it. |
IRIS_PROFILES | (unset) | Optional. JSON map of named IRIS instances for multi-server use. Omit for single-server — the IRIS_* vars above define the reserved default profile. See Multiple Servers & Governance. |
IRIS_GOVERNANCE | (unset) | Optional. JSON policy that enables/disables individual tool actions per profile. Omit to leave every tool enabled (today's behavior). See Multiple Servers & Governance. |
IRIS_GOVERNANCE_PRESET | (unset) | Optional. "read-only" or "full" — a one-word safety preset that blocks every write action suite-wide. Omit (or "full") for today's behavior. See Read-only mode. |
IRIS_GOVERNANCE_FILE | (unset — inert) | Optional. Path to a JSON file of the same shape as IRIS_GOVERNANCE, so one policy is portable across every MCP client. The file's layers sit strictly below the IRIS_GOVERNANCE env layers (an env setting always wins). Unset ⇒ inert: no file is ever read and behavior is byte-for-byte today's. Read once at startup (restart to apply edits); a missing/unreadable/malformed file fails startup naming the var and the path. See Governance file. |
IRIS_AUDIT_LOG | (unset — OFF) | Optional. Absolute path to a JSONL audit file recording every MCP tool call (who-ish/session, what, outcome, denials). Omit for today's behavior — a mechanical no-op, zero filesystem writes. See Compliance & Auditability. |
IRIS_AUDIT_LOG_MAX_MB | 50 | Optional. Rotates the audit file at this size — the current file is renamed to <path>.1 (single generation, overwriting a prior one) and a fresh file is started. Only relevant when IRIS_AUDIT_LOG is set. |
IRIS_AUDIT_LOG_PARAMS | false | Optional. When true, audit entries also include each call's (redacted) parameter values; the default logs parameter key names only. Only relevant when IRIS_AUDIT_LOG is set. |
IRIS_SQL_MAX_ROWS | (unset — no cap) | Optional. Positive integer ceiling on the number of rows iris_sql_execute and iris_sql_query return — a post-fetch cap on the response (it bounds the returned row count, not the server-side result set or transfer). Omit for today's behavior (only the per-call maxRows/1000-row default apply). |
IRIS_SQL_TIMEOUT | (unset — no override) | Optional. Positive number of seconds — a per-request timeout override for the HTTP call of iris_sql_execute and iris_sql_query. Omit to use the connection's default IRIS_TIMEOUT. |
IRIS_SQL_READ_ONLY | (unset — SQL tools are not forced read-only) | Optional. true or false (case-insensitive). true makes every iris_sql_execute call read-only: only queries (SELECT) run, any other statement is refused with SQL_READ_ONLY, and a call's readOnly: false cannot weaken it. Global: every profile inherits it; no per-profile key. A malformed value fails startup. |
IRIS_SQL_MAX_ROWS_AFFECTED | (unset — no ceiling) | Optional. Non-negative integer ceiling (0 is valid) on the rows one INSERT, UPDATE or DELETE may change through iris_sql_execute. A statement that changes more is rolled back and refused with SQL_ROWS_AFFECTED_CAP; a call's maxRowsAffected can only tighten it. Under a ceiling only SELECT, INSERT, UPDATE and DELETE run, and an INSERT, UPDATE or DELETE whose text contains the %NOJOURN token is refused before it runs. Global: every profile inherits it; no per-profile key. A malformed value fails startup. |
IRIS_TEST_TIMEOUT | (unset — 120s default) | Optional. Positive number of seconds — the DEFAULT wait budget iris_execute_tests and iris_test_coverage wait before returning a "running" result (with the run's jobId/runIndex handles, or coverageRunId) instead of blocking further. A per-call timeout argument takes precedence over this. Hard-capped at 3600s regardless of source. Omit for today's 120-second default. |
IRIS_DATA_POLICY | (unset — redact) | Optional. block, redact or allow (case-insensitive): the PHI data policy for every profile that no IRIS_PROFILES entry sets. Default redact: the iris_message_resend preview shows an HL7 v2 body only as its class name and withholds every other body with a reason, and iris_message_body shows an HL7 v2 body redacted by a reviewed keep-list and withholds every other body. allow restores today's preview exactly and lets iris_message_body show bodies as stored; block withholds every body and refuses the body and searchTable actions of iris_message_search, and withholds the Event Log text of iris_production_logs and the error text of iris_message_diagram (every one of these is a read, enabled by default). Per profile: the dataPolicy field of an IRIS_PROFILES entry, or the dataPolicy section of the governance file (IRIS_GOVERNANCE does not carry it). A malformed value fails startup naming the channel. See PHI data policy. |
IRIS_TOOLS_PRESET | full | Optional. "full" (today's behavior) | "core" (8- to 15-tool small-model subset, depending on the server) | "developer" (persona filter, security/enterprise admin hidden). Unknown value fails fast at startup naming the valid values. Omit for today's tools/list, byte-for-byte. See Tool Visibility Presets. |
IRIS_TOOLS_DISABLE | (unset) | Optional. Comma-separated tool names to hide from tools/list. Trailing-* wildcard supported (iris_doc_*); a bare * alone is rejected. Omit to hide nothing beyond the active preset. See Tool Visibility Presets. |
IRIS_TOOLS_ENABLE | (unset) | Optional. Comma-separated tool names to force-show, overriding both the preset and IRIS_TOOLS_DISABLE (punches a hole in a hidden family). Omit for no overrides. See Tool Visibility Presets. |
IRIS_SERVER_MANAGER | off | Optional. off (default — today's behavior, no settings file is ever read) | auto (import connection definitions from the InterSystems Server Manager VS Code extension) | required (as auto, but fail startup if no definition is found). Unknown value fails fast at startup naming the valid values. See Server Manager connections. |
IRIS_SM_SERVERS | (unset — import all) | Optional. Comma-separated allow-list of intersystems.servers names to import, so you get the two servers you want instead of your whole roster. A listed name that matches nothing warns (it fails only under IRIS_SERVER_MANAGER=required, where nothing would be imported at all). Only relevant when IRIS_SERVER_MANAGER is auto/required. |
IRIS_SM_SETTINGS_PATHS | (unset — normal discovery) | Optional. Escape hatch: a ;-separated (Windows) / :-separated (macOS, Linux) list of settings.json paths that replaces discovery entirely. Only relevant when IRIS_SERVER_MANAGER is auto/required. |
IRIS_SM_WORKSPACE | (unset — the process CWD) | Optional. Directory whose .vscode/settings.json is used as the highest-precedence source. Set it explicitly when the MCP client's working directory is not the workspace you mean. Only relevant when IRIS_SERVER_MANAGER is auto/required. |
IRIS_CREDENTIAL_HELPER | (unset) | Optional. A command run with the Server-Manager profile name appended as its final argument; the command's trimmed stdout is the password. Because the name is always appended, point this at a small wrapper script that uses it (e.g. a script running op read "op://vault/$1/password" or pass show "iris/$1") rather than at a bare op read …/pass show …, which would reject the extra argument. Run without a shell, so on Windows point it at a real .exe (a .cmd/.bat shim needs cmd /c <your-helper.cmd>). Runs synchronously per password-less profile with a 10s timeout, so keep IRIS_SM_SERVERS tight if the helper can hang. Link 3 of the credential chain — see Server Manager connections. Only relevant when IRIS_SERVER_MANAGER is auto/required and a profile still lacks a password after the OS-keychain link. |
IRIS_CREDENTIAL_NAME | (unset — today's behavior) | Optional. Names an iris-mcp keychain entry (service iris-mcp, account <name>, the same name iris-mcp-credentials set <name> stores under; also the argument IRIS_CREDENTIAL_HELPER receives). When set and IRIS_PASSWORD is unset or empty, the default profile takes its password from that entry (OS keychain, then IRIS_CREDENTIAL_HELPER), and each IRIS_PROFILES entry without a password looks up its own profile name the same way (a miss keeps the inherited password and logs one warning). A non-empty IRIS_PASSWORD still wins, and an exhausted chain fails startup naming this variable and iris-mcp-credentials set <name>. Unset, empty or blank: nothing changes, IRIS_PASSWORD stays required, and no keychain is consulted. IRIS_USERNAME stays required. A value with a control character fails startup. The value is used verbatim, like the name iris-mcp-credentials set stores, so surrounding spaces are part of the name. The IRIS MCP Launcher extension sets it in the definitions it provides to Copilot-harness sessions. |
Single-server installs need no changes.
IRIS_PROFILES,IRIS_GOVERNANCE,IRIS_GOVERNANCE_PRESET,IRIS_GOVERNANCE_FILE,IRIS_AUDIT_LOG,IRIS_AUDIT_LOG_MAX_MB,IRIS_AUDIT_LOG_PARAMS,IRIS_SQL_MAX_ROWS,IRIS_SQL_TIMEOUT,IRIS_SQL_READ_ONLY(unset: nothing forced read-only),IRIS_SQL_MAX_ROWS_AFFECTED(unset: no ceiling),IRIS_TEST_TIMEOUT,IRIS_DATA_POLICY(unset:redact),IRIS_TOOLS_PRESET,IRIS_TOOLS_DISABLE,IRIS_TOOLS_ENABLE,IRIS_SERVER_MANAGER,IRIS_SM_SERVERS,IRIS_SM_SETTINGS_PATHS,IRIS_SM_WORKSPACE,IRIS_CREDENTIAL_HELPER, andIRIS_CREDENTIAL_NAMEare all optional and additive. With none set, the suite behaves exactly as it always has — the sixIRIS_*variables above are all you need — with one deliberate exception: the default data policyredactchanges what theiris_message_resendpreview shows of a message body (see PHI data policy;IRIS_DATA_POLICY=allowrestores today's output). (The one behavior that did change for single-server installs is startup against an unreachable instance: it no longer exits. See Backward Compatibility.)
If you already curate IRIS connections in the InterSystems Server Manager VS Code extension, set IRIS_SERVER_MANAGER=auto and the suite reads those intersystems.servers definitions straight out of your VS Code settings files — no re-typing host/port/username into every MCP client config. Each imported definition becomes a named profile you address with the server parameter, exactly like an IRIS_PROFILES entry.
⚠️ Read this first — Server Manager import is ADDITIVE, and the keychain covers your base credentials only with
IRIS_CREDENTIAL_NAME.The six base variables are still required (
IRIS_PASSWORDmay be left unset or empty whenIRIS_CREDENTIAL_NAMEis set; see below).IRIS_HOST,IRIS_PORT,IRIS_USERNAME,IRIS_PASSWORD,IRIS_NAMESPACEandIRIS_HTTPSconfigure the reserveddefaultprofile, anddefaultis built before any Server Manager import. SettingIRIS_SERVER_MANAGER=autodoes not let you omit them — the server fails at startup withIRIS_USERNAME environment variable is required(thenIRIS_PASSWORD…) if you try. Server Manager adds extra addressable profiles; it does not replace your primary connection.The OS keychain serves Server-Manager-discovered profiles, and the base credentials only when you opt in.
iris-mcp-credentials set <name>stores a password that the credential chain uses for an imported definition that has none. It is not consulted forIRIS_PASSWORDunless you setIRIS_CREDENTIAL_NAME=<name>(and leaveIRIS_PASSWORDunset or empty): then thedefaultprofile takes its password from the entry stored under<name>, so the keychain can removeIRIS_PASSWORDfrom your client config. Without that variable, storing an entry nameddefaulthas no effect, becauseloadConfigreads the base credentials from the environment and never calls the chain.Worked example: with
IRIS_HOST/IRIS_USERNAME/IRIS_PASSWORDset fordefault,IRIS_PROFILESaddingsademo,IRIS_SERVER_MANAGER=autoimportinglocal(inline password) andlocalhost2(keychain, viairis-mcp-credentials set localhost2), all four resolve and route — but removingIRIS_PASSWORDbreaks startup for all of them, unlessIRIS_CREDENTIAL_NAMEnames a stored entry fordefault.
off. Nothing is read, nothing is imported, and no settings file is touched unless you opt in..vscode/settings.json (from IRIS_SM_WORKSPACE, else the process working directory); (2) every *.code-workspace file directly inside that same directory, sorted by filename — multi-root workspaces commonly keep intersystems.servers only there; (3) each product's user settings — Code, Code - Insiders, VSCodium, Cursor (%APPDATA%\<Product>\User\settings.json on Windows, ~/Library/Application Support/<Product>/User/settings.json on macOS, $XDG_CONFIG_HOME/<Product>/User/settings.json then ~/.config/<Product>/User/settings.json on Linux); (4) on Linux only, Flatpak sandboxes — ~/.var/app/{com.visualstudio.code,com.visualstudio.code.insiders,com.vscodium.codium}/config/<Product>/User/settings.json. The first file to define a name wins. A name already defined by IRIS_* or IRIS_PROFILES always wins over a Server Manager definition.$XDG_CONFIG_HOME or ~/.config — so both are searched, XDG first. A Flatpak install cannot write ~/.config at all (Flatpak redirects the app's XDG_CONFIG_HOME into its sandbox), so the three published Flathub apps are searched too, after the native paths. Cursor is not published on Flathub and therefore has no Flatpak entry; use IRIS_SM_SETTINGS_PATHS for any install layout not listed here, including VS Code portable mode.settings.json holds intersystems.servers at the top level; a .code-workspace file nests every setting under a settings key. Either works, including when named explicitly in IRIS_SM_SETTINGS_PATHS.iris-mcp, account <name> — set with the iris-mcp-credentials CLI below; (2) IRIS_CREDENTIAL_HELPER. A definition carrying a legacy inline password still works too (with a deprecation warning), provided it also declares its own username — see the next bullet. If every link is exhausted, the profile is excluded at startup with a log line naming the remediations; under IRIS_SERVER_MANAGER=required this fails startup instead.IRIS_PROFILES replaces a Server Manager definition — it does not complete one. If a name exists in both, the environment wins and the Server Manager definition is discarded entirely, host and username included (a warning names the collision). So an IRIS_PROFILES entry that supplies only a password will quietly give you a profile pointed at your local IRIS_HOST/IRIS_USERNAME, not at the Server Manager host. To supply a password for a Server Manager definition, use the OS keychain or IRIS_CREDENTIAL_HELPER; use IRIS_PROFILES only when you are defining the whole connection there.username. An entry that omits username (relying on the local default's username) is not imported at all — a warning names the file and the fix. Pairing an inherited username with a password destined for a different remote host risks repeated authentication failures that can lock out the account there. Add "username" to the intersystems.servers entry to opt in. (Changed in this release: such an entry previously imported successfully when it carried an inline password.)password, the lower-precedence definition — including its inline password — is ignored, and a warning names both hosts. Store a password for the name (iris-mcp-credentials set <name>) to complete the winning definition, unless it comes from a workspace-scope file, which never gets a stored password (see "A workspace-defined server never gets a stored password" below).auto reads the working directory. Because the workspace candidate defaults to the process CWD, a repository you have merely cloned can contribute connection definitions. Set IRIS_SM_WORKSPACE explicitly, or pin IRIS_SM_SERVERS, when working in repositories you do not control.IRIS_CREDENTIAL_HELPER look a password up by server name, so a definition from the workspace .vscode/settings.json or a *.code-workspace file (the files a repository's author controls) is never paired with one: the server is left out of the roster with a warning that names the file (IRIS_SERVER_MANAGER=required fails startup instead). A workspace definition that carries its own inline password in that same file still uses it, and files you list in IRIS_SM_SETTINGS_PATHS count as yours when you name them by absolute path (a relative entry resolves against the working directory, usually the repository, so it counts as workspace scope). A server defined in your user settings is unchanged unless a workspace file defines the same name: that file wins (first file wins), so the server is refused. To use a stored password for such a server, define it in your user settings under a name no workspace file uses.IRIS_* environment variables.iris_server_profiles (the discovery tool) reports a source field on every roster entry — "env" (from IRIS_*/IRIS_PROFILES) or "server-manager" (imported from a settings file) — plus sourceFile, the exact settings file a Server-Manager-sourced profile came from. Both are attribution only: they never affect which actions governance allows, only where you look to change a connection's host/port/username. The optional IRIS_AUDIT_LOG audit trail (see Compliance & Auditability) likewise records profileSource per call, for the same reason.sourceFile is a local path, and your AI client sees it. It never contains a password — but it is a real filesystem path, so when a profile comes from a user-scope settings file it includes your OS account name (e.g. C:\Users\jsmith\AppData\Roaming\Code\User\settings.json), and when it comes from a workspace it includes that directory. Because the roster is returned to the connected MCP client, that path is visible to the model. This is deliberate: a bare filename would be useless — every candidate file is called settings.json, so the folder is the whole point. If you would rather not disclose local paths, leave IRIS_SERVER_MANAGER off and use IRIS_PROFILES (a definition from a workspace-scope file gets no stored password, see above).Short version: a Server Manager password is never readable outside VS Code, by design — but the suite can still get one from you through three other doors.
VS Code's Server Manager extension stores passwords in its own encrypted SecretStorage (backed by the OS's safeStorage/keychain, app-bound to VS Code itself). There is no supported API, file, or database an external process — including this suite — can read to recover that value. If you set IRIS_SERVER_MANAGER=auto/required and a Server-Manager-sourced profile still shows no password at startup, this is why, and it is expected. Complete it one of these three ways instead:
iris-mcp-credentials set <name> once per machine (see the CLI below) — it stores the password in the same class of OS-native secure storage (Windows Credential Manager / macOS Keychain / libsecret) that VS Code itself uses, just under this suite's own service name (iris-mcp). This is the credential chain's link 2 and needs no config file.IRIS_CREDENTIAL_HELPER. Point this environment variable at a command (e.g. a wrapper around op, pass, or your organization's secret manager) that prints the password to stdout when given the server name. Useful when you already have a secrets tool and don't want a second, suite-specific store.IRIS_PROFILES — but only as a full replacement, never a patch. An IRIS_PROFILES entry for the same name does not "add a password" to the Server Manager definition; it replaces it entirely, including host/port/username. Use this only when you want to define the connection outside Server Manager altogether.If none of the three is set up, the profile is excluded at startup (a log line names all three remediations) rather than started with a missing or wrong credential; under IRIS_SERVER_MANAGER=required this fails startup instead of degrading silently.
iris-mcp-credentials CLIA small command-line tool — ships as a bin in @iris-mcp/shared, built to packages/shared/dist/cli/credentials-cli.js — for the one-time per-machine setup referenced above: storing, listing, testing, and removing IRIS passwords in the OS keychain, so the OS-keychain link of the credential chain never needs a hand-edited config file containing a password. Run it through npx; the -p form names the bin:
npx -y -p @iris-mcp/shared@1 iris-mcp-credentials set myserver
| Command | Effect |
|---|---|
set <name> | Store a password for <name> in the OS keychain. Interactive by default — prompts with echo suppressed; --stdin reads the password from a pipe or file instead (a leading UTF-8 BOM and a single trailing newline are stripped) for scripted/CI use. --stdin is refused when stdin is a terminal, because reading a TTY does not suppress echo and the password would appear in cleartext. A password is never accepted as a command-line argument — it would land in shell history and any same-user process listing. |
delete <name> | Remove the stored password for <name>. A missing entry is exit code 1, not an error. |
list [--json] | List stored server names only — no password value is ever printed, logged, or serialized. (The native findCredentials(service) API returns {account, password} pairs and offers no account-only entry point, so passwords do transit process memory during enumeration; the CLI discards them at the first opportunity and never touches them again.) Enumeration is verified against the Windows Credential Manager; macOS Keychain and libsecret back-ends may enumerate differently. set, delete and test are unaffected. |
test <name> [--connect] [--json] | Run the real credential chain for <name> (env → OS keychain → credential helper) and report which link resolved it. --connect additionally performs a live Atelier HEAD /api/atelier/ check against the mapped profile, reusing the same health-check path the servers use at startup. --connect needs <name> to map to a connection profile in the shell running the CLI — i.e. IRIS_SERVER_MANAGER=auto (or an IRIS_PROFILES entry), plus IRIS_USERNAME/IRIS_PASSWORD for the reserved default profile. Without them the credential check still reports correctly and only the connectivity half fails, naming this remedy. |
A <name> that is empty, whitespace-only, or contains a newline or control character is rejected (exit 2) before the keychain is touched. Use -- to address a name that begins with -, e.g. iris-mcp-credentials delete -- --json.
Every password is stored under OS-keychain service iris-mcp, account <name> — the exact key the credential chain's OS-keychain link (link 2, above) reads, so a name you set here is immediately usable once IRIS_SERVER_MANAGER=auto/required is set (default off — see the variable table above).
Exit codes are consistent across all four commands: 0 success · 1 not found / credential unresolved / OS keychain unavailable (or a failed --connect check) · 2 usage or input error (unknown command, missing or extra argument, unknown option, invalid server name, empty password, aborted prompt).
--json output is available on list and test. Its contract: an operational outcome (exit 0 or 1) always writes exactly one JSON object to stdout — on failure that is {"error": "..."} for list, and an error field alongside the usual fields for test. Usage errors (exit 2) are always plain text on stderr, because the flags themselves were not understood. Human-readable failures always go to stderr, so ... --json 2>/dev/null | jq works while a human still sees the error.
Every output path — human text, --json, --help, and error/failure messages, including a failed --connect — is secret-free: known secrets are substring-redacted, and a secret too short to redact safely causes the whole message body to be withheld. Unlike the credential chain's own OS-keychain link (which silently skips to the next link when the native keychain module is unavailable), this CLI's set/delete/list fail loudly with a non-zero exit and an actionable message, since operating on the OS keychain is the whole point of the command. Run npx -y -p @iris-mcp/shared@1 iris-mcp-credentials --help for full usage.
iris-mcp-governance CLIA small command-line tool — ships as a second bin in @iris-mcp/shared, built to packages/shared/dist/cli/governance-cli.js — for validating, inspecting, and editing a governance file with the SAME engine the servers enforce with: every parse goes through the server's own loader (so validate prints the exact error text a server would fail startup with), and effective/diff compose the shared cascade functions directly rather than reimplementing them. Opt-in and agent-agnostic — with no file configured, the servers are unaffected. Run it through npx; the -p form names the bin:
npx -y -p @iris-mcp/shared@1 iris-mcp-governance validate --file C:\governance\iris-policy.json
| Command | Effect |
|---|---|
validate [--file <path>] [--json] | Parse and validate the file with the same loader the servers use at startup. Exit 1 (the server's exact error text, naming IRIS_GOVERNANCE_FILE + the path) when invalid. |
get <key> [--profile <name>] [--json] | Print the key's explicit value in the file (true/false/unset) — the file's own layer, not the cascade. |
set <key> true|false [--profile <name>] | Write the key into the file (creating the file when missing). Atomic write (temp + rename in the same directory), existing key order preserved, the written file automatically re-validated with rollback on failure. Reserved keys (__proto__ etc.) are rejected; a key outside the frozen baseline warns on stderr but is still written (post-foundation keys like iris_env_promote:execute are legitimate). |
unset <key> [--profile <name>] | Remove the key from the file. Exit 1 when the key is not set (the iris-mcp-credentials delete not-found convention). |
preset read-only|full | Print the env-level wiring for IRIS_GOVERNANCE_PRESET — writes nothing: the servers source the preset from their process environment only, never from a governance file. |
effective [--profile <name>] [--json] | Render the SAME cascade the servers compute (env.profile ?? env.global ?? file.profile ?? file.global ?? presetSeed ?? defaultSeed) for the CLI's own environment plus the resolved file, with the per-key configSource (env|file|preset|default). It renders the frozen baseline's keys only, and no baseline key has a parent, so an inherited disable (source parent) shows only in universe. |
diff [--json] | Compare every key the file sets against its default-seed value. |
universe [--profile <name>] [--root <path>] [--json] | Render the full governed-key universe — the frozen baseline ∪ the five server packages' registered tool keys (derived from their built dist, the same derivation the suite's cross-package tests use) ∪ the framework iris_server_profiles tool — with the real mutates/default-enabled classifications, per-key effective value, and configSource. This is the render a running server's iris_server_profiles computes over its own registered subset; post-foundation write keys seed default-DISABLED here (unlike effective/diff). Needs the packages' built dist locatable: --root names a monorepo root (or package container dir); otherwise auto-detected from the CLI's own install location. |
check [--file <path>] [--root <path>] [--json] | Check every key in IRIS_GOVERNANCE and in the resolved file against the full governance-key universe (the keys universe lists). A key that is none of them has no effect on any server: a typo such as iris_doc_putt, a bare name for a per-action tool, an action on a single-operation tool, or an action a tool does not have. One message per such key on stderr, then a summary; exit 1 when any key matches nothing. A server only warns about these keys at startup, and only for the tools it registers, so check is the suite-wide check. Needs the same built dist as universe (--root works the same way). |
Default file resolution — --file <path> wins; otherwise IRIS_GOVERNANCE_FILE from the environment. Explicit path only: the CLI never discovers or searches for a file (architecture decision J1). Exit codes: 0 success · 1 operational failure (file unreadable/invalid per the server loader, a key not set for unset, a key that matches nothing for check) · 2 usage error. --json on the read commands (validate, get, effective, diff, universe, check) always emits exactly one parseable JSON object to stdout on an operational outcome — including failures; usage errors (exit 2) are always plain text on stderr.
One caveat: the full governance-key universe is the frozen baseline plus each server's registered tool keys, which validate/get/set/unset/effective/diff cannot enumerate (importing a server package would be a circular dependency). effective/diff therefore render over the baseline plus keys mentioned in any config layer — a post-foundation key mentioned nowhere renders with the read-default seed (enabled) even when a real server would seed it disabled. The universe command closes that gap by deriving the registered half from built dist, and iris_server_profiles on a running server remains the authoritative render. Run npx -y -p @iris-mcp/shared@1 iris-mcp-governance --help for full usage.
The Claude Code plugin and the VS Code extension configure themselves (step 1). For every other client the iris-mcp-clients CLI writes the entry for you, and the manual snippets below show what it writes.
📖 MCP client configuration index — copy-pasteable config for 15 clients (Claude Code, VS Code/Copilot, Cline, Kimi Code, Kimi CLI, Codex CLI, Cursor, Claude Desktop, Devin Desktop (formerly Windsurf), Roo Code, Gemini CLI, Zed, Goose, Pi, JetBrains Junie), a format/root-key matrix (three formats and four different root keys between them), and the two credential caveats above restated where you need them.
iris-mcp-clientsThe @iris-mcp/client-config package ships the iris-mcp-clients CLI — one tool that wires any of the 15 supported clients for you instead of hand-editing config files: it detects which clients are installed, previews the exact edit, writes through a backup-on-write engine, toggles entries, rolls back, and diagnoses the result. Run it through npx; the -p form names the bin:
npx -y -p @iris-mcp/client-config@1 iris-mcp-clients detect # which clients are installed
npx -y -p @iris-mcp/client-config@1 iris-mcp-clients diff --client cursor --servers iris-dev-mcp
npx -y -p @iris-mcp/client-config@1 iris-mcp-clients apply --client cursor --servers iris-dev-mcp
npx -y -p @iris-mcp/client-config@1 iris-mcp-clients doctor # env refs, parseability, drift, backups, stashes, plugin duplicates
apply prints the pending diff first and requires confirmation (--yes to skip); every successful write takes a timestamped backup and prints the client's restart hint. From 1.1.0, a project-scope write (--scope project) is refused when the project directory is your home directory, because the project file would then be a user-level file; open a project folder, or use --scope user. iris-mcp-clients skills install also installs the skills pack into a project: see The skills pack.
The zero-secrets end state — three composable pieces, each covering a different secret class:
--mode server-manager writes entries carrying IRIS_SERVER_MANAGER=auto — connections come from your InterSystems Server Manager profiles, passwords from the OS keychain via iris-mcp-credentials set <name>; nothing secret in the config file.--mode governance-file writes entries carrying IRIS_GOVERNANCE_FILE=<path> — one shared policy file governs every server's tool surface; the file holds no credentials.env-reference mode): the password is never stored — the manager writes ${IRIS_PASSWORD} into ~/.copilot/mcp-config.json (or the workspace .mcp.json), which VS Code resolves from the environment it was started with, so start VS Code from a shell that has IRIS_PASSWORD exported. The Copilot harness has no password prompt; use item 1 where you would rather keep the password in the OS keychain.Which clients/config surfaces are proven: the adapter certification table (Claude Code, VS Code, Cline and Kimi Code are certified-live as of 2026-07-28; the rest carry explicit fixture-only-with-residual-risk dispositions, and the clients that need a person at the GUI carry a human-only marker — re-provable anywhere with node packages/client-config/scripts/certify.mjs run <client> --real-config from a checkout).
The manual per-client snippets below remain as the fallback (and as the reference for what the manager writes).
.mcp.json)Create a .mcp.json file in your project root:
{
"mcpServers": {
"iris-dev-mcp": {
"command": "npx",
"args": ["-y", "@iris-mcp/dev@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.
claude_desktop_config.json)Add to your Claude Desktop configuration:
{
"mcpServers": {
"iris-dev-mcp": {
"command": "npx",
"args": ["-y", "@iris-mcp/dev@1"],
"env": {
"IRIS_HOST": "localhost",
"IRIS_PORT": "52773",
"IRIS_USERNAME": "_SYSTEM",
"IRIS_PASSWORD": "SYS",
"IRIS_NAMESPACE": "USER"
}
}
}
}
To add more servers, include additional entries under mcpServers using the same pattern. For example, to add admin tools:
{
"mcpServers": {
"iris-dev-mcp": {
"command": "npx",
"args": ["-y", "@iris-mcp/dev@1"],
"env": { "IRIS_USERNAME": "_SYSTEM", "IRIS_PASSWORD": "SYS" }
},
"iris-admin-mcp": {
"command": "npx",
"args": ["-y", "@iris-mcp/admin@1"],
"env": { "IRIS_USERNAME": "_SYSTEM", "IRIS_PASSWORD": "SYS" }
}
}
}
The five servers are @iris-mcp/dev, @iris-mcp/admin, @iris-mcp/interop, @iris-mcp/ops and @iris-mcp/data; each is launched as npx -y @iris-mcp/<name>@1.
Ask your AI assistant:
"List the IRIS namespaces" (with
@iris-mcp/admin)
or
"Show me the globals in the USER namespace" (with
@iris-mcp/dev)
If the assistant returns results from your IRIS instance, you are connected.
Skip this section unless the automatic install cannot run. By default the first server to connect deploys the ExecuteMCPv2 classes itself and upgrades them when a newer release connects (see Shared Instances), and most users need nothing else. Use IPM only where that cannot happen:
Deploy failed or Compile failed in its startup report, and the REST service does not come up.%Admin_Manage. The classes deploy, but the web application cannot be created, so the server logs a warning that web application registration requires %Admin_Manage privileges, with manual instructions (a later start by a user who has %Admin_Manage repairs it, and so does running Do ##class(ExecuteMCPv2.Setup).Configure("<namespace>") in %SYS). An administrator who prefers one step runs the IPM install instead.An administrator then runs, in the target namespace, as a user with %Admin_Manage, with IPM 0.10 or later installed in that namespace:
zpm "install iris-execute-mcp-v2 <version>"
<version> is the version of the suite you run: the @iris-mcp/shared semver, which is the part of the version marker before the +. When zpm "repo -list" shows no registry, add the community registry to that namespace first with zpm "repo -r -n registry -reset-defaults". The IPM package is published to the IPM registry from 1.1.0, the first release with the IPM channel; before that the command finds nothing, and the server's own bootstrap installs the classes.
IPM then owns the classes in that namespace, and the server never redeploys them. The package carries a class, ExecuteMCPv2.InstallGuard, that only IPM installs. A server that finds it writes nothing there (no upload, no compile, no web application or mapping change) and logs one [WARN] line that names the zpm command. So every upgrade of the classes must go through zpm "install iris-execute-mcp-v2 <version>" too: a newer server release does not update them on its own. A server that was already deploying when IPM installed the classes finds the guard just before compiling: it compiles and configures nothing, and the documents it had uploaded stay until the package is reinstalled. zpm "uninstall iris-execute-mcp-v2" in that namespace hands it back to the server (restart a running server): it installs its own classes again the next time it connects, which is how you return to the automatic install.
The install cannot downgrade a newer deployment. At the start of every install the guard orders the marker of the ExecuteMCPv2.Setup already in the namespace against the package's own marker, with the same ordering as the server (semver first, then sequence). It refuses to install over a newer one, over dev or another foreign marker, or over a Setup whose marker cannot be read, and nothing is installed. To install the package deliberately over such a deployment, delete the class ExecuteMCPv2.Setup in the namespace and run the install again. An older deployment, or none, installs. The manifest sets CheckStatus on the guard's invoke, because IPM 0.10.0 to 0.10.4 ignore a returned error status without it; the CI proof runs on the IPM 0.10.5 that ships with the IRIS images it uses, and the earlier versions are not tested. IPM 0.10.5 marks CheckStatus deprecated, because it checks a returned %Status by default, but still reads it, and the CI proof checks that the manifest inside the built archive still carries it.
Install with zpm "install ..." only, never with -dev. A developer-mode load of a refused version keeps IPM's record at the version it refused.
The package configures the /api/executemcp/v2 web application and the %ALL package mapping through ExecuteMCPv2.Setup.Configure, with no application roles: handlers run with the connecting user's own privileges.
zpm "uninstall iris-execute-mcp-v2" leaves two things behind, and removes neither. It removes the classes, but not the web application or the %ALL mapping that Configure created. To remove them by hand, in the %SYS namespace as an administrator:
Do ##class(Security.Applications).Delete("/api/executemcp/v2")
Do ##class(Config.MapPackages).Delete("%ALL","ExecuteMCPv2")
Run them only when no other namespace still uses the suite: the instance has one such web application and one such mapping, shared by every namespace that uses the suite. Each call returns a %Status.
This adds no tool and no governed action. CI builds the package archive and installs it, with no network, on iris-community and irishealth-community (the ipm job below).
Two optional environment variables — IRIS_PROFILES and IRIS_GOVERNANCE — let one MCP server process target several IRIS instances and restrict which tool actions are allowed per instance. Both are JSON values set in your MCP client's env block (or, for governance, in a JSON file referenced by IRIS_GOVERNANCE_FILE — see Governance file). Neither is required: with both unset, the suite behaves exactly as a single-server, fully-enabled install (see Backward Compatibility below).
Where to put the escaped JSON: because
IRIS_PROFILES/IRIS_GOVERNANCEare JSON strings that live inside your client's JSON config, the inner quotes must be escaped. See the per-client guides for copy-pasteable, correctly-escaped blocks: Claude Code, Claude Desktop, Cursor.Programmatic config updates: if you write the config file with a JSON serializer (Python
json.dump, NodeJSON.stringify, etc.), passIRIS_PROFILES/IRIS_GOVERNANCEas a plain string — the serializer escapes the inner quotes automatically. Do not pre-escape the string yourself; that produces double-escaped output (\\") and the server will fail to parse the value at startup.
IRIS_PROFILES)A profile is a named IRIS instance — a host, port, and credentials. IRIS_PROFILES is a JSON object keyed by profile name:
{
"prod": { "host": "iris-prod.example.com", "port": 443, "username": "svc_mcp", "password": "...", "namespace": "HSCUSTOM", "https": true },
"stage": { "host": "iris-stage.example.com", "port": 52773, "username": "svc_mcp", "password": "...", "namespace": "USER" }
}
Each profile may carry host, port, username, password, namespace, and https. Omitted fields are inherited from the reserved default profile (which is synthesized from your IRIS_HOST / IRIS_PORT / IRIS_USERNAME / IRIS_PASSWORD / IRIS_NAMESPACE / IRIS_HTTPS variables). So a profile that only overrides the host inherits the rest of the default's connection settings.
Selecting a profile per call. Every tool gains an optional server parameter that carries only the profile name — credentials never travel over the wire, they stay in the server process. Omit server and the call runs against the default profile (today's behavior).
server and the existing per-call namespace parameter compose cleanly: server picks the instance, namespace picks the namespace within it. For example, iris_global_list({ server: "prod", namespace: "%SYS" }) lists globals in %SYS on the prod instance, regardless of prod's default namespace.
Profiles are independent at startup. Every profile — default included — establishes its connection (health check, then Atelier-version negotiation, then a one-time bootstrap where applicable) on its own; one profile being unreachable never blocks or fails another. Non-default profiles have always connected lazily, on their first call. default is additionally attempted eagerly at startup as a warm-up (so its bootstrap report appears in the startup log), but that attempt is non-fatal: if it fails, the server still starts and serves every reachable profile, and default itself falls back to the same lazy on-first-call path — recovering automatically once it becomes reachable, no restart required. The eager default warm-up is bounded by the 5-second health-check timeout, so an unreachable default delays startup by at most that — it never blocks it. See Backward Compatibility below.
IRIS_GOVERNANCE)IRIS_GOVERNANCE is a JSON policy that enables or disables individual tool actions, optionally per profile. It has a global baseline and per-profiles overrides:
{
"global": { "<tool>": true, "<tool>:<action>": false },
"profiles": { "prod": { "<tool>:<action>": false } }
}
A governance key is the tool name for single-operation tools (e.g. iris_metrics_system) or tool:action for multi-action tools (e.g. iris_database_manage:delete). The value is a boolean: true = allowed, false = blocked.
Only global and profiles carry policy. A top-level key that looks like governance but would be silently ignored fails startup, naming the variable, the key and the documented shape, and never echoing the value: a name that starts with iris_ (in any letter case), or a key with a boolean or object value. Examples are a flat {"iris_doc_put": false}, a top-level profile such as {"prod": {...}}, and a misspelled layer such as "globals": {...}; put the key under global to apply it to every profile, or under profiles for one profile. Plain metadata keys with a string, number, null or array value, such as comment and version, are ignored. A profile name under profiles that is not a configured profile does not fail startup: it logs one [WARN] naming the profile and the configured profiles, and its overrides apply to no connection.
A key that names nothing only warns. A key inside global or a profile that is none of a tool's keys is accepted and does nothing: a bare name for a per-action tool ({"global": {"iris_doc_edit": false}} leaves the default-enabled iris_doc_edit:apply enabled), an action on a single-operation tool (iris_doc_put:apply), an action the tool does not have, or a misspelled tool name such as iris_doc_putt. A server logs one [WARN] per such key for the tools it registers (a tool hidden by a visibility preset counts as registered), naming the key, the layer and the keys to use instead, and never the value. It still starts, and the effective policy is the one it would report without the key. A key whose tool the server does not register stays silent, because one document serves all five servers and a newer server may add keys; that includes a misspelled tool name, which only iris-mcp-governance check reports. To check every key against the whole suite, run iris-mcp-governance check, which exits 1 when a key matches nothing. A valid document starts and reports exactly as before.
Effective policy for a given action on a given profile resolves in this order:
effective = env.profile(key) ?? env.global(key) ?? file.profile(key) ?? file.global(key) ?? inheritedDisable(key) ?? presetSeed(key) ?? defaultSeed(key)
That is: a per-profile IRIS_GOVERNANCE setting wins; otherwise the global IRIS_GOVERNANCE setting; otherwise the governance file's per-profile setting; otherwise the file's global setting (see Governance file — with no file configured, both file layers are simply absent); otherwise a disable inherited from the key's parent key (only a key that declares a parent has one — see Parent keys); otherwise the preset; otherwise the default seed. All env layers sit above all file layers — a pre-existing IRIS_GOVERNANCE setting can never be overridden by a governance file introduced later.
The default seed (what happens when neither global nor profiles mentions a key):
The "existing action" baseline is generated mechanically from the shipped tool catalog, so no pre-existing action is ever disabled by default.
Enforcement is call-time. The policy is checked in the shared framework after the server profile is resolved and before the tool handler runs — it has to be call-time, because the governing profile is chosen per call via server. All tools stay advertised in tools/list; a blocked action does not run the handler and instead returns a structured error:
{
"isError": true,
"structuredContent": {
"code": "GOVERNANCE_DISABLED",
"action": "iris_backup_manage:run",
"server": "prod"
}
}
(the human-readable text reads action 'iris_backup_manage:run' is disabled by governance policy for server 'prod').
IRIS_GOVERNANCE_FILE)`I