All tools are registered at server startup. Each tool delegates to the same backend paths as the web UI. AtomIQ MCP mirrors the application's workspace, app, operation, resource, import, routing, map, screen-flow, and task actions, and adds graph navigation tools.
Tool reference
Workspaces
| Tool | Description |
list-workspaces | List every workspace on the server; marks the selected one and those of the other platform. |
current-workspace | Show the selected workspace. |
select-workspace | Select or switch workspace by id or name, without signing in again. Required: workspace. |
create-workspace | Create a workspace for the sign-in's platform and select it. Required: name; optional workspaceId, description. A workspace whose copied host rejects your credentials is created but not selected. |
Graph navigation
| Tool | Description |
graph-stats | Counts of resources, operations, and connections by type, and the apps (communities) by size with the #index get-community takes. |
god-nodes | The most connected nodes. Optional topN, types, relations, excludeRelations (default COPY). |
query-graph | Search by keywords or a name and return the matches' neighbourhood. Required: question; optional mode (bfs/dfs), depth (1-6), tokenBudget, relations, excludeRelations (default COPY). |
get-node | Everything about one node: type, app, source, flags, edge counts per relation, operations starting at it. Required: node (id, label, resource or operation name). |
get-neighbors | A node's direct dependencies and dependants, with source lines. Required: node; optional direction (both/callees/callers), relations, excludeRelations, includeSkipped. |
get-community | The resources of one app, most connected first, and its edges to other apps. Required: community (#index, app id or name). |
shortest-path | Shortest dependency path between two nodes, for example from an operation to a table. Required: source, target; optional maxHops, undirected, relations, excludeRelations. |
Apps
| Tool | Description |
query-workspace-app-data | Load the full workspace graph: apps, resources, connections, enrichments. Same as GET /api/app-data. |
list-apps | List apps in a workspace (summary from app-data). |
create-app | Create an app. Required: newAppName. Optional type, icon, category, usage, OL bridge settings. |
delete-app | Delete an app by appId. Optional appNames for grouped delete. |
create-decoupled-domain | Create empty decoupled domain slices (LOGIC / DB / FILES / BATCH). Required: baseName. |
decouple-domain | Decouple selected resources into a new app. Required: newAppName plus resource refs. |
Domains
| Tool | Description |
list-domains | List user-facing domains derived from the app graph (grouped by parentAppId). |
create-domain | Alias for create-decoupled-domain: create empty domain app slices. |
suggest-domains | Suggest domain candidates from saved operation groupings. |
show-domain-suggestion | Show one suggested domain by suggestionId or suggestedName. |
apply-domain | Apply one domain action: decouple from an operation root or move resources to a target app. |
apply-domains | Batch apply multiple domain actions (domains JSON array). |
Operations
| Tool | Description |
list-operations | List saved operations (id, name, root resource, root app). |
identify-operations | Suggest new operation roots. Mode: heuristic (default) or ai. |
show-operation | Full operation export: metadata, tree, resources, enrichments, map previews. |
show-operation-tree | Build the operation view tree from a root resourceId (before saving). |
apply-operation | Save one operation. Required: name, rootResourceId, rootAppId. |
apply-operations | Save multiple operations; or auto-identify and apply all suggestions. |
delete-operation | Delete by operationId or exact operationName. |
export-operations | Export selected operations (same as Export in Manage Operations). Optional: operationIds, includes, excludeSource. |
get-operation-documentation | Return saved operation documentation markdown. |
suggest-operations | Suggest groupings for saved operations (uses AI when configured). |
suggest-operation-groups | Capability alias for suggest-operations. |
move-operation | Reassign the operation root app (operationId, rootAppId). |
Resources
| Tool | Description |
search-resources | Search by name, one-liner, searchText. Supports glob and regex; filter by type, app, domain. |
move-resources | Move resources to targetAppId (by refs or resource names). |
reassociate-resources | Reassociate resources to another app (same as the UI reassociate action). |
Connections and routing
| Tool | Description |
list-resolvable-connection-dependencies | List unrouted dependencies for enabled app pairs. Required: enabledAppPairs JSON array. |
approve-connection | Approve a pending connection (dependency JSON object). |
skip-connection | Skip a connection dependency. |
register-program-dependencies | Register routes to AtomIQ Gateway (dependencies JSON array). |
Source import (mainframe and files)
| Tool | Description |
list-datasets | List datasets by HLQ filter (RSE or JZOS per workspace settings). Required: filter. |
list-dataset-members | List PDS members. Required: pdsName. |
import-source | Import dataset members into workspace analysis. Required: items JSON array. |
import-cics-transactions | Import CICS transactions through CMCI (requires CMCI URL and credentials in settings). |
upload-source-files | Upload mainframe (COBOL, copybook, JCL, BMS, MFS) or IBM i (RPG, DDS) source, or a .zip archive. See Import Assets for the extensions. Required: workspaceId. |
BMS maps
| Tool | Description |
show-map | Screen-linked map preview (JSON, flat text, or both). Provide screenResourceId and/or mapResourceId. |
list-screen-maps | List all maps linked from a screen resource. |
Screen flow (UI flow and Hub upload)
| Tool | Description |
analyze-ui-flow | Analyze a saved UI_FLOW operation into states and F-key transitions (deterministic first; optional AI enrichment). Persists flowAnalysis. |
suggest-successful-ui-flow | Suggest an ordered successful path over parser-validated transitions. Optional customGuidance. Requires AI. Persists successfulFlow. |
upload-successful-flow-to-hub | Upload trail, screen assets, typed Hub method, and method flow to an OL Hub project. Required: operationId, projectId. |
Workspace analysis
| Tool | Description |
find-dead-code | Run dead-code analysis (reachability from seed=1 resources). |
list-dead-code-resources | Flat list of resources flagged as dead-code candidates. |
list-missing-resources | List PROGRAM/SCREEN resources with missing source and their referrers. |
Workspace tasks
| Tool | Description |
list-workspace-tasks | List tasks for a workspace. Required: workspaceId. |
add-workspace-task | Add a task (task JSON object with required title). |
update-workspace-task | Partial update by taskId. |
delete-workspace-task | Remove a task by taskId. |
Graph navigation
The graph tools let an assistant walk the selected workspace's dependency graph cheaply, the way the open-source Graphify tools do for code. The nodes are the resources the App Viewer shows plus the saved operations, the edges are the dependencies found in the source (calls, copybooks, maps, files, SQL tables, JCL), and the communities are the apps. An operation links to its root resource with an ENTRY edge, so a path can start at an operation. That link is followed even when relations lists only other types. Answers are compact NODE / EDGE lines kept within a token budget, and a [!] TRUNCATED header says when something was cut.
- Copybooks: nearly every program copies the same few copybooks, so COPY edges are left out of
query-graph, god-nodes, and undirected shortest-path unless you pass excludeRelations="". get-neighbors lists them.
- Names: a BMS map and its screen can share a name. The tools give each node a unique label (for example
COACTUP.bms) and ask you to choose when a name matches several. An operation named like its program is operation:NAME.
- Skipped connections are not walked unless
includeSkipped=true.
A sample walk on a copy of the insurance demo, after apply-operations identified its batch jobs (answers shortened; counts and names depend on your workspace):
graph-stats
Workspace graph: 140 resources, 9 operations, 654 connections ... 4 communities (apps).
god-nodes types=PROGRAM topN=3
1. AINSIDGN [... type=PROGRAM app=My Mainframe (LOGIC)] degree 29 (in 14, out 15)
query-graph question="billing" depth=2
Matches: DEMOUSR.AINS.AIBILL.KSDS, AINSLDBL - bfs depth 2, excluding COPY
NODE AINSLDBL [... type=PROGRAM ...] - Batch processes aibill-file records
NODE AINSBILV [... type=JOB app=My Mainframe (BATCH)]
get-node node=AINSBILV
operations starting here: operation:AINSBILV [... JOB]
shortest-path source=operation:AINSBILV target=DEMOUSR.AINS.AIBILL.KSDS
1. operation:AINSBILV --ENTRY--> AINSBILV
2. AINSBILV --JCL_FILE_IDCAMS_DEFINE_CLUSTER--> DEMOUSR.AINS.AIBILL.KSDS (line 28: DEFINE CLUSTER ...)
get-neighbors node=AINSIDGN direction=callers
<--PROGRAM-- AINSAPL1 [... type=PROGRAM ...] (line 588: CALL 'AINSIDGN' USING ...)
Typical agent workflows
- Choose a workspace:
current-workspace, then list-workspaces and select-workspace, or create-workspace
- Discover and explore:
query-workspace-app-data, search-resources, show-operation / show-map
- Map the estate:
graph-stats, god-nodes, query-graph, then get-neighbors or shortest-path
- Import mainframe assets:
list-datasets, list-dataset-members, import-source or import-cics-transactions, then query-workspace-app-data. upload-source-files accepts .mfs with COBOL.
- Decompose into domains:
identify-operations, apply-operations, suggest-domains, apply-domain
- Export:
export-operations (same as Export in Manage Operations)
- Screen flow to Hub method:
analyze-ui-flow, suggest-successful-ui-flow, upload-successful-flow-to-hub (CICS + BMS)
- Route dependencies:
list-resolvable-connection-dependencies, then register-program-dependencies or approve-connection (an approved dependency is resolved, not registered)
- Quality checks:
find-dead-code, list-dead-code-resources, list-missing-resources
- Track modernization work:
add-workspace-task, update-workspace-task (link tasks to connectId / appId)