
Mainframe Mcp Server
- NotHarshhaa/mainframe-mcp-server
Mainframe MCP Server is an MCP server that lets agents manage and diagnose IBM z/OS jobs, datasets, USS, and ops tasks via the Zowe SDK and z/OSMF.
About
Mainframe MCP Server bridges modern AI coding agents to IBM z/OS environments for consultants, maintainers, and specialists who still touch MVS datasets and JES jobs. Through z/OSMF credentials—basic user/password or token—and the Zowe SDK, agents can list and inspect jobs, work with datasets, access USS where permitted, and run operational diagnostics without writing a fresh REST script each time. This is advanced, niche Operate infra: you need a reachable ZOSMF endpoint, correct mainframe authorization, and comfort with enterprise security models. It does not teach COBOL or replace change boards; it accelerates scripted inquiry and troubleshooting from Claude Code or Cursor. If you are building a greenfield SaaS on serverless, skip this. If you inherit z/OS operations as a one-person team, it compresses context gathering into one MCP session.
- @notharshhaa/mainframe-mcp-server v2.5.0 npm stdio MCP over Zowe SDK
- z/OSMF auth via ZOSMF_HOST plus ZOSMF_USER/ZOSMF_PASSWORD or ZOSMF_TOKEN
- Tools for jobs, datasets, USS paths, and operational diagnostics
- Configurable ZOSMF_PORT (default 443) and optional ZOSMF_BASE_PATH gateway prefix
Mainframe Mcp Server by the numbers
- Data as of Jul 7, 2026 (Skillselion catalog sync)
claude mcp add --env ZOSMF_HOST=YOUR_ZOSMF_HOST --env ZOSMF_PORT=YOUR_ZOSMF_PORT --env ZOSMF_BASE_PATH=YOUR_ZOSMF_BASE_PATH --env ZOSMF_USER=YOUR_ZOSMF_USER --env ZOSMF_PASSWORD=YOUR_ZOSMF_PASSWORD --env ZOSMF_TOKEN=YOUR_ZOSMF_TOKEN --env ZOSMF_TOKEN_TYPE=YOUR_ZOSMF_TOKEN_TYPE --env ZOSMF_REJECT_UNAUTHORIZED=YOUR_ZOSMF_REJECT_UNAUTHORIZED --env LOG_LEVEL=YOUR_LOG_LEVEL --env MCP_TRANSPORT=YOUR_MCP_TRANSPORT --env MCP_SSE_PORT=YOUR_MCP_SSE_PORT --env MAX_JOB_OUTPUT_LINES=YOUR_MAX_JOB_OUTPUT_LINES --env MAX_DATASET_READ_LINES=YOUR_MAX_DATASET_READ_LINES --env MAX_JES_SPOOL_FILES=YOUR_MAX_JES_SPOOL_FILES --env MAX_AUDIT_LINES=YOUR_MAX_AUDIT_LINES --env CMCI_CONTEXT=YOUR_CMCI_CONTEXT --env CMCI_HOST=YOUR_CMCI_HOST --env CMCI_PORT=YOUR_CMCI_PORT --env CMCI_BASE_PATH=YOUR_CMCI_BASE_PATH --env DB2_LOCATION=YOUR_DB2_LOCATION --env DB2_HOST=YOUR_DB2_HOST --env DB2_PORT=YOUR_DB2_PORT --env DB2_BASE_PATH=YOUR_DB2_BASE_PATH --env SMF_SUMMARY_DATASET=YOUR_SMF_SUMMARY_DATASET --env RMF_METRICS_ENABLED=YOUR_RMF_METRICS_ENABLED --env RACF_AUDIT_USS_PATH=YOUR_RACF_AUDIT_USS_PATH --env RACF_AUDIT_DATASET=YOUR_RACF_AUDIT_DATASET --env SECURITY_READ_ONLY=YOUR_SECURITY_READ_ONLY --env SECURITY_ALLOWED_TOOLS=YOUR_SECURITY_ALLOWED_TOOLS --env SECURITY_BLOCKED_TOOLS=YOUR_SECURITY_BLOCKED_TOOLS --env SECURITY_ALLOWED_DATASET_PATTERNS=YOUR_SECURITY_ALLOWED_DATASET_PATTERNS --env SECURITY_ALLOWED_USS_PATHS=YOUR_SECURITY_ALLOWED_USS_PATHS --env SECURITY_AUDIT_LOGGING=YOUR_SECURITY_AUDIT_LOGGING --env SECURITY_MAX_JCL_BYTES=YOUR_SECURITY_MAX_JCL_BYTES mainframe-mcp-server -- npx -y @notharshhaa/mainframe-mcp-serverAdd your badge
Show developers this MCP server is listed on Skillselion. Paste this into your README.
| Package | @notharshhaa/mainframe-mcp-server |
|---|---|
| Transport | STDIO |
| Auth | Required |
| Repository | NotHarshhaa/mainframe-mcp-server ↗ |
What it does
Expose IBM z/OS jobs, datasets, USS, and diagnostics to your coding agent through Zowe SDK-backed MCP tools.
Who is it for?
Independent mainframe admins and devs with z/OSMF access who want agent-assisted job, dataset, and USS diagnostics.
Skip if: Cloud-native-only developers, teams without IBM Z contracts, or environments where agents cannot hold mainframe credentials.
What you get
With z/OSMF credentials configured, your agent can query and operate on mainframe resources through standardized MCP tools at v2.5.0.
- MCP tools for z/OS jobs, datasets, USS, and operational diagnostics
- Stdio MCP server configured against your z/OSMF endpoint (v2.5.0)
- Reduced ad-hoc scripting for routine mainframe inquiries
By the numbers
- Package version 2.5.0
- Connects via Zowe SDK to z/OSMF (default HTTPS port 443)
- Supports token or basic authentication to z/OSMF
Recommended MCP Servers
How it compares
IBM z/OS specialist connector via Zowe, not a general Kubernetes or Talos Linux MCP.
FAQ
Who is Mainframe MCP Server for?
It is for developers and operators on IBM z/OS who use z/OSMF and want Claude Code or Cursor to interact with jobs, datasets, and USS through MCP.
When should I use Mainframe MCP Server?
Use it in Operate when triaging batch jobs, inspecting datasets, or running diagnostics on a live z/OS system you already manage.
How do I add Mainframe MCP Server to my agent?
Install @notharshhaa/mainframe-mcp-server v2.5.0 as stdio MCP, set required ZOSMF_HOST and authentication (ZOSMF_USER/ZOSMF_PASSWORD or ZOSMF_TOKEN), and optional port or base path vars.