Mainframe MCP Server
MCP server for IBM z/OS jobs, datasets, USS, and operational diagnostics via Zowe SDK.
Connector by NotHarshhaa · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/notharshhaa-mainframe-mcp-server
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 42 read · 5 write · 0 delete · 8 not yet classified
- Secrets
- 3 (API keys, tokens or passwords)
- Install scripts
- Not scanned yet
- Runs as
- Node.js package
Tools by what they do 55
Read from the source code; the running server may list different tools.
Read 42 · Look things up without changing anything.
analyze_job_failureanalyze_root_causecompare_jobsestimate_mlc_costfind_failed_jobsget_cics_region_statsget_cics_region_statusget_console_messagesget_dataset_infoget_hsm_activityget_job_capacityget_job_jcl
Show 30 more tools
get_job_outputget_job_statusget_smf_metricsget_user_jobs_summaryget_volume_spaceget_wlm_statusjob_dependencieslist_cics_regionslist_cics_transactionslist_datasetslist_db2_subsystemslist_environmentslist_jobslist_uss_directorylookup_abend_codemq_channel_statusmq_queue_statusquery_racf_auditread_datasetread_uss_filescheduler_job_statussearch_datasetsearch_db2_catalogsearch_memberssearch_uss_filessummarize_abendssummarize_dumpsystem_health_summaryverify_zosmf_connectionwhoami
Write 5 · Create, change, send or run things.
approve_writecancel_jobcics_disable_transactionrelease_jobsubmit_jcl
Not yet classified 8 · We could not tell from the name and description.
analyze_logreccics_newcopyhold_jobims_commandinvestigate_incidentissue_console_commandpredict_batch_failuressecurity_posture_summary
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
ZOSMF_PASSWORDZOSMF_TOKENZOSMF_TOKEN_TYPE
Other settings (environment variables or headers).
CMCI_BASE_PATHCMCI_CONTEXTCMCI_HOSTCMCI_PORTDB2_BASE_PATHDB2_HOSTDB2_LOCATIONDB2_PORTLOG_LEVELMAX_AUDIT_LINESMAX_DATASET_READ_LINESMAX_JES_SPOOL_FILES
Show 19 more settings
MAX_JOB_OUTPUT_LINESMCP_SSE_PORTMCP_TRANSPORTRACF_AUDIT_DATASETRACF_AUDIT_USS_PATHRMF_METRICS_ENABLEDSECURITY_ALLOWED_DATASET_PATTERNSSECURITY_ALLOWED_TOOLSSECURITY_ALLOWED_USS_PATHSSECURITY_AUDIT_LOGGINGSECURITY_BLOCKED_TOOLSSECURITY_MAX_JCL_BYTESSECURITY_READ_ONLYSMF_SUMMARY_DATASETZOSMF_BASE_PATHZOSMF_HOSTZOSMF_PORTZOSMF_REJECT_UNAUTHORIZEDZOSMF_USER
Tools (55)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
analyze_job_failureAnalyze a failed job: identify the abend code, failing/cancelled step, program, and a suggested fix. Produces a rich 3-section report.
analyze_logrecSubmit an EREP (IFCEREP) report job against the LOGREC dataset, wait for completion, and summarize hardware/software error records (gated write: submits a batch job).
analyze_root_causeDeep AI-assisted root-cause analysis: full failure details, abend reference, similar-incident correlation, correlated abends, health score, and prioritized action items.
approve_writeApprove and execute a pending JCL submission (human-in-the-loop). Requires the one-time token from submit_jcl; active only when SECURITY_WRITE_APPROVAL=true.
cancel_jobCancel a running or queued job via the z/OSMF jobs API (gated write).
cics_disable_transactionDisable a CICS local transaction via a CMCI SET action (ENABLESTATUS=DISABLED) — gated write. New work is refused; in-flight tasks finish.
cics_newcopyNEWCOPY a CICS program (phased-in fresh copy) via a CMCI resource action — gated write. Requires CMCI with actions enabled (CICS TS 5.6+).
compare_jobsCompare status, return code, and failure indicators for two jobs side by side.
estimate_mlc_costEstimate MLC cost attribution from CPU seconds or MSU consumption. Pricing assumptions come from CAPACITY_MSU_RATING and MLC_MSU_MONTHLY_PRICE.
find_failed_jobsFind all failed jobs within a recent time window and summarize their abend/step.
get_cics_region_statsStatistics and attributes of a CICS region from the CMCI CICSRegion resource (uptime, task counts, and other region-level fields your CMCI release provides).
get_cics_region_statusGet the current status, version, and attributes of a CICS region via CMCI.
get_console_messagesRead the operations-log tail: recent unsolicited console messages (SYSLOG-style feed) from an extended MCS console.
get_dataset_infoGet catalog attributes (DSORG, type, RECFM, LRECL, BLKSIZE, volume) for a dataset without reading its content. Optionally includes member summary for PDS/PDSE.
get_hsm_activityRecent DFSMShsm activity (recalls, migrations, backups) filtered from the operations-log tail.
Show 40 more tools
get_job_capacityCPU consumption of a job — per step and total from JESMSGLG (IEF374I/IEF376I), with an MSU estimate when CAPACITY_MSU_RATING is configured.
get_job_jclRetrieve the JCL that was submitted for a job (from JESJCLIN / JESJCL / JCL spool DDs). Supports custom line limit.
get_job_outputRetrieve spool output for a job. Lists spool files (with optional step filter), or returns one DD content (with optional text grep and line cap).
get_job_statusGet the current status, return code, and failure indicator for a specific job. Optionally includes spool file inventory.
get_smf_metricsRetrieve SMF/RMF performance metrics from z/OSMF RMF and/or a configured SMF summary dataset. Supports category filtering.
get_user_jobs_summarySummarize job counts by status for a specific owner (active, queued, failed, completed).
get_volume_spaceDASD volume space inventory via z/OSMF Storage Management Interface. Flags volumes below the free-space threshold (STORAGE_FREE_THRESHOLD, default 10%).
get_wlm_statusDisplay Workload Manager state via an MVS "D WLM" console command (gated write: a console command is issued).
hold_jobHold a batch job via the JES2 "$HJ" command (gated write). The job stops at the next step boundary.
ims_commandIssue an IMS command through the z/OS system console (gated write). Commands are prefixed with "/", e.g. "/DIS ACTIVE", "/DIS TRAN TRAN1", "/DIS PROG PGM1".
investigate_incidentAssemble a full incident bundle for a job: status, root-cause analysis (with abend reference), complete spool inventory, and diagnostic excerpts from all relevant DDs.
issue_console_commandIssue an MVS system/operator command through an extended MCS console (gated write). Examples: "D A,L", "D GRS,RES=(*,SYS1.PROCLIB)", "D WLM".
job_dependenciesAnalyze a job's JCL for batch dependencies: dataset inputs, outputs, updates per step, and PROCs invoked — the basis for predecessor/successor analysis.
list_cics_regionsList CICS regions in a CMCI context. Supports status filter and result capping.
list_cics_transactionsList CICS transaction definitions installed in a region via CMCI. Supports prefix/status filters and result capping.
list_datasetsList catalog datasets matching a high-level qualifier (and optional pattern). Supports filtering by DSORG and capping result count.
list_db2_subsystemsList Db2 subsystems (locations) available via Db2 REST (requires DB2_LOCATION).
list_environmentsList the named z/OS environments this server can reach (DEV/TEST/UAT/PROD, LPARs), with read-only and role policy per environment.
list_jobsList z/OS batch jobs filtered by owner, name prefix, status, or return code. Supports result capping.
list_uss_directoryList the contents of a USS (Unix System Services) directory. Supports type filter, sort order, and result capping.
lookup_abend_codeLook up z/OS abend codes (S0C7, S806, S0C4, S322, S0CB, U4038, etc.) with explanations, common causes, and remediation steps. Supports catalog search and category filter.
mq_channel_statusChannel status (RUNNING/RETRYING/STOPPED, connection counts) for a queue manager via MQ REST. Omit the channel name to list all.
mq_queue_statusCurrent depth of MQ queues (curdepth vs maxdepth, percent full) via MQ REST. Comma-separated names query several queues at once.
predict_batch_failuresPredict batch failure risk by scoring job names with recurring failures using a recency-weighted algorithm. Returns risk levels (LOW/MEDIUM/HIGH/CRITICAL), failure trends, and top abend codes.
query_racf_auditQuery RACF security audit records from a configured USS path or dataset. Supports user, resource, event, result, class, and time-window filters.
read_datasetRead the content of a sequential dataset or a PDS member (output is line-capped). Supports custom line limits and EBCDIC encoding hints.
read_uss_fileRead the contents of a USS file. Supports custom line limits and text grep filtering.
release_jobRelease a held batch job via the JES2 "$OJ" command (gated write).
scheduler_job_statusQuery an external batch scheduler (Control-M, CA 7, IBM Workload Automation) for job status via its REST API. Schedulers are configured with SCHEDULER_ADAPTERS.
search_datasetSearch the catalog for datasets matching a wildcard pattern. Supports DSORG filter and result capping.
search_db2_catalogSearch the Db2 catalog for tables, views, or aliases matching a name pattern. Includes row count, creation date, and remarks.
search_membersSearch for members in a PDS, optionally filtered by wildcard pattern. Supports extended stats, result capping, and sorting.
search_uss_filesSearch for files/directories in a USS directory matching a wildcard name pattern. Supports type filter, sort, and result capping.
security_posture_summaryReport the server security posture: terms acknowledgement, read-only mode, tool allowlists, TLS, audit logging, resource boundaries, and tiered security recommendations.
submit_jclSubmit inline JCL to JES for execution. Governed: pre-flight scan, change ticket, change window, optional dry-run and human approval (SECURITY_* settings).
summarize_abendsAggregate abend codes across recent failed jobs, with counts and a short description.
summarize_dumpSummarize an abend dump (CEEDUMP, SYSMDUMP, SYSUDUMP): completion codes, failing module/offset, LE conditions, and section inventory — from spool DD or dataset.
system_health_summaryProduce a high-level operational health snapshot: overall status (HEALTHY/DEGRADED/CRITICAL), active and queued jobs, recent failure count, top abend codes with descriptions, and per-owner failure breakdown.
verify_zosmf_connectionVerify z/OSMF connectivity, authentication, and basic API availability.
whoamiShow the acting identity for this session: user, mapped role, permissions summary, active environment, and data-protection status.
Signals
- Weekly downloads
- 33
- Last release
- Oct 25, 2026 (4 days ago)
- Last package publish
- Jun 8, 2026 (4 months ago)
- Repository
- Not found on GitHub (deleted or private)
From the package registry.
Details
- Registry name
io.github.NotHarshhaa/mainframe-mcp-server- Version
- 3.0.0
- Auth
- API key
- Packages
- npm @notharshhaa/mainframe-mcp-server
- License
- License unknown
- First seen
- Oct 24, 2026
- Last checked
- Oct 26, 2026
- Source
- Official MCP Registry
More from NotHarshhaa
Cite this page
Mainframe MCP Server. Agent Mart. https://agentmart.dev/connectors/notharshhaa-mainframe-mcp-server (last updated 2026-10-26)