mainframe-mcp-server
io.github.NotHarshhaa/mainframe-mcp-server · version 3.0.0
Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.
MCP server for IBM z/OS jobs, datasets, USS, and operational diagnostics via Zowe SDK.
https://github.com/NotHarshhaa/mainframe-mcp-serverQuick facts
- Listing: Community
- Published Oct 25, 10:40 UTC
- Transport: stdio
- Package: npm
@notharshhaa/mainframe-mcp-server3.0.0 - Listed by cosmic-mcp: Nov 9, 04:25 UTC
Details
- Repository: https://github.com/NotHarshhaa/mainframe-mcp-server
- npm: https://www.npmjs.com/package/@notharshhaa/mainframe-mcp-server
- Needs settings:
ZOSMF_HOSTZOSMF_PORTZOSMF_BASE_PATHZOSMF_USERZOSMF_PASSWORDZOSMF_TOKENZOSMF_TOKEN_TYPEZOSMF_REJECT_UNAUTHORIZEDZOSMF_CERTZOSMF_CERT_KEYZOSMF_TOKEN_FILEZOSMF_USER_IDZOSMF_PASSTICKET_APPZOWE_TEAM_CONFIGZOSMF_PROFILELOG_LEVELMCP_TRANSPORTMCP_SSE_PORTMAX_JOB_OUTPUT_LINESMAX_DATASET_READ_LINESMAX_JES_SPOOL_FILESMAX_AUDIT_LINESCMCI_CONTEXTCMCI_HOSTCMCI_PORTCMCI_BASE_PATHDB2_LOCATIONDB2_HOSTDB2_PORTDB2_BASE_PATHSMF_SUMMARY_DATASETRMF_METRICS_ENABLEDRACF_AUDIT_USS_PATHRACF_AUDIT_DATASETSECURITY_READ_ONLYSECURITY_ALLOWED_TOOLSSECURITY_BLOCKED_TOOLSSECURITY_ALLOWED_DATASET_PATTERNSSECURITY_ALLOWED_USS_PATHSSECURITY_AUDIT_LOGGINGSECURITY_MAX_JCL_BYTESSECURITY_WRITE_APPROVALSECURITY_JCL_SCANSECURITY_JCL_SCAN_STRICTSECURITY_BLOCKED_PROGRAMSSECURITY_BLOCKED_JOB_CLASSESSECURITY_CHANGE_TICKET_PATTERNSECURITY_WRITE_WINDOWSECURITY_WRITE_DAYSSECURITY_WRITE_WINDOW_TZ
Setup snippets
Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.
Run it locally (npm)
npx -y '@notharshhaa/[email protected]'Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"mainframe-mcp-server": {
"args": [
"-y",
"@notharshhaa/[email protected]"
],
"command": "npx",
"env": {
"CMCI_BASE_PATH": "<your cmci base path>",
"CMCI_CONTEXT": "<your cmci context>",
"CMCI_HOST": "<your cmci host>",
"CMCI_PORT": "<your cmci port>",
"DB2_BASE_PATH": "<your db2 base path>",
"DB2_HOST": "<your db2 host>",
"DB2_LOCATION": "<your db2 location>",
"DB2_PORT": "<your db2 port>",
"LOG_LEVEL": "<your log level>",
"MAX_AUDIT_LINES": "<your max audit lines>",
"MAX_DATASET_READ_LINES": "<your max dataset read lines>",
"MAX_JES_SPOOL_FILES": "<your max jes spool files>",
"MAX_JOB_OUTPUT_LINES": "<your max job output lines>",
"MCP_SSE_PORT": "<your mcp sse port>",
"MCP_TRANSPORT": "<your mcp transport>",
"RACF_AUDIT_DATASET": "<your racf audit dataset>",
"RACF_AUDIT_USS_PATH": "<your racf audit uss path>",
"RMF_METRICS_ENABLED": "<your rmf metrics enabled>",
"SECURITY_ALLOWED_DATASET_PATTERNS": "<your security allowed dataset patterns>",
"SECURITY_ALLOWED_TOOLS": "<your security allowed tools>",
"SECURITY_ALLOWED_USS_PATHS": "<your security allowed uss paths>",
"SECURITY_AUDIT_LOGGING": "<your security audit logging>",
"SECURITY_BLOCKED_JOB_CLASSES": "<your security blocked job classes>",
"SECURITY_BLOCKED_PROGRAMS": "<your security blocked programs>",
"SECURITY_BLOCKED_TOOLS": "<your security blocked tools>",
"SECURITY_CHANGE_TICKET_PATTERN": "<your security change ticket pattern>",
"SECURITY_JCL_SCAN": "<your security jcl scan>",
"SECURITY_JCL_SCAN_STRICT": "<your security jcl scan strict>",
"SECURITY_MAX_JCL_BYTES": "<your security max jcl bytes>",
"SECURITY_READ_ONLY": "<your security read only>",
"SECURITY_WRITE_APPROVAL": "<your security write approval>",
"SECURITY_WRITE_DAYS": "<your security write days>",
"SECURITY_WRITE_WINDOW": "<your security write window>",
"SECURITY_WRITE_WINDOW_TZ": "<your security write window tz>",
"SMF_SUMMARY_DATASET": "<your smf summary dataset>",
"ZOSMF_BASE_PATH": "<your zosmf base path>",
"ZOSMF_CERT": "<your zosmf cert>",
"ZOSMF_CERT_KEY": "<your zosmf cert key>",
"ZOSMF_HOST": "<your zosmf host>",
"ZOSMF_PASSTICKET_APP": "<your zosmf passticket app>",
"ZOSMF_PASSWORD": "<your zosmf password>",
"ZOSMF_PORT": "<your zosmf port>",
"ZOSMF_PROFILE": "<your zosmf profile>",
"ZOSMF_REJECT_UNAUTHORIZED": "<your zosmf reject unauthorized>",
"ZOSMF_TOKEN": "<your zosmf token>",
"ZOSMF_TOKEN_FILE": "<your zosmf token file>",
"ZOSMF_TOKEN_TYPE": "<your zosmf token type>",
"ZOSMF_USER": "<your zosmf user>",
"ZOSMF_USER_ID": "<your zosmf user id>",
"ZOWE_TEAM_CONFIG": "<your zowe team config>"
}
}
}
}Claude Code
claude mcp add 'mainframe-mcp-server' -- npx -y '@notharshhaa/[email protected]'Cursor (.cursor/mcp.json)
{
"mcpServers": {
"mainframe-mcp-server": {
"args": [
"-y",
"@notharshhaa/[email protected]"
],
"command": "npx",
"env": {
"CMCI_BASE_PATH": "<your cmci base path>",
"CMCI_CONTEXT": "<your cmci context>",
"CMCI_HOST": "<your cmci host>",
"CMCI_PORT": "<your cmci port>",
"DB2_BASE_PATH": "<your db2 base path>",
"DB2_HOST": "<your db2 host>",
"DB2_LOCATION": "<your db2 location>",
"DB2_PORT": "<your db2 port>",
"LOG_LEVEL": "<your log level>",
"MAX_AUDIT_LINES": "<your max audit lines>",
"MAX_DATASET_READ_LINES": "<your max dataset read lines>",
"MAX_JES_SPOOL_FILES": "<your max jes spool files>",
"MAX_JOB_OUTPUT_LINES": "<your max job output lines>",
"MCP_SSE_PORT": "<your mcp sse port>",
"MCP_TRANSPORT": "<your mcp transport>",
"RACF_AUDIT_DATASET": "<your racf audit dataset>",
"RACF_AUDIT_USS_PATH": "<your racf audit uss path>",
"RMF_METRICS_ENABLED": "<your rmf metrics enabled>",
"SECURITY_ALLOWED_DATASET_PATTERNS": "<your security allowed dataset patterns>",
"SECURITY_ALLOWED_TOOLS": "<your security allowed tools>",
"SECURITY_ALLOWED_USS_PATHS": "<your security allowed uss paths>",
"SECURITY_AUDIT_LOGGING": "<your security audit logging>",
"SECURITY_BLOCKED_JOB_CLASSES": "<your security blocked job classes>",
"SECURITY_BLOCKED_PROGRAMS": "<your security blocked programs>",
"SECURITY_BLOCKED_TOOLS": "<your security blocked tools>",
"SECURITY_CHANGE_TICKET_PATTERN": "<your security change ticket pattern>",
"SECURITY_JCL_SCAN": "<your security jcl scan>",
"SECURITY_JCL_SCAN_STRICT": "<your security jcl scan strict>",
"SECURITY_MAX_JCL_BYTES": "<your security max jcl bytes>",
"SECURITY_READ_ONLY": "<your security read only>",
"SECURITY_WRITE_APPROVAL": "<your security write approval>",
"SECURITY_WRITE_DAYS": "<your security write days>",
"SECURITY_WRITE_WINDOW": "<your security write window>",
"SECURITY_WRITE_WINDOW_TZ": "<your security write window tz>",
"SMF_SUMMARY_DATASET": "<your smf summary dataset>",
"ZOSMF_BASE_PATH": "<your zosmf base path>",
"ZOSMF_CERT": "<your zosmf cert>",
"ZOSMF_CERT_KEY": "<your zosmf cert key>",
"ZOSMF_HOST": "<your zosmf host>",
"ZOSMF_PASSTICKET_APP": "<your zosmf passticket app>",
"ZOSMF_PASSWORD": "<your zosmf password>",
"ZOSMF_PORT": "<your zosmf port>",
"ZOSMF_PROFILE": "<your zosmf profile>",
"ZOSMF_REJECT_UNAUTHORIZED": "<your zosmf reject unauthorized>",
"ZOSMF_TOKEN": "<your zosmf token>",
"ZOSMF_TOKEN_FILE": "<your zosmf token file>",
"ZOSMF_TOKEN_TYPE": "<your zosmf token type>",
"ZOSMF_USER": "<your zosmf user>",
"ZOSMF_USER_ID": "<your zosmf user id>",
"ZOWE_TEAM_CONFIG": "<your zowe team config>"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"mainframe-mcp-server": {
"args": [
"-y",
"@notharshhaa/[email protected]"
],
"command": "npx",
"env": {
"CMCI_BASE_PATH": "<your cmci base path>",
"CMCI_CONTEXT": "<your cmci context>",
"CMCI_HOST": "<your cmci host>",
"CMCI_PORT": "<your cmci port>",
"DB2_BASE_PATH": "<your db2 base path>",
"DB2_HOST": "<your db2 host>",
"DB2_LOCATION": "<your db2 location>",
"DB2_PORT": "<your db2 port>",
"LOG_LEVEL": "<your log level>",
"MAX_AUDIT_LINES": "<your max audit lines>",
"MAX_DATASET_READ_LINES": "<your max dataset read lines>",
"MAX_JES_SPOOL_FILES": "<your max jes spool files>",
"MAX_JOB_OUTPUT_LINES": "<your max job output lines>",
"MCP_SSE_PORT": "<your mcp sse port>",
"MCP_TRANSPORT": "<your mcp transport>",
"RACF_AUDIT_DATASET": "<your racf audit dataset>",
"RACF_AUDIT_USS_PATH": "<your racf audit uss path>",
"RMF_METRICS_ENABLED": "<your rmf metrics enabled>",
"SECURITY_ALLOWED_DATASET_PATTERNS": "<your security allowed dataset patterns>",
"SECURITY_ALLOWED_TOOLS": "<your security allowed tools>",
"SECURITY_ALLOWED_USS_PATHS": "<your security allowed uss paths>",
"SECURITY_AUDIT_LOGGING": "<your security audit logging>",
"SECURITY_BLOCKED_JOB_CLASSES": "<your security blocked job classes>",
"SECURITY_BLOCKED_PROGRAMS": "<your security blocked programs>",
"SECURITY_BLOCKED_TOOLS": "<your security blocked tools>",
"SECURITY_CHANGE_TICKET_PATTERN": "<your security change ticket pattern>",
"SECURITY_JCL_SCAN": "<your security jcl scan>",
"SECURITY_JCL_SCAN_STRICT": "<your security jcl scan strict>",
"SECURITY_MAX_JCL_BYTES": "<your security max jcl bytes>",
"SECURITY_READ_ONLY": "<your security read only>",
"SECURITY_WRITE_APPROVAL": "<your security write approval>",
"SECURITY_WRITE_DAYS": "<your security write days>",
"SECURITY_WRITE_WINDOW": "<your security write window>",
"SECURITY_WRITE_WINDOW_TZ": "<your security write window tz>",
"SMF_SUMMARY_DATASET": "<your smf summary dataset>",
"ZOSMF_BASE_PATH": "<your zosmf base path>",
"ZOSMF_CERT": "<your zosmf cert>",
"ZOSMF_CERT_KEY": "<your zosmf cert key>",
"ZOSMF_HOST": "<your zosmf host>",
"ZOSMF_PASSTICKET_APP": "<your zosmf passticket app>",
"ZOSMF_PASSWORD": "<your zosmf password>",
"ZOSMF_PORT": "<your zosmf port>",
"ZOSMF_PROFILE": "<your zosmf profile>",
"ZOSMF_REJECT_UNAUTHORIZED": "<your zosmf reject unauthorized>",
"ZOSMF_TOKEN": "<your zosmf token>",
"ZOSMF_TOKEN_FILE": "<your zosmf token file>",
"ZOSMF_TOKEN_TYPE": "<your zosmf token type>",
"ZOSMF_USER": "<your zosmf user>",
"ZOSMF_USER_ID": "<your zosmf user id>",
"ZOWE_TEAM_CONFIG": "<your zowe team config>"
},
"type": "stdio"
}
}
}Related servers
- Ankra Docs Verified domain
Search the Ankra documentation: clusters, stacks, GitOps, CI/CD and the CLI. No account needed. - .FAF Context Verified domain
.FAF Context — persistent project context for Cursor, VS Code and every MCP-compatible IDE. - .NET Debugger for MCP
Give an AI agent a real .NET debugger: breakpoints, stepping, locals, expression evaluation. - .NET MCP Server
AI assistant access to .NET SDK for projects, packages, building, testing, and development tools. - 1c-enterprise-mcp
1C Enterprise MCP: 20 real tools to read, check, lint, scaffold, build and run 1C Enterprise code. - 4d-mcp
4D MCP: 20 real tools to read, check, lint, scaffold, build and run 4D code.