cosmic-mcp

All servers

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-server

Quick facts

  • Listing: Community
  • Published Oct 25, 10:40 UTC
  • Transport: stdio
  • Package: npm @notharshhaa/mainframe-mcp-server 3.0.0
  • Listed by cosmic-mcp: Nov 9, 04:25 UTC
  • Repository: https://github.com/NotHarshhaa/mainframe-mcp-server
  • npm: https://www.npmjs.com/package/@notharshhaa/mainframe-mcp-server
  • Needs settings: ZOSMF_HOST ZOSMF_PORT ZOSMF_BASE_PATH ZOSMF_USER ZOSMF_PASSWORD ZOSMF_TOKEN ZOSMF_TOKEN_TYPE ZOSMF_REJECT_UNAUTHORIZED ZOSMF_CERT ZOSMF_CERT_KEY ZOSMF_TOKEN_FILE ZOSMF_USER_ID ZOSMF_PASSTICKET_APP ZOWE_TEAM_CONFIG ZOSMF_PROFILE LOG_LEVEL MCP_TRANSPORT MCP_SSE_PORT MAX_JOB_OUTPUT_LINES MAX_DATASET_READ_LINES MAX_JES_SPOOL_FILES MAX_AUDIT_LINES CMCI_CONTEXT CMCI_HOST CMCI_PORT CMCI_BASE_PATH DB2_LOCATION DB2_HOST DB2_PORT DB2_BASE_PATH SMF_SUMMARY_DATASET RMF_METRICS_ENABLED RACF_AUDIT_USS_PATH RACF_AUDIT_DATASET SECURITY_READ_ONLY SECURITY_ALLOWED_TOOLS SECURITY_BLOCKED_TOOLS SECURITY_ALLOWED_DATASET_PATTERNS SECURITY_ALLOWED_USS_PATHS SECURITY_AUDIT_LOGGING SECURITY_MAX_JCL_BYTES SECURITY_WRITE_APPROVAL SECURITY_JCL_SCAN SECURITY_JCL_SCAN_STRICT SECURITY_BLOCKED_PROGRAMS SECURITY_BLOCKED_JOB_CLASSES SECURITY_CHANGE_TICKET_PATTERN SECURITY_WRITE_WINDOW SECURITY_WRITE_DAYS SECURITY_WRITE_WINDOW_TZ

Developer tools

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.