jms-ssh-mcp
by digyear
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| JMS_SSH_HOST | Yes | JumpServer bastion hostname. | |
| JMS_SSH_PORT | No | SSH port of the bastion. | 2222 |
| JMS_SSH_DEBUG | No | Set to enable prompt and timing lines on stderr. | off |
| JMS_SSH_ACCOUNT | No | Default system user for every jms_ssh_run; a per-call account wins. | |
| JMS_SSH_PASSWORD | No | Bastion password. Alternatively use JMS_SSH_PASSWORD_ENV. | |
| JMS_SSH_USERNAME | Yes | Bastion username. | |
| JMS_SSH_ALLOW_ALL | No | Set to disable the read-only command allowlist. | off |
| JMS_SSH_AUDIT_LOG | No | Path to a JSONL audit trail file; unset disables audit logging. | |
| JMS_SSH_ENTER_KEY | No | Enter key: cr, lf, or a char code; KoKo needs cr. | cr |
| JMS_SSH_RECONNECT | No | Set to 0 to disable the one automatic reconnect retry. | on |
| JMS_SSH_MCP_CONFIG | No | Path to a multi-bastion config file instead of the direct connection keys. | |
| JMS_SSH_OTP_SECRET | No | Base32 TOTP seed or a full otpauth:// URI. | |
| JMS_SSH_PASSPHRASE | No | Passphrase for an encrypted private key. | |
| JMS_SSH_LIST_PROMPT | No | Regex for the paged asset list prompt. | \[(Host|Node|Asset|…)\]>\s*$ |
| JMS_SSH_MENU_PROMPT | No | Regex for the bastion's menu prompt. | Opt>\s*$ |
| JMS_SSH_AUDIT_OUTPUT | No | Set to include output text in the audit trail. | off |
| JMS_SSH_KEEPALIVE_MS | No | Keepalive interval in milliseconds. | 15000 |
| JMS_SSH_MAX_SESSIONS | No | Concurrent host connections, with LRU eviction. | 8 |
| JMS_SSH_PASSWORD_ENV | No | Name of another environment variable containing the bastion password. | |
| JMS_SSH_SHELL_PROMPT | No | Regex for the target host shell prompt. | [#$]\s*$ |
| JMS_SSH_OTP_SECRET_ENV | No | Name of another environment variable containing the TOTP secret or otpauth:// URI. | |
| JMS_SSH_IDLE_TIMEOUT_MS | No | Idle connection timeout in milliseconds; 0 keeps connections until closed. | 0 |
| JMS_SSH_MENU_OPTION_MAX | No | Highest number the bastion menu itself owns. | 11 |
| JMS_SSH_ALLOWED_COMMANDS | No | Comma-separated command names or regexes allowed by the read-only allowlist; defaults to a read-only set. | |
| JMS_SSH_ALLOWED_PREFIXES | No | Comma-separated allowed command prefixes; defaults include 'sudo journalctl', 'docker logs', 'kubectl get', etc. | |
| JMS_SSH_MAX_BUFFER_CHARS | No | Maximum shell buffer size per connection. | 4194304 |
| JMS_SSH_MAX_OUTPUT_BYTES | No | Maximum bytes returned by a tool. | 262144 |
| JMS_SSH_MAX_RESULT_BYTES | No | Maximum serialized JSON reply size. | 1048576 |
| JMS_SSH_PRIVATE_KEY_PATH | No | Path to a private key for key authentication instead of a password. | |
| JMS_SSH_COMMAND_TIMEOUT_MS | No | Per-command timeout in milliseconds. | 30000 |
| JMS_SSH_CONNECT_TIMEOUT_MS | No | Login 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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues