IRIS Administration MCP Server

io.github.jbrandtmse由 GitHub 账号 jbrandtmse 发布v1.1.0更新于 Nov 22, 2026

IRIS Administration MCP Server

概览

AI 生成的概览

本地 MCP 服务器,让助手管理 InterSystems IRIS 实例:命名空间、数据库、映射、用户、角色、Web 应用、SSL、OAuth2 与审计。

可以做什么
  • 列出并创建、修改或删除命名空间、数据库以及全局/例程/包映射
  • 管理用户、角色、安全资源与 SQL 对象权限,并检查权限
  • 查看和更改 Web 应用、服务、SSL/TLS 配置、OAuth2 服务器与客户端、LDAP 配置和 X.509 凭据
  • 查看、启用、配置、导出和清除 IRIS 审计
  • 报告已配置的服务器配置档与治理策略,并提供环境开通与安全态势审计的工作流提示
适用场景
当需要助手在聊天客户端中运维或审计 InterSystems IRIS 部署时使用,例如开通项目命名空间与数据库、检查谁拥有 %All,或审查服务认证与 TLS 设置。
运行要求
通过 npx 从 npm 包在本地运行。需要能访问 IRIS Web 服务器(Management Portal 端口)的网络,以及 IRIS_HOST、IRIS_USERNAME、IRIS_PASSWORD 环境变量;IRIS_PORT、IRIS_NAMESPACE、IRIS_HTTPS 可选。其他可选变量用于多配置档、治理策略、工具预设、审计日志和 Server Manager 导入。
安装前请注意
IRIS 账号凭据保存在客户端配置中,请勿提交到版本库。许多工具具有破坏性:会创建、修改或删除命名空间、数据库、用户、角色、Web 应用、SSL 配置和审计日志,并可授予或撤销 SQL 权限。治理策略与工具预设可限制操作,但默认关闭;审计日志默认也未开启。

安装

在 SourceWeft 中

  1. 打开 控制台中的 IRIS Administration MCP Server,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@iris-mcp/admin

IRIS Administration MCP Server -- Namespace, database, user, role, resource (incl. SQL privileges), web application, SSL/TLS, OAuth2, service, LDAP, X.509, and audit management via the Model Context Protocol.

Part of the IRIS MCP Server Suite.


Installation

bash
npm install -g @iris-mcp/admin

Or run directly without installing:

bash
npx -y @iris-mcp/admin@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 13-tool runtime roster (12 package tools + iris_server_profiles) — the everyday admin loop (namespaces, databases, users, webapps, permission checks); no mapping/role-security/SSL/OAuth/service/LDAP/X509/audit management. IRIS_TOOLS_PRESET=developer trims to 11 runtime tools (10 + iris_server_profiles) — only what a developer self-serves (namespace/database/mapping/webapp config plus permission checks), hiding ALL user/security administration. 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 audit-security-posture prompt calls iris_user_get, iris_role_list, iris_service_manage, iris_ssl_list, and iris_audit_manage — under core, iris_service_manage/iris_ssl_list/iris_audit_manage are hidden (the prompt cannot complete steps 4-6); under developer, ALL FIVE tools it calls are hidden (the prompt cannot run at all). The provision-project-environment prompt calls iris_user_manage, which is hidden under developer (step 4 fails). Both prompts need full, or IRIS_TOOLS_ENABLE naming the specific tool(s) they use.


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. Full record shape, redaction rules, and how it differs from IRIS's own iris_audit_manage security-audit tool: 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-admin-mcp": {      "command": "npx",      "args": ["-y", "@iris-mcp/admin@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-admin-mcp": {      "command": "npx",      "args": ["-y", "@iris-mcp/admin@1"],      "env": {        "IRIS_HOST": "localhost",        "IRIS_PORT": "52773",        "IRIS_USERNAME": "_SYSTEM",        "IRIS_PASSWORD": "SYS",        "IRIS_NAMESPACE": "USER"      }    }  }}

Cursor

