Skip to main content
Glama
jms-ssh-mcp
by digyear

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
JMS_SSH_HOSTYesJumpServer bastion hostname.
JMS_SSH_PORTNoSSH port of the bastion.2222
JMS_SSH_DEBUGNoSet to enable prompt and timing lines on stderr.off
JMS_SSH_ACCOUNTNoDefault system user for every jms_ssh_run; a per-call account wins.
JMS_SSH_PASSWORDNoBastion password. Alternatively use JMS_SSH_PASSWORD_ENV.
JMS_SSH_USERNAMEYesBastion username.
JMS_SSH_ALLOW_ALLNoSet to disable the read-only command allowlist.off
JMS_SSH_AUDIT_LOGNoPath to a JSONL audit trail file; unset disables audit logging.
JMS_SSH_ENTER_KEYNoEnter key: cr, lf, or a char code; KoKo needs cr.cr
JMS_SSH_RECONNECTNoSet to 0 to disable the one automatic reconnect retry.on
JMS_SSH_MCP_CONFIGNoPath to a multi-bastion config file instead of the direct connection keys.
JMS_SSH_OTP_SECRETNoBase32 TOTP seed or a full otpauth:// URI.
JMS_SSH_PASSPHRASENoPassphrase for an encrypted private key.
JMS_SSH_LIST_PROMPTNoRegex for the paged asset list prompt.\[(Host|Node|Asset|…)\]>\s*$
JMS_SSH_MENU_PROMPTNoRegex for the bastion's menu prompt.Opt>\s*$
JMS_SSH_AUDIT_OUTPUTNoSet to include output text in the audit trail.off
JMS_SSH_KEEPALIVE_MSNoKeepalive interval in milliseconds.15000
JMS_SSH_MAX_SESSIONSNoConcurrent host connections, with LRU eviction.8
JMS_SSH_PASSWORD_ENVNoName of another environment variable containing the bastion password.
JMS_SSH_SHELL_PROMPTNoRegex for the target host shell prompt.[#$]\s*$
JMS_SSH_OTP_SECRET_ENVNoName of another environment variable containing the TOTP secret or otpauth:// URI.
JMS_SSH_IDLE_TIMEOUT_MSNoIdle connection timeout in milliseconds; 0 keeps connections until closed.0
JMS_SSH_MENU_OPTION_MAXNoHighest number the bastion menu itself owns.11
JMS_SSH_ALLOWED_COMMANDSNoComma-separated command names or regexes allowed by the read-only allowlist; defaults to a read-only set.
JMS_SSH_ALLOWED_PREFIXESNoComma-separated allowed command prefixes; defaults include 'sudo journalctl', 'docker logs', 'kubectl get', etc.
JMS_SSH_MAX_BUFFER_CHARSNoMaximum shell buffer size per connection.4194304
JMS_SSH_MAX_OUTPUT_BYTESNoMaximum bytes returned by a tool.262144
JMS_SSH_MAX_RESULT_BYTESNoMaximum serialized JSON reply size.1048576
JMS_SSH_PRIVATE_KEY_PATHNoPath to a private key for key authentication instead of a password.
JMS_SSH_COMMAND_TIMEOUT_MSNoPer-command timeout in milliseconds.30000
JMS_SSH_CONNECT_TIMEOUT_MSNoLogin and menu navigation timeout in milliseconds.20000

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources