An enterprise-grade Model Context Protocol (MCP) server for IBM z/OS environments.
61
An enterprise-grade Model Context Protocol (MCP) server for IBM z/OS. It bridges MCP-compatible AI agents (Cursor, VS Code, Claude Desktop, …) with mainframe resources over z/OSMF REST via the Zowe SDK (Open Mainframe Project).
submit_jcl (pre-flight scan, change ticket, change window, human approval), hold/release/cancel, per-step CPU (IEF374I/IEF376I)D A,L, D GRS), WLM displays, IMS commands, operations-log tail, HSM activity, LOGREC (EREP) analysis — all gated writes| Tag | Description |
|---|---|
latest | Most recent release |
3.0.0 | Exact release version |
2.8, 2.8.0, … | Minor-line and historical versions |
docker run -d --name mainframe-mcp \
-p 3000:3000 \
-e ZOSMF_HOST=your-zosmf-host.internal \
-e ZOSMF_TOKEN=your-zosmf-token \
-e MCP_TRANSPORT=sse -e MCP_SSE_PORT=3000 \
harshhaareddy/mainframe-mcp-server:latest
Then point your MCP client at http://localhost:3000/sse. Endpoints: GET /sse, POST /messages?sessionId=…, GET /health.
For IDE-local use, prefer the stdio transport via the npm package (npx -y @notharshhaa/mainframe-mcp-server) — containers run SSE.
| Variable | Required | Description |
|---|---|---|
ZOSMF_HOST | yes | z/OSMF hostname or IP |
ZOSMF_TOKEN (or ZOSMF_USER + ZOSMF_PASSWORD) | yes | Auth — token recommended |
ZOSMF_PORT / ZOSMF_BASE_PATH | no | Port (443) / gateway prefix |
ZOSMF_USER_ID | no | End-user PassTicket identity — RACF sees who asked |
SECURITY_READ_ONLY | no | true (default) blocks all write tools |
SECURITY_POLICY_FILE | no | Policy-as-code YAML: roles, RBAC, environments, data classifications |
SECURITY_AUDIT_FILE / _SPLUNK_URL / _OTLP_URL / _WEBHOOK_URL | no | SIEM audit sinks |
MCP_TRANSPORT / MCP_SSE_PORT | no | sse (default here) / 3000 |
Full reference: docs/configuration.md.
docker-compose.yml and Helm chart).ghcr.io/notharshhaa/mainframe-mcp-server) when you need Sigstore/cosign signature verification and BuildKit SBOM/provenance attestations; this Docker Hub image mirrors the same build.@notharshhaa/mainframe-mcp-serverMIT. Not affiliated with IBM or the Open Mainframe Project. IBM, z/OS, CICS, Db2, and RACF are trademarks of IBM.
Content type
Image
Digest
sha256:b1e8178ec…
Size
55.2 MB
Last updated
2 days ago
docker pull harshhaareddy/mainframe-mcp-server