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 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| 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 | |
TDQS
Scored across 8 tools
Each tool targets a distinct operation: downloading datasets in binary or text, downloading job spool, downloading PDS members, listing datasets or jobs, and retrieving connection or job info. There is no ambiguity between tools.
All tool names follow a consistent verb_noun pattern using snake_case (e.g., download_binary, list_catalog). The verbs are imperative and clearly describe the action, and the nouns specify the resource.
With 8 tools, the server covers the main operations for interacting with a mainframe via FTP (listing catalogs and jobs, downloading datasets in two formats, job spool, and PDS members, plus connection info). The count is well-scoped and not excessive.
The tool set is heavily read-oriented, missing upload operations (e.g., upload_binary, upload_text), the ability to list PDS members, and job management tools like submit or delete. These gaps significantly limit the server's usefulness for full FTP workflows.