as400 mcp basics
Foundation tools for read-only exploration and analysis of IBM i (AS/400) systems via MCP.
Free
Works with the AI Agents you already use
as400 mcp basics
Example session with this skill installed
Check the system info and then list all physical files in the PRODLIB library that start with 'ORD'.
- Read your context and instructions
- Compiled the as400 mcp basics
I have retrieved the system information and filtered the table list for library PRODLIB.
IBM i System Status and Object List
| Property | Value |
|---|---|
| System Version | V7R4M0 |
| SQL_MAX_ROWS | 500 |
| SOURCE_MAX_LINES | 2000 |
| Locale | EN |
Physical Files in PRODLIB (Filter: ORD%)
| Library | File | Type | Text Description |
|---|---|---|---|
| PRODLIB | ORDHDRP | PHYSICAL | Order Header Master File |
| PRODLIB | ORDLINEP | PHYSICAL | Order Line Item Detail |
| PRODLIB | ORDSTATP | PHYSICAL | Order Status History |
| PRODLIB | ORDTXTP | PHYSICAL | Order Header Comments |
Note: The list was filtered to include only physical files starting with 'ORD'. Total of 4 objects found.
Next steps
- Use
as400_file_desconORDHDRPto inspect the field definitions and keys. - Run
as400_index_listto see which logical files are built over these physical files. - Use
as400_sql_queryto sample data from theORDSTATPtable.
Connects securely to your tools. The creator never sees your data.
About this skill
Interfacing with legacy IBM i (AS/400) systems often requires specialized terminal knowledge or proprietary tools. This skill provides a standardized way to explore and analyze IBM i environments using the my-mcp-as400 MCP server.
What it does
- System discovery retrieves connection status, OS versions, and active server limits.
- Source analysis reads and searches RPG, CL, and DDS source members with support for line-based navigation.
- Database exploration catalogs libraries, tables, views, and physical/logical files including field-level metadata.
- Object inspection retrieves metadata for compiled programs, service programs, and data areas.
- File system access browses and reads the Integrated File System (IFS) and spooled files (joblogs/reports).
- Cross-reference mapping identifies dependencies between source members and database objects.
How it works
- Initialize the session by calling
as400_system_infoto verify connectivity and resource constraints. - Locate target objects using
as400_schema_listoras400_table_listwith SQL-style filters. - Inspect specific logic or data using specialized tools like
as400_source_readoras400_sql_query. - Handle localized environments by checking the
LOCALEparameter to map English or Italian field names.
Frameworks & tools
This skill requires the my-mcp-as400 MCP server. It interacts with IBM i (AS/400, iSeries) systems via DB2 for i, RPG, CL, and DDS.
Why this beats prompting it yourself
Standard LLM prompts struggle with the strict 10-character naming conventions and the specific library/member hierarchy of IBM i. This skill enforces correct tool selection and handles the complex parameter mapping required for different system locales.
Use cases
- Audit legacy RPG or CL source code for specific business logic or hardcoded values.
- Map database dependencies and foreign key constraints across large libraries.
- Retrieve and analyze system joblogs or spooled reports for troubleshooting.
- Explore IFS directory structures to locate configuration or log files.
Known limitations
The server is strictly read-only. It cannot execute CL commands, call programs, or modify any data or source members. Object names are limited to 10 characters.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.
Read-only access only. No support for CL command execution or program calls. 10-character limit on object names. Large results are capped and require paging.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 7 days ago
- Free with an Agensi account
- Software
- My As400 MCP