json
{  "iris-admin-mcp": {    "command": "npx",    "args": ["-y", "@iris-mcp/admin@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.

Namespace & Database Tools

ToolDescriptionKey ParametersAnnotations
iris_namespace_manageCreate, modify, or delete a namespaceaction, name, codeDatabase?, dataDatabase?, library?, tempGlobals?destructive
iris_namespace_listList all namespaces with DB associationscursor?readOnly, idempotent
iris_database_manageCreate, modify, or delete a databaseaction, name, directory?, size?, maxSize?, expansionSize?, readOnly?, resource?destructive
iris_database_listList all databases with size and mount statuscursor?readOnly, idempotent

Namespace Mapping Tools

ToolDescriptionKey ParametersAnnotations
iris_mapping_manageCreate or delete global/routine/package mappingsaction, type, namespace, name, database?, collation?, lockDatabase?, subscript?, force?destructive
iris_mapping_listList mappings for a namespace by typenamespace, type, cursor?readOnly, idempotent

User & Security Tools

ToolDescriptionKey ParametersAnnotations
iris_user_manageCreate, modify, or delete a user accountaction, name, password?, fullName?, roles?, enabled?, namespace?destructive
iris_user_getGet a user or list all usersname?, cursor?readOnly, idempotent
iris_user_rolesAdd or remove a role from a useraction, username, roledestructive
iris_user_passwordChange or validate a passwordaction, username?, password, changePasswordOnNextLogin?destructive
iris_permission_checkCheck user/role permissions on a resourcetarget, resource, permissionreadOnly, idempotent

Role & Resource Tools

ToolDescriptionKey ParametersAnnotations
iris_role_manageCreate, modify, or delete a security roleaction, name, description?, resources?, grantedRoles?destructive
iris_role_listList all security rolescursor?readOnly, idempotent
iris_resource_manageCreate/modify/delete a security resource, or grant/revoke/list SQL object privilegesaction (create, modify, delete, grant, revoke, listPrivileges), name?, description?, publicPermission?, target?, privilege?, grantee?, namespace?, maxRows?, cursor? (both listPrivileges-only)destructive
iris_resource_listList all security resourcescursor?readOnly, idempotent

Web Application Tools

ToolDescriptionKey ParametersAnnotations
iris_webapp_manageCreate, modify, or delete a web applicationaction, name, namespace?, dispatchClass?, enabled?, authEnabled?destructive
iris_webapp_getGet a web application by pathnamereadOnly, idempotent
iris_webapp_listList all web applicationsnamespace?, cursor?readOnly, idempotent

SSL/TLS Tools

ToolDescriptionKey ParametersAnnotations
iris_ssl_manageCreate, modify, or delete SSL/TLS configaction, name, certFile?, keyFile?, caFile?, tlsMinVersion?, tlsMaxVersion?, verifyPeer?, type?destructive
iris_ssl_listList all SSL/TLS configurationscursor?readOnly, idempotent

OAuth2 Tools

ToolDescriptionKey ParametersAnnotations
iris_oauth_manageCreate/delete OAuth2 servers/clients, OIDC discoveryaction, entity?, issuerURL?, sslConfiguration?, name?, serverName?, clientName?, supportedScopes?, customizationNamespace?, customizationRoles?destructive
iris_oauth_listList all OAuth2 server definitions and clientscursor?readOnly, idempotent

OAuth2 server creation notes:

  • supportedScopes — accepts a space- or comma-separated string (e.g., "openid profile email" or "openid,profile,email"). The tool splits the string into an array before sending to IRIS.
  • customizationNamespace — IRIS namespace containing OAuth2 customization classes (required by IRIS; defaults to "" when omitted).
  • customizationRoles — roles granted to the customization code (required by IRIS; defaults to "" when omitted).

OAuth2 discovery and client registration notes:

  • sslConfiguration — name of an IRIS SSL/TLS client configuration used for the discovery connection. Required for https issuer URLs (IRIS rejects the connection with ERROR #6159 otherwise). Inspect existing configurations with iris_ssl_list; create one with iris_ssl_manage (action: "create").
  • discover saves an OAuth2.ServerDefinition keyed by the exact issuer URL — it is a write, not a read.
  • Client registration (create + entity: "client") requires a prior successful discover for the issuer: serverName is the exact issuer URL string that was discovered (the match is exact; there is no user-chosen server name). The client record inherits the server definition's SSL configuration. If the issuer publishes no dynamic registration endpoint (Google, for example), the local client record is still created and saved, and the response carries the clean "no registration endpoint" error — matching the Management Portal's configure-then-register semantics.

SQL Privilege Tools

iris_resource_manage also manages SQL object privileges (schema/table/column GRANT/REVOKE) via three additional actions. Unlike the security-resource actions (which run in %SYS), these execute in the target namespace (the namespace? parameter, defaulting to the configured default).

ActionDescriptionKey ParametersMutates
grantGrant one or more SQL privileges on a schema/table/column to a user or roletarget (schema, schema.table, or schema.table(col1,col2)), privilege (e.g. SELECT, INSERT,UPDATE, %ALTER), grantee, namespace?write (default-disabled under governance)
revokeRevoke SQL privileges from a user or roletarget, privilege, grantee, namespace?write (default-disabled under governance)
listPrivilegesList the current SQL grants held by a user or rolegrantee, target? (omit for object-level listing; pass schema.table for a column-level listing; a bare schema or a schema. / .table fragment is rejected with a validation message), namespace?, system? (default false; true includes system tables), maxRows? (default 100, max 1000), cursor?read (enabled by default)

Governance: grant and revoke are classified write (denied by default under an IRIS_GOVERNANCE policy until explicitly allowed); listPrivileges is a read (enabled by default). SQL privileges are namespace-scoped.

listPrivileges bounding (Story 35.4): a grantee holding %All (e.g. _SYSTEM) is granted every SQL privilege on every object via a derived SuperUser cross-product — live-measured at 15,341 rows / 2,900,478 characters for _SYSTEM, which overruns the client transport limit. listPrivileges now omits those derived (GRANTED_VIA=SuperUser) rows automatically, adding a reason string and a superUserPrivilegesOmitted count to the response; any REAL non-derived grant is still listed, and the omitted count stays exact even when maxRows truncates the real rows. The omission is decided per row, from the GRANTED_VIA value the query itself reports — the handler never resolves the grantee's roles — so it holds however the grantee acquired %All, including through a deeply nested role chain. (An instance-wide sweep of all 46 users and roles found SuperUser rows emitted if and only if the principal effectively holds %All; powerful non-%All accounts such as Admin return 0 derived rows and are therefore untouched.)

maxRows bounds the response further (default 100; values above 1000 are clamped) — it is an OUTPUT-only bound on the server's fetch loop, not a bound on the underlying privilege scan, and therefore not timeout protection; a capped response carries rowsCapped: true. Pagination is opt-in: pass maxRows or cursor and the response is paged 50 rows at a time (the suite-wide default page size) within the maxRows ceiling; pass neither and every row the server returned comes back unpaged, exactly as before Story 35.4. Resend the same maxRows alongside each cursor — every page re-runs the server query and the cursor offset is positional. The cursor never crosses the maxRows ceiling and maxRows is itself capped at 1000, so a grantee with more than 1000 real grants cannot be fully enumerated through this action. All three new fields (rowsCapped, reason, superUserPrivilegesOmitted) are present ONLY when actually triggered, so a caller who passes no new parameters, fits under the cap, and does not hold %All sees the exact pre-35.4 response shape.

Service Tools

ToolDescriptionKey ParametersAnnotations
iris_service_manageList/inspect/toggle IRIS services and their authentication settings (Security.Services in %SYS)action (list, get, enable, disable, set), name?, settings?, namespace?, cursor?destructive

LDAP Tools

ToolDescriptionKey ParametersAnnotations
iris_ldap_manageList/inspect/create/modify/delete/validity-test IRIS LDAP configurations for delegated authentication (Security.LDAPConfigs in %SYS)action (list, get, create, modify, delete, test), name?, settings?, cursor?destructive

X.509 Certificate Tools

ToolDescriptionKey ParametersAnnotations
iris_x509_manageList/inspect/import/delete IRIS X.509 certificate credentials (%SYS.X509Credentials in %SYS)action (list, get, import, delete), alias?, certificate?, privateKey?, privateKeyPassword?, namespace?, cursor?destructive

Auditing Tools

ToolDescriptionKey ParametersAnnotations
iris_audit_manageManage auditing configuration and the audit log: status, enable/disable, per-event configuration, view/export/purge the log (%SYS.Audit* in %SYS)action (status, enable, disable, configureEvent, view, purge, export), source?, type?, event?, filter/confirm paramsdestructive

Note: iris_audit_manage configures auditing and manages the audit log. It is distinct from @iris-mcp/ops's read-only iris_audit_events, which only queries audit events.

Governance defaults (service / LDAP / X.509 / audit): the write actions of these tools are classified write and are disabled by default under an IRIS_GOVERNANCE policy until explicitly allowed — iris_service_manage:enable/:disable/:set, iris_ldap_manage:create/:modify/:delete, iris_x509_manage:import/:delete, and iris_audit_manage:enable/:disable/:configureEvent/:purge/:export. Their read actions are enabled by default — :list/:get/:test/:status/:view. (iris_resource_manage:grant/:revoke follow the same rule; see the SQL-privilege governance note above.)

Human confirmation (Story 43.3): iris_audit_manage action purge (a write, default-disabled) also asks the person before it deletes audit-log records, when the MCP client declares form elicitation; any other client keeps today's confirm: true contract, and declining ends the call with CONFIRMATION_DECLINED and changes nothing. A Claude Code Elicitation hook can answer the dialog for the person, which is the user's choice and removes the person from the loop. See Human confirmation (elicitation).


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
provision-project-environmentProvisions a new project environment (two databases, a namespace, a user, a web application), verifying each step before the next, with rollback notes.
audit-security-postureAudits users, roles, service authentication settings, SSL/TLS configs, and instance auditing status; reports default passwords, %All holders, and insecure services.

Also installable as Agent Skills.


Tool Examples

iris_namespace_manage -- Create a namespace

Input:

json
{  "action": "create",  "name": "MYAPP",  "codeDatabase": "MYAPP-CODE",  "dataDatabase": "MYAPP-DATA"}

Output:

json
{  "action": "create",  "name": "MYAPP",  "status": "created"}
iris_namespace_list -- List namespaces

Input:

json
{}

Output:

json
{  "namespaces": [    { "name": "USER", "globals": "USER", "routines": "USER", "library": "IRISLIB", "tempGlobals": "IRISTEMP" },    { "name": "%SYS", "globals": "IRISSYS", "routines": "IRISSYS", "library": "IRISLIB", "tempGlobals": "IRISTEMP" }  ],  "count": 2}
iris_database_manage -- Create, modify, or delete a database

Input (create):

json
{  "action": "create",  "name": "MYAPP-DATA",  "directory": "C:\\InterSystems\\IRIS\\mgr\\myapp-data",  "size": 100,  "maxSize": 1000,  "expansionSize": 50}

Input (modify):

json
{  "action": "modify",  "name": "MYAPP-DATA",  "maxSize": 2000,  "expansionSize": 100}

Output:

json
{  "action": "created",  "name": "MYAPP-DATA"}

Config/SYS routing: Database properties split across two IRIS classes.

  • Configuration props (route to Config.Databases): directory, resource, mountRequired, mountAtStartup, readOnly, globalJournalState.
  • Runtime props (route to SYS.Database): size, maxSize, expansionSize. These control the physical database file and are not accessible via Config.Databases. create uses SYS.Database.CreateDatabase() to create the physical file, then Config.Databases.Create() for CPF registration. modify routes runtime props through SYS.Database.%OpenId(directory).%Save().

Delete caveat: action:"delete" removes the database from the IRIS configuration (CPF) but does NOT cancel pending background work (e.g., extent-index rebuilds) that may have been scheduled against the deleted directory. The IRIS console may log alerts for such operations post-delete; these are informational and do not indicate tool failure.

iris_database_list -- List databases

Input:

json
{}

Output:

json
{  "databases": [    { "name": "USER", "directory": "C:\\InterSystems\\IRIS\\mgr\\user", "size": 11, "maxSize": 0, "expansionSize": 0, "mountAtStartup": true }  ],  "count": 1}

The size, maxSize, and expansionSize fields (all in MB) are populated from SYS.Database (runtime state) rather than Config.Databases (static configuration), since the latter does not carry those properties. Unmounted or inaccessible databases fall back to 0 without raising an error.

iris_mapping_manage -- Create a global mapping

Input:

json
{  "action": "create",  "type": "global",  "namespace": "USER",  "name": "MyGlobal",  "database": "MYAPP-DATA"}

Output:

json
{  "action": "created",  "type": "global",  "namespace": "USER",  "name": "MyGlobal"}

Subscript-level (SLM) mappings. Supply subscript to map a single subscript node or range, leaving the base global mapping untouched. The subscript is appended to name to form the mapped global, and the returned name echoes that full node:

json
{  "action": "create", "type": "global", "namespace": "FHIRBRIDGE",  "name": "%SYS", "subscript": "(\"HealthShare\")", "database": "HSSYS"}

→ creates %SYS("HealthShare") -> HSSYS and returns "name": "%SYS(\"HealthShare\")"; the base %SYS mapping keeps its default. subscript accepts a single node (("HealthShare")) or a range ((1):(100)) and is validated server-side. Delete a subscript node the same way — pass the same subscript so only that node is removed.

⚠️ %-prefixed system globals. Creating a base mapping (no subscript) for a %-prefixed global such as %SYS is refused unless force: true is passed, because remapping a base %-global silently shadows its system default and can corrupt system-config access. To map a node under a system global, pass a subscript (no force needed). Pass force: true only to deliberately remap the base global itself.

iris_mapping_list -- List mappings

Input:

json
{  "namespace": "USER",  "type": "global"}

Output:

json
{  "mappings": [    { "name": "MyGlobal", "type": "global", "namespace": "USER", "database": "MYAPP-DATA" }  ],  "count": 1}
iris_user_manage -- Create a user

Input:

json
{  "action": "create",  "name": "AppUser",  "password": "SecureP@ss123",  "fullName": "Application User",  "roles": "%Developer"}

Output:

json
{  "action": "create",  "name": "AppUser",  "status": "created"}
iris_user_get -- Get user details

Input (single user):

json
{  "name": "_SYSTEM"}

Output (single user):

json
{  "name": "_SYSTEM",  "fullName": "SQL System Manager",  "enabled": true,  "namespace": "",  "roles": "%All",  "comment": "",  "expirationDate": "",  "changePasswordOnNextLogin": false}

Note: Single-user lookups echo the name argument back in the response (Security.Users.Get in IRIS uses name as a lookup key and does not populate it in the returned property array).

Input (list mode): omit name:

json
{}

Output (list mode):

json
{  "users": [    {      "name": "Admin",      "enabled": true,      "fullName": "Administrator",      "namespace": "",      "roles": "%Developer,%Manager",      "comment": "Built-in admin",      "expirationDate": "",      "changePasswordOnNextLogin": false    }  ],  "count": 1}

Note: The IRIS Security.Users:List ROWSPEC only exposes Name, Enabled, Roles, LastLoginTime, Flags. List mode backfills fullName, namespace, comment, expirationDate, and changePasswordOnNextLogin via per-row Security.Users.Get() so responses carry the full set the schema advertises.

iris_user_roles -- Add role to user

Input:

json
{  "action": "add",  "username": "AppUser",  "role": "%Operator"}

Output:

json
{  "username": "AppUser",  "roles": "%Developer,%Operator"}
iris_user_password -- Change or validate password

Change password (basic):

json
{  "action": "change",  "username": "AppUser",  "password": "NewSecureP@ss456"}

Change password with force-change-on-next-login flag:

json
{  "action": "change",  "username": "AppUser",  "password": "NewSecureP@ss456",  "changePasswordOnNextLogin": true}

The optional changePasswordOnNextLogin boolean (default: leave existing flag unchanged) sets the Security.Users.ChangePassword flag in the same Security.Users.Modify() call as the password change. When true, IRIS will require the user to set a new password on their next login.

Change password output:

json
{  "action": "changed",  "username": "AppUser",  "success": true}

Validate password:

json
{  "action": "validate",  "password": "candidate123"}

Validate output (includes active password policy):

json
{  "action": "validate",  "valid": false,  "message": "Password does not match length or pattern requirements",  "policy": {    "minLength": 3,    "pattern": "3.128ANP"  }}

The policy block reflects the active IRIS system password policy (Security.System.PasswordPattern). minLength is extracted from the leading quantifier of the pattern string. When no policy is configured, pattern is null and a comment field explains the absence.

Note: When Security.Users.Modify() fails (policy violation, missing user, permission error, etc.), the underlying IRIS error text is propagated via the Details: suffix of the tool's error response. Examples: User NonExistent does not exist, Password does not meet complexity requirements. The password value itself is never embedded in IRIS error text for this path.

iris_permission_check -- Check permission

Input:

json
{  "target": "_SYSTEM",  "resource": "%DB_USER",  "permission": "RW"}

Output (target holds %All super-role — short-circuit path):

json
{  "target": "_SYSTEM",  "targetType": "user",  "resource": "%DB_USER",  "permission": "RW",  "granted": true,  "grantedPermission": "RWU",  "reason": "target holds %All super-role"}

Output (regular path — explicit resource:permission pair match):

json
{  "target": "Admin",  "targetType": "user",  "resource": "%DB_USER",  "permission": "RW",  "granted": true,  "grantedPermission": "RW"}

Note: The %All role is special-cased by the IRIS security subsystem — Security.Roles.Get("%All", .tProps) returns empty Resources even though the role grants everything. The handler short-circuits to granted: true with grantedPermission: "RWU" and emits an extra reason field when the target IS the %All role OR when a user target's role list contains %All. The reason field is omitted on the regular path.

iris_role_manage -- Create a role

Input:

json
{  "action": "create",  "name": "MyAppRole",  "description": "Custom role for MyApp",  "resources": "%DB_USER:RW,%Development:U"}

Output:

json
{  "action": "create",  "name": "MyAppRole",  "status": "created"}
iris_role_list -- List roles

Input:

json
{}

Output:

json
{  "roles": [    { "name": "%All", "description": "The Super-User Role", "resources": "", "grantedRoles": "" },    { "name": "%Developer", "description": "A Role owned by all Developers", "resources": "%DB_USER:RW,%Development:U,%Service_SQL:U", "grantedRoles": "" },    { "name": "%EnsRole_Administrator", "description": "Interoperability Administrator", "resources": "%Ens_Code:R,%Ens_Jobs:W,%Ens_ProductionConfig:W", "grantedRoles": "%DB_ENSLIB,%EnsRole_Operator" }  ],  "count": 3}

Note: resources is a comma-separated list of resource:permission pairs (e.g., %DB_USER:RW,%Ens_Code:R). The %All super-role always returns resources: "" because IRIS special-cases it — its grant coverage is not stored as explicit pairs. Use iris_permission_check to test effective permissions for a %All-holder.

iris_resource_manage -- Create a resource

Input:

json
{  "action": "create",  "name": "MyAppResource",  "description": "Access control for MyApp",  "publicPermission": ""}

Output:

json
{  "action": "create",  "name": "MyAppResource",  "status": "created"}
iris_resource_list -- List resources

Input:

json
{}

Output:

json
{  "resources": [    { "name": "%DB_USER", "description": "USER database resource", "publicPermission": "RW", "type": "database" }  ],  "count": 1}
iris_webapp_manage -- Create a web application

Input:

json
{  "action": "create",  "name": "/api/myapp",  "namespace": "USER",  "dispatchClass": "MyApp.REST.Dispatch",  "enabled": true}

Output:

json
{  "action": "create",  "name": "/api/myapp",  "status": "created"}
iris_webapp_get -- Get web application

Input:

json
{  "name": "/csp/user"}

Output:

json
{  "name": "/csp/user",  "namespace": "USER",  "enabled": 1,  "dispatchClass": "",  "authEnabled": 32}
iris_webapp_list -- List web applications

Input:

json
{  "namespace": "USER"}

Output:

json
{  "webapps": [    { "name": "/csp/user", "namespace": "USER", "enabled": 1 },    { "name": "/api/executemcp/v2", "namespace": "USER", "enabled": 1 }  ],  "count": 2}
iris_ssl_manage -- Create SSL config

⚠️ Breaking (pre-release): the protocols bitmask was removed in favor of separate tlsMinVersion and tlsMaxVersion integer fields, which reflect the real IRIS properties (Security.SSLConfigs.TLSMinVersion / TLSMaxVersion). The deprecated Protocols property it replaced was never actually wired up through the handler, so removing it is a clean break with no data-loss risk. Clients that wrote protocols: 24 now write tlsMinVersion: 8, tlsMaxVersion: 16 (or tlsMinVersion: 16, tlsMaxVersion: 32 for TLS 1.2 through TLS 1.3 explicitly). See Story 11.2 in _bmad-output. The TypeScript Zod schema now uses these same field names (tlsMinVersion / tlsMaxVersion) per Story 11.4 — writes are validated client-side and passed through verbatim on the wire.

TLS version value mapping (IRIS Security.Datatype.TLSVersion VALUELIST): 2 = SSLv3, 4 = TLS 1.0, 8 = TLS 1.1, 16 = TLS 1.2, 32 = TLS 1.3.

Input:

json
{  "action": "create",  "name": "MyTLS",  "tlsMinVersion": 16,  "tlsMaxVersion": 32,  "type": 0,  "verifyPeer": 1}

Output:

json
{  "action": "created",  "name": "MyTLS"}
iris_ssl_list -- List SSL configurations

Input:

json
{}

Output:

json
{  "sslConfigs": [    {      "name": "BFC_SSL",      "description": "",      "certFile": "",      "keyFile": "",      "caFile": "",      "caPath": "",      "cipherList": "ALL:!aNULL:!eNULL:!EXP:!SSLv2",      "tlsMinVersion": 16,      "tlsMaxVersion": 32,      "verifyPeer": 0,      "verifyDepth": 9,      "type": 0,      "enabled": true    }  ],  "count": 1}

⚠️ Breaking (pre-release): protocols was replaced by tlsMinVersion + tlsMaxVersion — see the iris_ssl_manage note above for the TLS version value mapping.

iris_oauth_manage -- Create an OAuth2 server definition

Input:

json
{  "action": "create",  "entity": "server",  "issuerURL": "https://auth.example.com/oauth2",  "supportedScopes": "openid profile email",  "customizationRoles": "%DB_IRISSYS"}

supportedScopes and customizationRoles are required by IRIS for a server definition; customizationNamespace defaults to the request namespace when omitted. The issuer URL is parsed into the server's endpoint (host/port/prefix/SSL).

Output:

json
{  "action": "created",  "entity": "server",  "issuerEndpoint": "https://auth.example.com/oauth2"}
iris_oauth_manage -- OIDC discovery

Input:

json
{  "action": "discover",  "issuerURL": "https://accounts.google.com",  "sslConfiguration": "ISC.FeatureTracker.SSL.Config"}

Output (captured live against IRIS 2026.1):

json
{  "action": "discovered",  "issuerURL": "https://accounts.google.com",  "configuration": {    "issuerEndpoint": "https://accounts.google.com",    "authorizationEndpoint": "https://accounts.google.com/o/oauth2/v2/auth",    "tokenEndpoint": "https://oauth2.googleapis.com/token",    "userinfoEndpoint": "https://openidconnect.googleapis.com/v1/userinfo",    "revocationEndpoint": "https://oauth2.googleapis.com/revoke",    "jwksEndpoint": "https://www.googleapis.com/oauth2/v3/certs"  }}

Discovery requires an outbound TLS connection to the issuer, which needs a configured SSL/TLS client configuration on the IRIS instance — pass its name as sslConfiguration for https issuers (inspect with iris_ssl_list, create with iris_ssl_manage). Omitting it on an https issuer returns a validation error naming this prerequisite. A successful discover saves a server definition keyed by the exact issuer URL; that URL is the serverName a later client registration references.

iris_oauth_list -- List OAuth2 configurations

Input:

json
{}

Output: (a configured server; empty arrays when none exist)

json
{  "servers": [    {      "id": "singleton",      "issuerEndpoint": "https://auth.example.com/oauth2",      "description": "Example authorization server",      "supportedScopes": ["email", "openid", "profile"],      "accessTokenInterval": 3600,      "authorizationCodeInterval": 60,      "refreshTokenInterval": 86400,      "signingAlgorithm": "RS256"    }  ],  "clients": [],  "serverCount": 1,  "clientCount": 0}

Namespace Scoping

Security note: Most admin tools operate in the %SYS namespace on the IRIS server, regardless of the configured default namespace. This is because IRIS security and configuration classes (Config.*, Security.*) only exist in %SYS.

The following tools do not accept a user-specified namespace parameter (they always execute in %SYS):

  • All namespace, database, mapping, user, role, resource (security-resource actions), permission, SSL, OAuth, service, LDAP, X.509, and audit tools

Exception — SQL privileges: iris_resource_manage's grant / revoke / listPrivileges actions execute in the target namespace (the optional namespace? parameter, defaulting to the configured default), because SQL object privileges are namespace-scoped.

The iris_webapp_list tool optionally accepts a namespace parameter to filter web applications by namespace.

The iris_webapp_manage tool accepts a namespace parameter to set the target namespace for the web application being created/modified.


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; admin operations require %Admin_Manage, %Admin_Security, or %Admin_Operate resources
Namespace already existsAttempting to create a namespace that existsUse iris_namespace_list to check existing namespaces
Database directory not foundInvalid directory path for database creationEnsure the directory path is valid and accessible to the IRIS instance
User does not existReferencing a non-existent userUse iris_user_get without parameters to list all users
Role does not existAdding a non-existent roleUse iris_role_list to see available roles
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 managing namespace 'MYAPP': <details>" }],  "isError": true}

Passwords are never included in error messages or responses (NFR6 security requirement).


Back to IRIS MCP Server Suite

来源:packages/iris-admin-mcp/README.md,提交 704b410

工具

27

iris_namespace_manage

Manage Namespace

Create, modify, or delete an IRIS namespace. For 'create', codeDatabase and dataDatabase are required. For 'modify', only provided fields are updated. For 'delete', only the name is needed.

输入参数name必填action必填serverlibrarytempGlobalscodeDatabasedataDatabase

iris_namespace_list

List Namespaces

List all IRIS namespaces with their code and data database associations. Returns namespace name, globals database, routines database, library, and temp globals database.

输入参数cursorserver

iris_database_manage

Manage Database

Create, modify, or delete an IRIS database. For 'create', directory is required. For 'modify', only provided fields are updated. For 'delete', only the name is needed. Note: Deletion removes the database from the IRIS configuration but does NOT cancel pending background work (e.g., extent-index rebuilds) that may have been scheduled against the deleted directory. The IRIS console may log alerts for such operations post-delete; these are informational and do not indicate tool failure.

输入参数name必填sizeaction必填servermaxSizereadOnlyresourcedirectoryexpansionSizemountRequiredmountAtStartupglobalJournalState

iris_database_list

List Databases

List all IRIS databases with size, free space, and mount status. Returns database name, directory, size, max size, expansion size, mount status, and other configuration.

输入参数cursorserver

iris_mapping_manage

Manage Namespace Mapping

Create or delete a global, routine, or package mapping between namespaces. For 'create', database is required. For global mappings, optional collation, lockDatabase, and subscript parameters are supported. When 'subscript' is supplied, a subscript-level mapping is created for that node (e.g. name='%SYS' + subscript='("HealthShare")' maps %SYS("HealthShare") only, leaving the base %SYS mapping intact); the returned 'name' echoes the full mapped node (e.g. %SYS("HealthShare")). Creating a BASE mapping (no subscript) for a %-prefixed system global is refused unless force=true, since it shadows the global's system default. Modification is done by delete + create.

输入参数name必填type必填forceaction必填serverdatabasecollationnamespace必填subscriptlockDatabase

iris_mapping_list

List Namespace Mappings

List all global, routine, or package mappings for a given namespace. Returns mapping name, type, namespace, database, and type-specific properties.

输入参数type必填cursorservernamespace必填

iris_user_manage

Manage User

Create, modify, or delete an IRIS user account. For 'create', name and password are required. For 'modify', only provided fields are updated. For 'delete', only the name is needed. Passwords are never returned in responses.

输入参数name必填rolesaction必填servercommentenabledroutinefullNamepasswordnamespaceexpirationDatechangePasswordOnNextLogin

iris_user_get

Get User

Get an IRIS user account by name, or list all users when name is omitted. Returns user properties including roles, namespace, and enabled status. Passwords are never included in the response.

输入参数namecursorserver

iris_user_roles

Manage User Roles

Add or remove a role from an IRIS user account. Returns the updated role list after the operation.

输入参数role必填action必填serverusername必填

iris_user_password

Manage User Password

Change a user's password or validate a candidate password against IRIS password rules. For 'change', username and password are required. Optional changePasswordOnNextLogin boolean forces the user to change their password at next login (sets the ChangePassword flag alongside the new password in the same Security.Users.Modify() call). For 'validate', only password is needed; the response includes the active password policy (policy.minLength and policy.pattern) so callers can see what rules are being enforced. Passwords are never included in responses.

输入参数action必填serverpassword必填usernamechangePasswordOnNextLogin

iris_role_manage

Manage Role

Create, modify, or delete an IRIS security role. For 'create', name is required. For 'modify', only provided fields are updated. For 'delete', only the name is needed. Resources are specified as comma-separated resource:permission pairs (e.g., 'MyDB:RW,MyApp:U').

输入参数name必填action必填serverresourcesdescriptiongrantedRoles

iris_role_list

List Roles

List all IRIS security roles with their description, resources, and granted roles.

输入参数cursorserver

iris_resource_manage

Manage Resource

Create, modify, or delete an IRIS security resource. For 'create', name is required. For 'modify', only provided fields are updated. For 'delete', only the name is needed. ALSO manages fine-grained SQL object privileges (additive, Story 15.5): 'grant'/'revoke' a SQL privilege at schema, table, or column level, and 'listPrivileges' to list the current grants for a user or role. For the SQL-privilege actions supply 'grantee' (a SQL user or role); grant/revoke also take 'target' (a schema, 'schema.table', or 'schema.table(col1,col2)' for column level) and 'privilege' (one or more of SELECT,INSERT,UPDATE,DELETE,REFERENCES - comma-delimited, or '*' for all). listPrivileges takes a 'target' of the form 'schema.table' (a column-level listing) or no target (an object-level listing); a bare schema name or a 'schema.' / '.table' fragment is rejected with a validation message. listPrivileges also takes 'system' (default false): true includes system tables, which lists far more rows. SQL privileges are namespace-scoped - pass 'namespace' to target a non-default namespace. The grant/revoke actions are opt-in under tool governance and disabled by default until enabled via IRIS_GOVERNANCE; listPrivileges is a read and enabled by default. 'listPrivileges' accepts 'maxRows' (default 100, max 1000 — values above 1000 are clamped) and 'cursor'. 'maxRows' bounds OUTPUT only: the server stops pumping its result cursor at the cap, so rows past it are never materialized, but the underlying privilege computation is NOT reduced — this is not timeout protection. A capped response carries 'rowsCapped: true'. Pagination is opt-in: pass 'maxRows' or 'cursor' and the response is paged 50 rows at a time within the 'maxRows' ceiling (resend the SAME 'maxRows' with each 'cursor', since every page re-runs the query); pass neither and you get every row the server returned, unpaged. The cursor cannot cross the 'maxRows' ceiling, and 'maxRows' itself is capped at 1000, so a grantee with more than 1000

输入参数nameaction必填cursorserversystemtargetgranteemaxRowsnamespaceprivilegedescriptionpublicPermission

iris_resource_list

List Resources

List all IRIS security resources with their description, public permission, and type.

输入参数cursorserver

iris_permission_check

Check Permission

Check whether an IRIS user or role has a specific permission on a resource. Returns whether the permission is granted and the actual granted permission level. The target is auto-detected as a user or role based on what exists in the system.

输入参数servertarget必填resource必填permission必填

iris_webapp_manage

Manage Web Application

Create, modify, or delete an IRIS CSP/REST web application. For 'create', name is required (must start with '/'). For 'modify', only provided fields are updated. For 'delete', only the name is needed. NOTE: Creating a web app does NOT notify the CSP gateway — save through the Management Portal or restart the CSP gateway to activate.

输入参数name必填action必填serverenabledrecurseresourcenamespacecookiePathmatchRolesauthEnableddescriptioncspZenEnabled另有 2 个

iris_webapp_get

Get Web Application

Look up a single IRIS CSP/REST web application by its EXACT name. This is an exact-match lookup, NOT a pattern search — the `name` argument must be the literal registered path. Do NOT append '*' or '/*' to 'expand' a prefix — those characters are matched literally and will return `{exists: false}`. To enumerate webapps under a prefix or in a namespace, use `iris_webapp_list` (optionally with its `namespace` filter) and scan the results. Uses POST to avoid URL-encoding issues with forward slashes in application paths, so it works identically for /csp/, /api/, /isc/, and any other prefix at arbitrary path depth. Returns all web application properties including namespace, dispatch class, authentication settings, and enabled status. When the webapp does not exist, returns `{exists: false, name}` with HTTP 200 (not an error), so callers can distinguish a missing webapp from a real failure. When the webapp exists, the response includes `exists: true` alongside all other properties.

输入参数name必填server

iris_webapp_list

List Web Applications

List all IRIS CSP/REST web applications. Optionally filter by namespace. Returns web application name, namespace, dispatch class, enabled status, and other configuration properties.

输入参数cursorservernamespace

iris_ssl_manage

Manage SSL/TLS Configuration

Create, modify, or delete an IRIS SSL/TLS configuration. For 'create', name is required. For 'modify', only provided fields are updated. For 'delete', only the name is needed.

输入参数name必填typeaction必填caFilecaPathserverenabledkeyFilecertFilecipherListverifyPeerdescription另有 3 个

iris_ssl_list

List SSL/TLS Configurations

List all IRIS SSL/TLS configurations. Returns configuration name, description, certificate paths, TLS min/max version bits (tlsMinVersion, tlsMaxVersion; 4=TLS1.0, 8=TLS1.1, 16=TLS1.2, 32=TLS1.3), verification settings, type (client/server), and enabled status.

输入参数cursorserver

iris_oauth_manage

Manage OAuth2 Configuration

Create or delete OAuth2 server definitions and client registrations, or perform OpenID Connect discovery from an issuer URL. For 'create' and 'delete', entity ('server' or 'client') is required. For 'discover', issuerURL is required and 'sslConfiguration' (the name of an IRIS SSL/TLS client configuration — inspect with iris_ssl_list, create with iris_ssl_manage) is REQUIRED for https issuers; discover SAVES a server definition keyed by the exact issuer URL. Client registration (create + entity 'client') requires a PRIOR successful discover for the issuer: serverName is the exact issuer URL of that discovered server definition. A failed remote registration (e.g. the issuer publishes no dynamic registration endpoint) leaves the local client record saved. Client secrets are never returned in responses.

输入参数nameaction必填entityserverissuerURLclientNameclientTypegrantTypesserverNamedescriptionredirectURIssupportedScopes另有 7 个

iris_oauth_list

List OAuth2 Configurations

List all IRIS OAuth2 server definitions and registered client applications. Returns server definitions (issuer endpoint, scopes, token lifetimes, signing algorithm) and client registrations (application name, server, client ID, client type, redirect URL). Client secrets are never included in the response.

输入参数cursorserver

iris_service_manage

Manage IRIS Service

List, inspect, and toggle IRIS services and their authentication settings (backed by Security.Services in %SYS). Actions: 'list' (all services), 'get' (one service's properties — requires name), 'enable'/'disable' (toggle a service on/off — requires name), 'set' (update auth settings via the 'settings' object — requires name). Use this to harden an instance, e.g. disable %Service_Telnet. The mutating actions (enable/disable/set) are opt-in under tool governance and are disabled by default until enabled via IRIS_GOVERNANCE. Settings fields: 'enabled' (boolean), 'autheEnabled' (integer auth-method bitmask), 'description', 'clientSystems' (allowed IP list). Service names start with '%Service_' (e.g. %Service_SQL, %Service_CallIn, %Service_Telnet).

输入参数nameaction必填cursorserversettingsnamespace

iris_ldap_manage

Manage IRIS LDAP Configuration

List, inspect, create, modify, delete, and validity-test IRIS LDAP configurations for delegated authentication (backed by Security.LDAPConfigs in %SYS). Actions: 'list' (all configs), 'get' (one config's properties — requires name), 'test' (non-mutating validity check: config exists, required fields present, host syntactically valid — requires name), 'create'/'modify' (requires name + settings), 'delete' (requires name). The mutating actions (create/modify/delete) are opt-in under tool governance and are disabled by default until enabled via IRIS_GOVERNANCE. NOTE: IRIS exposes no high-level LDAP connection-test API, so 'test' is a config-validity check, NOT a live bind to the LDAP server. The bind search password (LDAPSearchPassword) is NEVER returned in any response — it is redacted. Settings fields (for create/modify): 'description', 'ldapBaseDN' (required for create), 'ldapBaseDNForGroups' (required for create), 'ldapHostNames' (space-separated host[:port] list), 'ldapSearchUsername', 'ldapSearchPassword' (write-only), 'ldapClientTimeout', 'ldapServerTimeout', 'ldapUniqueDNIdentifier', 'ldapFlags' (bitmask: bit0 ActiveDirectory, bit1 SSL/TLS, bit3 UseGroups, bit6 enabled, bit7 KerberosOnly), 'ldapCACertFile'.

输入参数nameaction必填cursorserversettingsnamespace

iris_x509_manage

Manage IRIS X.509 Certificate Credentials

List, inspect, import, and delete IRIS X.509 certificate credentials (backed by %SYS.X509Credentials in %SYS). Actions: 'list' (all credentials' public metadata), 'get' (one credential's public metadata — requires alias), 'import' (create a credential from a base64-encoded certificate — requires alias + certificate), 'delete' (remove a credential — requires alias). The mutating actions (import/delete) are opt-in under tool governance and are disabled by default until enabled via IRIS_GOVERNANCE. SECURITY: private-key material (PrivateKey, PrivateKeyPassword) is NEVER returned by 'list' or 'get' — only the alias, a hasPrivateKey boolean, and safe public certificate fields (subjectDN, issuerDN, serialNumber, thumbprint, subjectKeyIdentifier, notBefore, notAfter). Import mechanism: the 'certificate' field is a base64-encoded X.509 certificate (DER, or a PEM body); an OPTIONAL 'privateKey' (base64-encoded PEM) and 'privateKeyPassword' may be supplied write-only (accepted on import, NEVER echoed back). The native file-based Import API is not exposed; credentials are created via object-create + Save.

输入参数aliasaction必填cursorservernamespaceprivateKeycertificateprivateKeyPassword

iris_audit_manage

Manage IRIS Auditing & Audit Log

Configure IRIS instance auditing and manage the audit log (backed by Security.System / Security.Events + %SYS.Audit in %SYS). Actions: 'status' (instance auditing on/off + per-event-type summary), 'view' (recent audit-log records with filters: begin/end datetime, user, event, source, type, maxRows), 'enable'/'disable' (turn instance auditing on/off), 'configureEvent' (enable/disable one audit event — requires source+type+name+enabled), 'purge' (delete a BOUNDED range of audit-log records — DESTRUCTIVE; requires confirm:true AND at least one bound), 'export' (write matching audit-log records to a server-side file — requires fileName, a bare name with no path separators). The mutating actions (enable/disable/configureEvent/purge/export) are opt-in under tool governance and are disabled by default until enabled via IRIS_GOVERNANCE; status/view are reads and enabled by default. COMPLEMENTS the read-only iris_audit_events tool (a thin audit-log reader): 'view' here is the same log read with richer filters, plus this tool adds audit configuration and log lifecycle management. HUMAN CONFIRMATION: when the MCP client supports form elicitation, 'purge' also asks the person in a confirmation dialog, after every check above and right before any record is deleted; only an accept with Confirm ticked proceeds, and a decline or a dismissal returns CONFIRMATION_DECLINED with nothing changed (do not repeat the call unless the person asks). A client without elicitation is not asked, and the call works as described above.

输入参数endnametypeuserbegineventaction必填cursorserversourceconfirmenabled另有 3 个

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.

输入参数serverprofileallProfiles

版本历史

1
  1. v1.1.0最新Nov 22, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分