Book a demo

← Documentation

MCP Tools and Agent Workflows

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

ToolDescription
list-workspacesList every workspace on the server; marks the selected one and those of the other platform.
current-workspaceShow the selected workspace.
select-workspaceSelect or switch workspace by id or name, without signing in again. Required: workspace.
create-workspaceCreate 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

ToolDescription
graph-statsCounts of resources, operations, and connections by type, and the apps (communities) by size with the #index get-community takes.
god-nodesThe most connected nodes. Optional topN, types, relations, excludeRelations (default COPY).
query-graphSearch 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-nodeEverything about one node: type, app, source, flags, edge counts per relation, operations starting at it. Required: node (id, label, resource or operation name).
get-neighborsA node's direct dependencies and dependants, with source lines. Required: node; optional direction (both/callees/callers), relations, excludeRelations, includeSkipped.
get-communityThe resources of one app, most connected first, and its edges to other apps. Required: community (#index, app id or name).
shortest-pathShortest dependency path between two nodes, for example from an operation to a table. Required: source, target; optional maxHops, undirected, relations, excludeRelations.

Apps

ToolDescription
query-workspace-app-dataLoad the full workspace graph: apps, resources, connections, enrichments. Same as GET /api/app-data.
list-appsList apps in a workspace (summary from app-data).
create-appCreate an app. Required: newAppName. Optional type, icon, category, usage, OL bridge settings.
delete-appDelete an app by appId. Optional appNames for grouped delete.
create-decoupled-domainCreate empty decoupled domain slices (LOGIC / DB / FILES / BATCH). Required: baseName.
decouple-domainDecouple selected resources into a new app. Required: newAppName plus resource refs.

Domains

ToolDescription
list-domainsList user-facing domains derived from the app graph (grouped by parentAppId).
create-domainAlias for create-decoupled-domain: create empty domain app slices.
suggest-domainsSuggest domain candidates from saved operation groupings.
show-domain-suggestionShow one suggested domain by suggestionId or suggestedName.
apply-domainApply one domain action: decouple from an operation root or move resources to a target app.
apply-domainsBatch apply multiple domain actions (domains JSON array).

Operations

ToolDescription
list-operationsList saved operations (id, name, root resource, root app).
identify-operationsSuggest new operation roots. Mode: heuristic (default) or ai.
show-operationFull operation export: metadata, tree, resources, enrichments, map previews.
show-operation-treeBuild the operation view tree from a root resourceId (before saving).
apply-operationSave one operation. Required: name, rootResourceId, rootAppId.
apply-operationsSave multiple operations; or auto-identify and apply all suggestions.
delete-operationDelete by operationId or exact operationName.
export-operationsExport selected operations (same as Export in Manage Operations). Optional: operationIds, includes, excludeSource.
get-operation-documentationReturn saved operation documentation markdown.
suggest-operationsSuggest groupings for saved operations (uses AI when configured).
suggest-operation-groupsCapability alias for suggest-operations.
move-operationReassign the operation root app (operationId, rootAppId).

Resources

ToolDescription
search-resourcesSearch by name, one-liner, searchText. Supports glob and regex; filter by type, app, domain.
move-resourcesMove resources to targetAppId (by refs or resource names).
reassociate-resourcesReassociate resources to another app (same as the UI reassociate action).

Connections and routing

ToolDescription
list-resolvable-connection-dependenciesList unrouted dependencies for enabled app pairs. Required: enabledAppPairs JSON array.
approve-connectionApprove a pending connection (dependency JSON object).
skip-connectionSkip a connection dependency.
register-program-dependenciesRegister routes to AtomIQ Gateway (dependencies JSON array).

Source import (mainframe and files)

ToolDescription
list-datasetsList datasets by HLQ filter (RSE or JZOS per workspace settings). Required: filter.
list-dataset-membersList PDS members. Required: pdsName.
import-sourceImport dataset members into workspace analysis. Required: items JSON array.
import-cics-transactionsImport CICS transactions through CMCI (requires CMCI URL and credentials in settings).
upload-source-filesUpload 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

ToolDescription
show-mapScreen-linked map preview (JSON, flat text, or both). Provide screenResourceId and/or mapResourceId.
list-screen-mapsList all maps linked from a screen resource.

Screen flow (UI flow and Hub upload)

ToolDescription
analyze-ui-flowAnalyze a saved UI_FLOW operation into states and F-key transitions (deterministic first; optional AI enrichment). Persists flowAnalysis.
suggest-successful-ui-flowSuggest an ordered successful path over parser-validated transitions. Optional customGuidance. Requires AI. Persists successfulFlow.
upload-successful-flow-to-hubUpload trail, screen assets, typed Hub method, and method flow to an OL Hub project. Required: operationId, projectId.

Workspace analysis

ToolDescription
find-dead-codeRun dead-code analysis (reachability from seed=1 resources).
list-dead-code-resourcesFlat list of resources flagged as dead-code candidates.
list-missing-resourcesList PROGRAM/SCREEN resources with missing source and their referrers.

Workspace tasks

ToolDescription
list-workspace-tasksList tasks for a workspace. Required: workspaceId.
add-workspace-taskAdd a task (task JSON object with required title).
update-workspace-taskPartial update by taskId.
delete-workspace-taskRemove 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)

Full MCP tool reference, graph navigation, and agent workflows.

Read more

Tell us about yourself

You've been browsing the catalog. Leave your details to keep exploring.

Privacy policy