mainframekit-mcp
v0.1.3
Published
MainframeKit for AI assistants: check JCL, explain DFSORT, look up abends, SQLCODEs, CICS and MQ codes, and lay out COBOL copybooks. The server runs on your PC with no network requests; your assistant and its model provider handle your prompts under their
Maintainers
Readme
MainframeKit for AI assistants
Your AI assistant, now fluent in mainframe. No mainframe needed.
Checks JCL and DFSORT before you submit, explains abends, SQLCODEs, CICS and MQ codes, and lays out COBOL copybooks. The MainframeKit server runs on your PC: no login, no mainframe connection, no network requests, no AI tokens. Works alongside IBM and Broadcom tools.
Privacy, exactly: the MainframeKit server itself sends nothing anywhere. Your AI assistant is a separate program: the assistant app and its model provider may process what you type and what the tools return, under their own terms. If your organisation requires it, use an approved or local model, or sample code without sensitive data.
Tools
| Tool | What it does |
|---|---|
| check_jcl | Finds common JCL mistakes and explains every JOB, EXEC and DD statement |
| explain_dfsort | Explains SORT, INCLUDE/OMIT, INREC/OUTREC and SUM statements and flags problems |
| lookup_code | Abend, SQLCODE, CICS and MQ codes: meaning, causes, fixes, IBM sources, lesson link |
| copybook_layout | Start, length and type of every copybook field, and the record length |
Prompts: Review my JCL, Explain this abend, Build a sort step.
Set up
Needs Node.js 18 or later. Add the server to your assistant's MCP settings, for example:
{ "mcpServers": { "mainframekit": { "command": "npx", "args": ["-y", "mainframekit-mcp"] } } }Accuracy
Rule-based and deterministic: the same input always gives the same answer. Every rule comes from IBM documentation. Always confirm against IBM documentation and your own system before changing production.
More: https://mainframekit.com · Learn it on Mainframe Path, do it with MainframeKit.
© 2026 Vidyut Saha. Free to use; see LICENSE.
