Sitemule BlueprintIBM i program analysis powered by AI — connect GitHub Copilot (or any MCP client) to your IBM i and explore program call chains, view source code, and search your source repository using natural language.
How It Works
Getting Started1. Install the MCP ServerThe Recommended — install with
|
| Setting | Description |
|---|---|
| API Host | Hostname or IP of your IBM i (e.g. ibm-i.host.or.ip) |
| API Port | Port for the Blueprint API (default: 7111) |
| API HTTPS | Enable if your server uses HTTPS |
Then run the command Blueprint: Set API Key from the command palette
(Ctrl+Shift+P) if your server requires authentication.
3. Start Using It
That's it! The extension automatically generates .vscode/mcp.json and
pulls configuration from your IBM i on activation.
Open GitHub Copilot Chat (or your preferred MCP client) and ask questions like:
"Show me the call chain for program LOM710RP"
"Find all source members that reference CUSTMAST"
"What programs call SL001S?"
Available Tools
The MCP server exposes these tools to AI assistants:
Read-only
| Tool | What it does |
|---|---|
get_graph_top_down |
Forward call/dependency chain: all programs and data-entities this node interacts with |
get_graph_bottom_up |
Reverse call chain / impact analysis: all programs and data-entities that interact with this node |
get_program_info |
Metadata and description for a program or table (no source code) |
get_program_source |
Source code and source-file location for a program or table |
search_source_code_with_regex |
Search program source and table definitions for text matching a regular expression |
get_domains |
List all defined domains, including a 'No domain' entry for unassigned nodes |
Extension Commands
Open the command palette (Ctrl+Shift+P / Cmd+Shift+P) and type
Blueprint to see all commands:
| Command | Description |
|---|---|
| Blueprint: Install MCP Server | Install blueprint-mcp via uv / pipx / pip |
| Blueprint: Check for MCP Server Updates | Check PyPI for newer blueprint-mcp and prompt to install |
| Blueprint: Generate mcp.json | Write .vscode/mcp.json for the current workspace |
| Blueprint: Set API Key | Store the API key securely in the OS keychain |
| Blueprint: Refresh Settings from Server | Pull configuration from the IBM i |
| Blueprint: Save Settings to Server | Push local settings to the IBM i |
| Blueprint: Rebuild Dependency Graph | Trigger a full graph rebuild on the server |
| Blueprint: Save Settings & Rebuild Graph | Save + rebuild in one step |
Updates
The extension can check PyPI for newer releases of the MCP server. Use
the command Blueprint: Check for MCP Server Updates from the command
palette to run a manual check. On activation the extension performs a
background check when the blueprint.checkForUpdatesOnStartup setting is
true (default). If an update is available you'll be prompted to install
it via your chosen installer (uv / pipx / pip / standalone executable).
Output & Troubleshooting
The extension logs activity to the Sitemule Blueprint output channel (View → Output → select Sitemule Blueprint from the dropdown). Use this to follow config syncs, API calls, and diagnose connection issues.
The MCP server logs tool calls and API requests to the MCP: Sitemule Blueprint output channel.
Common Issues
| Problem | Solution |
|---|---|
spawn blueprint-mcp ENOENT |
The blueprint-mcp command is not on PATH. Install it (see Getting Started) or run Blueprint: Install MCP Server. |
uv not found (Windows) |
Install uv as Administrator — see the Windows instructions above. |
| Config fields are empty | Set API Host in settings, then run Blueprint: Refresh Settings from Server. |
| API key errors | Run Blueprint: Set API Key to store your key in the OS keychain. |
| Extension not activating | The extension activates when .vscode/mcp.json exists. Run Blueprint: Generate mcp.json. |
Requirements
- VS Code 1.85 or later
- GitHub Copilot (or any MCP-compatible AI client)
- blueprint-mcp installed and on PATH (Python 3.10+, or use a standalone executable)
- Network access to your IBM i running the Blueprint API
Links
Copyright © 2025 Sitemule. All rights reserved.
