mainframe-mcp-server

io.github.NotHarshhaa/mainframe-mcp-server

About mainframe-mcp-server

mainframe-mcp-server is an MCP server published by the GitHub account NotHarshhaa. MCP server for IBM z/OS jobs, datasets, USS, and operational diagnostics via Zowe SDK.

It runs on your own machine: your AI client starts it from the npm package @notharshhaa/mainframe-mcp-server at version 3.0.0.

It asks for 2 secrets: ZOSMF_PASSWORD and ZOSMF_TOKEN. Give it a key with the least access that still works.

It also needs ZOSMF_HOST set before it starts.

Version 3.0.0 was published on 25 October 2026, and the source code is public, so you can read it before installing.

Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.

What it asks for

VariableRequiredSecretDescription
ZOSMF_HOSTYesNoz/OSMF hostname or IP address
ZOSMF_PORTNoNoz/OSMF HTTPS port (default 443)
ZOSMF_BASE_PATHNoNoOptional API gateway or mediation layer prefix for z/OSMF
ZOSMF_USERNoNoz/OS user id (required with ZOSMF_PASSWORD unless ZOSMF_TOKEN is set)
ZOSMF_PASSWORDNoYesPassword for basic auth (required with ZOSMF_USER unless ZOSMF_TOKEN is set)
ZOSMF_TOKENNoYesAuth token (alternative to user/password)
ZOSMF_TOKEN_TYPENoNoToken type when using ZOSMF_TOKEN (e.g. LTPA2)
ZOSMF_REJECT_UNAUTHORIZEDNoNoVerify TLS certificates (true in production)
ZOSMF_CERTNoNoPEM client certificate file path for mTLS auth
ZOSMF_CERT_KEYNoNoPEM client key file path for mTLS auth (required with ZOSMF_CERT)
ZOSMF_TOKEN_FILENoNoRead ZOSMF_TOKEN from this file at startup (vault/agent injection)
ZOSMF_USER_IDNoNoEnd-user id for PassTicket identity propagation (RACF sees this user, not the service account)
ZOSMF_PASSTICKET_APPNoNoRACF PTKTDATA application name for PassTicket generation (default ZOSMF)
ZOWE_TEAM_CONFIGNoNoPath to a zowe.config.json to import connection settings from (env vars win)
ZOSMF_PROFILENoNoProfile name inside the Zowe team config (defaults to defaults.zosmf)
LOG_LEVELNoNoLog level: fatal, error, warn, info, debug, trace, silent
MCP_TRANSPORTNoNoTransport: stdio (IDE) or sse (legacy HTTP+SSE for container/network deployments)
MCP_SSE_PORTNoNoListen port when MCP_TRANSPORT=sse
MAX_JOB_OUTPUT_LINESNoNoMax lines returned from a single spool DD
MAX_DATASET_READ_LINESNoNoMax lines returned from dataset or USS reads
MAX_JES_SPOOL_FILESNoNoMax spool files fetched during diagnostics
MAX_AUDIT_LINESNoNoMax RACF audit log lines per query
CMCI_CONTEXTNoNoCICSplex name or region APPLID (required for CICS tools)
CMCI_HOSTNoNoCMCI hostname (defaults to ZOSMF_HOST)
CMCI_PORTNoNoCMCI HTTPS port (default 1490)
CMCI_BASE_PATHNoNoCMCI REST base path
DB2_LOCATIONNoNoDb2 subsystem location name (required for Db2 tools)
DB2_HOSTNoNoDb2 REST hostname (defaults to ZOSMF_HOST)
DB2_PORTNoNoDb2 REST port (default 50400)
DB2_BASE_PATHNoNoDb2 REST base path
SMF_SUMMARY_DATASETNoNoOptional SMF summary dataset for offline metrics
RMF_METRICS_ENABLEDNoNoQuery z/OSMF RMF metrics when available
RACF_AUDIT_USS_PATHNoNoUSS path to RACF audit log file
RACF_AUDIT_DATASETNoNoSequential dataset containing RACF audit records
SECURITY_READ_ONLYNoNoWhen true (default), blocks write tools such as submit_jcl
SECURITY_ALLOWED_TOOLSNoNoComma-separated allowlist of MCP tool names
SECURITY_BLOCKED_TOOLSNoNoComma-separated blocklist of MCP tool names
SECURITY_ALLOWED_DATASET_PATTERNSNoNoComma-separated dataset patterns (e.g. USERDEV.*,SYS1.*)
SECURITY_ALLOWED_USS_PATHSNoNoComma-separated USS path prefixes
SECURITY_AUDIT_LOGGINGNoNoLog every tool invocation to stderr (SIEM-friendly JSON)
SECURITY_MAX_JCL_BYTESNoNoMaximum inline JCL size for submit_jcl
SECURITY_WRITE_APPROVALNoNoHuman-in-the-loop: submit_jcl returns a one-time token and approve_write executes (default false)
SECURITY_JCL_SCANNoNoPre-flight scan JCL before submission: IDCAMS DELETE, IEFBR14 DISP DELETE, blocked utilities (default true)
SECURITY_JCL_SCAN_STRICTNoNoStrict scan mode: WARN findings also block submissions (default false)
SECURITY_BLOCKED_PROGRAMSNoNoComma-separated EXEC programs that may never run (extends ADRDSSU,ICKDSF,IEHINITT)
SECURITY_BLOCKED_JOB_CLASSESNoNoComma-separated JES job classes that may never be used
SECURITY_CHANGE_TICKET_PATTERNNoNoRegex a changeTicket argument must match on writes, e.g. CHG[0-9]{6}
SECURITY_WRITE_WINDOWNoNoAllowed write window, 24h HH:MM-HH:MM (overnight ranges allowed), e.g. 08:00-18:00
SECURITY_WRITE_DAYSNoNoWeekdays writes are allowed: 0=Sun..6=Sat, e.g. 1-5
SECURITY_WRITE_WINDOW_TZNoNoIANA timezone for the write window (default UTC)

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/NotHarshhaa/mainframe-mcp-server
Version pinnedPassEvery package has an explicit version
Secrets requestedInfoAsks for 2 secrets: ZOSMF_PASSWORD, ZOSMF_TOKEN
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via GitHub account NotHarshhaa
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsPass@notharshhaa/mainframe-mcp-server@3.0.0 runs nothing at install
Code red flagsPassRead 202 files in @notharshhaa/mainframe-mcp-server@3.0.0: no obfuscation, encoded execution, credential reads or data-collection endpoints found
Text aimed at the AIPassNo hidden characters or instructions to the AI in 202 files, including comments and the README

Popularity & health: 53 / 100

Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.

Popularity10 / 40

0 GitHub stars, 520 downloads last week, no Hacker News posts found. Best two of the three, each on a log scale.

Activity15 / 25

Last push 2026-10-27, last release 2026-10-25, 0 commits in 90 days.

Issue health8 / 15

0 closed of 0 issues, too few to judge. No data, so half marks.

Our checks20 / 20

0 warnings, each costing a fifth.

0 forks, 0 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.

What people say

No Hacker News threads link to its source code.

Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.

Facts

Registry nameio.github.NotHarshhaa/mainframe-mcp-server
PublisherGitHub account NotHarshhaa
How the name is verifiedName verified via GitHub account NotHarshhaa. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagesnpm @notharshhaa/mainframe-mcp-server 3.0.0 (stdio)
Version3.0.0
Published
Last updated
Source repositoryhttps://github.com/NotHarshhaa/mainframe-mcp-server
WebsiteNone linked
CategoryDatabases & data (assigned by keyword rule, not by hand)

Related servers in Databases & data