Skip to content
Agentmart
Submit a tool

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

IndexedLicense unknownLocal (stdio)
Write a review

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.

We use your email only for this newsletter. Privacy

About

MCP server for IBM z/OS jobs, datasets, USS, and operational diagnostics via Zowe SDK.

No 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_failure
  • analyze_root_cause
  • compare_jobs
  • estimate_mlc_cost
  • find_failed_jobs
  • get_cics_region_stats
  • get_cics_region_status
  • get_console_messages
  • get_dataset_info
  • get_hsm_activity
  • get_job_capacity
  • get_job_jcl
Show 30 more tools
  • get_job_output
  • get_job_status
  • get_smf_metrics
  • get_user_jobs_summary
  • get_volume_space
  • get_wlm_status
  • job_dependencies
  • list_cics_regions
  • list_cics_transactions
  • list_datasets
  • list_db2_subsystems
  • list_environments
  • list_jobs
  • list_uss_directory
  • lookup_abend_code
  • mq_channel_status
  • mq_queue_status
  • query_racf_audit
  • read_dataset
  • read_uss_file
  • scheduler_job_status
  • search_dataset
  • search_db2_catalog
  • search_members
  • search_uss_files
  • summarize_abends
  • summarize_dump
  • system_health_summary
  • verify_zosmf_connection
  • whoami

Write 5 · Create, change, send or run things.

  • approve_write
  • cancel_job
  • cics_disable_transaction
  • release_job
  • submit_jcl

Not yet classified 8 · We could not tell from the name and description.

  • analyze_logrec
  • cics_newcopy
  • hold_job
  • ims_command
  • investigate_incident
  • issue_console_command
  • predict_batch_failures
  • security_posture_summary

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • ZOSMF_PASSWORD
  • ZOSMF_TOKEN
  • ZOSMF_TOKEN_TYPE

Other settings (environment variables or headers).

  • CMCI_BASE_PATH
  • CMCI_CONTEXT
  • CMCI_HOST
  • CMCI_PORT
  • DB2_BASE_PATH
  • DB2_HOST
  • DB2_LOCATION
  • DB2_PORT
  • LOG_LEVEL
  • MAX_AUDIT_LINES
  • MAX_DATASET_READ_LINES
  • MAX_JES_SPOOL_FILES
Show 19 more settings
  • MAX_JOB_OUTPUT_LINES
  • MCP_SSE_PORT
  • MCP_TRANSPORT
  • RACF_AUDIT_DATASET
  • RACF_AUDIT_USS_PATH
  • RMF_METRICS_ENABLED
  • SECURITY_ALLOWED_DATASET_PATTERNS
  • SECURITY_ALLOWED_TOOLS
  • SECURITY_ALLOWED_USS_PATHS
  • SECURITY_AUDIT_LOGGING
  • SECURITY_BLOCKED_TOOLS
  • SECURITY_MAX_JCL_BYTES
  • SECURITY_READ_ONLY
  • SMF_SUMMARY_DATASET
  • ZOSMF_BASE_PATH
  • ZOSMF_HOST
  • ZOSMF_PORT
  • ZOSMF_REJECT_UNAUTHORIZED
  • ZOSMF_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_failure

    Analyze a failed job: identify the abend code, failing/cancelled step, program, and a suggested fix. Produces a rich 3-section report.

  • analyze_logrec

    Submit 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_cause

    Deep AI-assisted root-cause analysis: full failure details, abend reference, similar-incident correlation, correlated abends, health score, and prioritized action items.

  • approve_write

    Approve 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_job

    Cancel a running or queued job via the z/OSMF jobs API (gated write).

  • cics_disable_transaction

    Disable a CICS local transaction via a CMCI SET action (ENABLESTATUS=DISABLED) — gated write. New work is refused; in-flight tasks finish.

  • cics_newcopy

    NEWCOPY a CICS program (phased-in fresh copy) via a CMCI resource action — gated write. Requires CMCI with actions enabled (CICS TS 5.6+).

  • compare_jobs

    Compare status, return code, and failure indicators for two jobs side by side.

  • estimate_mlc_cost

    Estimate MLC cost attribution from CPU seconds or MSU consumption. Pricing assumptions come from CAPACITY_MSU_RATING and MLC_MSU_MONTHLY_PRICE.

  • find_failed_jobs

    Find all failed jobs within a recent time window and summarize their abend/step.

  • get_cics_region_stats

    Statistics 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_status

    Get the current status, version, and attributes of a CICS region via CMCI.

  • get_console_messages

    Read the operations-log tail: recent unsolicited console messages (SYSLOG-style feed) from an extended MCS console.

  • get_dataset_info

    Get catalog attributes (DSORG, type, RECFM, LRECL, BLKSIZE, volume) for a dataset without reading its content. Optionally includes member summary for PDS/PDSE.

  • get_hsm_activity

    Recent DFSMShsm activity (recalls, migrations, backups) filtered from the operations-log tail.

