ibmi-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| IBMI_SSL | No | Enable TLS | false |
| IBMI_HOST | Yes | IBM i hostname or IP | |
| IBMI_PORT | No | TN5250 port | 23 |
| IBMI_USER | No | Username for auto-signon | |
| IBMI_CODEPAGE | No | EBCDIC codepage | cp037 |
| IBMI_PASSWORD | No | Password for auto-signon | |
| IBMI_DEVICE_NAME | No | Virtual device name | |
| IBMI_TERMINAL_TYPE | No | Terminal type | IBM-3179-2 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| connectA | Connect to an IBM i system via TN5250. Args: host: IBM i hostname or IP. Defaults to IBMI_HOST env var. port: TN5250 port. Defaults to IBMI_PORT env var or 23. use_ssl: Enable TLS. Defaults to IBMI_SSL env var. Returns the initial screen after connection. |
| disconnectA | Disconnect the active TN5250 session. |
| read_screenA | Read the current 5250 screen content. Returns structured data with:
|
| send_keysB | Type text into the current input field at the cursor position. Args: text: The text to type. Returns the updated screen state. |
| send_keyA | Send an attention/function key and wait for the host response. Args: key: Key name. Valid values: Enter, F1-F24, PageUp, PageDown, Tab, Backtab, Clear, Help, Print, Attn. Returns the updated screen after the host processes the key. |
| set_cursorA | Position the cursor at the specified location. Args: row: Row number (1-based, top row is 1). col: Column number (1-based, leftmost column is 1). Returns the updated screen state. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/WhitehornLtd/ibmi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server