z/OS FTP MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ZFTP_HOST | Yes | Your mainframe host | |
| ZFTP_PORT | No | FTP port (default: 21) | 21 |
| ZFTP_USER | Yes | Your username | |
| ZFTP_DEBUG | No | Set to 'true' for detailed FTP protocol logging | false |
| ZFTP_TIMEOUT | No | Timeout in seconds (default: 600.0) | 600.0 |
| ZFTP_PASSWORD | Yes | Your password | |
| ZFTP_ALLOW_WRITE | No | Set to 'true' to enable upload/submit operations | false |
| ZFTP_DOWNLOAD_PATH | No | Path to downloads | |
| ZFTP_DEFAULT_ENCODING | No | Character encoding conversion (e.g., IBM-037,UTF-8) | IBM-037,UTF-8 |
| ZFTP_DEFAULT_LINE_ENDING | No | Line ending format: CRLF, LF, CR, NONE | LF |
| ZFTP_PRESERVE_TRAILING_SPACES | No | Set to 'true' to preserve trailing spaces | false |
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 |
|---|---|
| list_catalogB | List datasets from mainframe catalog matching a pattern with pagination support |
| download_binaryB | Download a dataset from mainframe in binary format |
| download_textC | Download a dataset from mainframe in text format |
| download_pds_membersC | Download members from a partitioned dataset (PDS) |
| list_jes_jobsC | List jobs from JES spool with pagination support |
| get_job_infoC | Get job information and spool files for a specific job ID |
| download_job_spoolC | Download spool output for a specific job |
| get_connection_infoB | Get current connection information for the mainframe |
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/arunkumars-mf/zos-ftp-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server