Skip to main content
Glama
arunkumars-mf

z/OS FTP MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ZFTP_HOSTYesYour mainframe host
ZFTP_PORTNoFTP port (default: 21)21
ZFTP_USERYesYour username
ZFTP_DEBUGNoSet to 'true' for detailed FTP protocol loggingfalse
ZFTP_TIMEOUTNoTimeout in seconds (default: 600.0)600.0
ZFTP_PASSWORDYesYour password
ZFTP_ALLOW_WRITENoSet to 'true' to enable upload/submit operationsfalse
ZFTP_DOWNLOAD_PATHNoPath to downloads
ZFTP_DEFAULT_ENCODINGNoCharacter encoding conversion (e.g., IBM-037,UTF-8)IBM-037,UTF-8
ZFTP_DEFAULT_LINE_ENDINGNoLine ending format: CRLF, LF, CR, NONELF
ZFTP_PRESERVE_TRAILING_SPACESNoSet to 'true' to preserve trailing spacesfalse

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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 8 tools

Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness2/5

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.

Maintenance

ActivityInactive
ResponsivenessNo issues