Show 40 more tools
  • get_job_capacity

    CPU consumption of a job — per step and total from JESMSGLG (IEF374I/IEF376I), with an MSU estimate when CAPACITY_MSU_RATING is configured.

  • get_job_jcl

    Retrieve the JCL that was submitted for a job (from JESJCLIN / JESJCL / JCL spool DDs). Supports custom line limit.

  • get_job_output

    Retrieve 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_status

    Get the current status, return code, and failure indicator for a specific job. Optionally includes spool file inventory.

  • get_smf_metrics

    Retrieve SMF/RMF performance metrics from z/OSMF RMF and/or a configured SMF summary dataset. Supports category filtering.

  • get_user_jobs_summary

    Summarize job counts by status for a specific owner (active, queued, failed, completed).

  • get_volume_space

    DASD volume space inventory via z/OSMF Storage Management Interface. Flags volumes below the free-space threshold (STORAGE_FREE_THRESHOLD, default 10%).

  • get_wlm_status

    Display Workload Manager state via an MVS "D WLM" console command (gated write: a console command is issued).

  • hold_job

    Hold a batch job via the JES2 "$HJ" command (gated write). The job stops at the next step boundary.

  • ims_command

    Issue 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_incident

    Assemble 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_command

    Issue an MVS system/operator command through an extended MCS console (gated write). Examples: "D A,L", "D GRS,RES=(*,SYS1.PROCLIB)", "D WLM".

  • job_dependencies

    Analyze a job's JCL for batch dependencies: dataset inputs, outputs, updates per step, and PROCs invoked — the basis for predecessor/successor analysis.

  • list_cics_regions

    List CICS regions in a CMCI context. Supports status filter and result capping.

  • list_cics_transactions

    List CICS transaction definitions installed in a region via CMCI. Supports prefix/status filters and result capping.

  • list_datasets

    List catalog datasets matching a high-level qualifier (and optional pattern). Supports filtering by DSORG and capping result count.

  • list_db2_subsystems

    List Db2 subsystems (locations) available via Db2 REST (requires DB2_LOCATION).

  • list_environments

    List the named z/OS environments this server can reach (DEV/TEST/UAT/PROD, LPARs), with read-only and role policy per environment.

  • list_jobs

    List z/OS batch jobs filtered by owner, name prefix, status, or return code. Supports result capping.

  • list_uss_directory

    List the contents of a USS (Unix System Services) directory. Supports type filter, sort order, and result capping.

  • lookup_abend_code

    Look 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_status

    Channel status (RUNNING/RETRYING/STOPPED, connection counts) for a queue manager via MQ REST. Omit the channel name to list all.

  • mq_queue_status

    Current depth of MQ queues (curdepth vs maxdepth, percent full) via MQ REST. Comma-separated names query several queues at once.

  • predict_batch_failures

    Predict 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_audit

    Query RACF security audit records from a configured USS path or dataset. Supports user, resource, event, result, class, and time-window filters.

  • read_dataset

    Read the content of a sequential dataset or a PDS member (output is line-capped). Supports custom line limits and EBCDIC encoding hints.

  • read_uss_file

    Read the contents of a USS file. Supports custom line limits and text grep filtering.

  • release_job

    Release a held batch job via the JES2 "$OJ" command (gated write).

  • scheduler_job_status

    Query 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_dataset

    Search the catalog for datasets matching a wildcard pattern. Supports DSORG filter and result capping.

  • search_db2_catalog

    Search the Db2 catalog for tables, views, or aliases matching a name pattern. Includes row count, creation date, and remarks.

  • search_members

    Search for members in a PDS, optionally filtered by wildcard pattern. Supports extended stats, result capping, and sorting.

  • search_uss_files

    Search for files/directories in a USS directory matching a wildcard name pattern. Supports type filter, sort, and result capping.

  • security_posture_summary

    Report the server security posture: terms acknowledgement, read-only mode, tool allowlists, TLS, audit logging, resource boundaries, and tiered security recommendations.

  • submit_jcl

    Submit inline JCL to JES for execution. Governed: pre-flight scan, change ticket, change window, optional dry-run and human approval (SECURITY_* settings).

  • summarize_abends

    Aggregate abend codes across recent failed jobs, with counts and a short description.

  • summarize_dump

    Summarize an abend dump (CEEDUMP, SYSMDUMP, SYSUDUMP): completion codes, failing module/offset, LE conditions, and section inventory — from spool DD or dataset.

  • system_health_summary

    Produce 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_connection

    Verify z/OSMF connectivity, authentication, and basic API availability.

  • whoami

    Show 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
License
License unknown
First seen
Oct 24, 2026
Last checked
Oct 26, 2026

More from NotHarshhaa

Cite this page

Mainframe MCP Server. Agent Mart. https://agentmart.dev/connectors/notharshhaa-mainframe-mcp-server (last updated 2026-10-26)