feat: Add source code management tools for IBM i development#148
Open
aleckvijay wants to merge 1 commit into
Open
feat: Add source code management tools for IBM i development#148aleckvijay wants to merge 1 commit into
aleckvijay wants to merge 1 commit into
Conversation
Add comprehensive source code management toolset enabling AI agents to: - Read source code from source physical files (RPGLE, CL, COBOL) - Write and update source members - Compile programs with various options - Retrieve compilation errors from job logs - Read spool file output Tools included: - read_source_member: Read source from QRPGLESRC, QCLSRC, QCBLLESRC - write_source_member: Create/update source members - compile_source: Compile RPGLE, SQLRPGLE, CL, CLLE, COBOL programs - compile_with_setup: Compile with library list setup program - get_compile_errors: Extract compilation errors for AI analysis - read_spool_file: Read compiler listings and output Real-world tested in production on IBM i 7.5 systems. Signed-off-by: Vijay Verma <aleckvijay@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Feature: Source Code Management Tools for IBM i
Summary
This PR adds a comprehensive suite of source code management tools that enable AI agents to read, write, compile, and manage IBM i source code through the MCP protocol.
What's New
Six new tools in
packages/server/src/ibmi-mcp-server/tools/source-code/:read_source_member- Read RPGLE/CL/COBOL source from source physical fileswrite_source_member- Create or update source memberscompile_source- Compile RPGLE, SQLRPGLE, CL, CLLE, COBOL programscompile_with_setup- Compile with library list setup programget_compile_errors- Retrieve compilation errors from job log for AI analysisread_spool_file- Read compiler output and listingsUse Cases
Real-World Validation
These tools have been tested in production on IBM i 7.5 systems and successfully used for:
Testing
All tools include:
Author
Vijay Kumar Verma - IBM i Developer
GitHub: @aleckvijay
This contribution aims to enable the IBM i community to leverage AI-powered development tools through the MCP protocol.