ibmz
v1.0.1IBM Z mainframe MCP server - Key Protect HSM & z/OS
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
key_protect_list_keys
List encryption keys from IBM Key Protect (HSM-backed on IBM Z infrastructure, FIPS 140-2 Level 3 certified)
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of keys to return (default: 100) |
offset | number | Number of keys to skip for pagination |
state | array | Filter by key states: 1=Active, 2=Suspended, 3=Deactivated, 5=Destroyed |
key_protect_create_key
Create a new encryption key in IBM Key Protect HSM. Root keys protect other keys (envelope encryption). Standard keys encrypt data directly.
| Parameter | Type | Description |
|---|---|---|
name * | string | Unique name for the key |
description | string | Description of the key's purpose |
extractable | boolean | If true, key material can be exported (only for standard_key) |
payload | string | Optional: Base64-encoded key material to import (for BYOK scenarios) |
type | string | root_key for wrapping other keys, standard_key for direct encryption |
key_protect_get_key
Get metadata and details of a specific key from IBM Key Protect
| Parameter | Type | Description |
|---|---|---|
key_id * | string | The unique ID of the key |
key_protect_wrap_key
Wrap (encrypt) a data encryption key using a root key. Used for envelope encryption - protects DEKs with a KEK stored in HSM.
| Parameter | Type | Description |
|---|---|---|
key_id * | string | ID of the root key to use for wrapping |
plaintext * | string | Base64-encoded plaintext data encryption key (DEK) to wrap |
aad | array | Additional authenticated data for AEAD (optional, must match on unwrap) |
key_protect_unwrap_key
Unwrap (decrypt) a wrapped data encryption key using a root key
| Parameter | Type | Description |
|---|---|---|
ciphertext * | string | Base64-encoded wrapped (encrypted) data encryption key |
key_id * | string | ID of the root key used to wrap the DEK |
aad | array | Additional authenticated data (must match what was used during wrap) |
key_protect_rotate_key
Rotate a root key. Creates new key version while maintaining ability to unwrap data encrypted with previous versions.
| Parameter | Type | Description |
|---|---|---|
key_id * | string | ID of the root key to rotate |
payload | string | Optional: Base64-encoded new key material for BYOK rotation |
key_protect_delete_key
Delete a key from IBM Key Protect. WARNING: This is irreversible and data encrypted with this key becomes unrecoverable.
| Parameter | Type | Description |
|---|---|---|
key_id * | string | ID of the key to delete |
force | boolean | Force delete even if key has associated resources |
key_protect_get_key_policies
Get policies applied to a key (rotation, dual authorization)
| Parameter | Type | Description |
|---|---|---|
key_id * | string | ID of the key |
zos_connect_list_services
List all available z/OS Connect services (REST APIs exposing mainframe programs). Each service maps to CICS transactions, IMS programs, or batch jobs.
zos_connect_get_service
Get detailed information about a z/OS Connect service including its OpenAPI specification and endpoint mappings
| Parameter | Type | Description |
|---|---|---|
service_name * | string | Name of the z/OS Connect service |
zos_connect_call_service
Call a z/OS Connect REST API to interact with mainframe programs. Maps JSON to COBOL copybooks automatically.
| Parameter | Type | Description |
|---|---|---|
service_name * | string | Name of the z/OS Connect service to invoke |
method | string | HTTP method |
operation | string | API operation path (e.g., /accounts, /customers/{id}) |
path_params | object | Path parameters for URL template substitution |
payload | object | JSON request body (automatically mapped to COBOL structures) |
query_params | object | Query string parameters |
zos_connect_list_apis
List all deployed API requester configurations (outbound calls from z/OS to external services)
zos_connect_health
Check the health status of the z/OS Connect server and connected subsystems