Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
--ptyNoAllocate a pseudo-terminal for command execution. Default: true.
--sshNoSSH connection configuration, either as a JSON string or legacy comma-separated key=value format. Can be repeated.
--hostNoSSH server host address or an alias from the SSH config. Comma-separated values enable multi-connection mode.
--portNoSSH server port.
--agentNoSSH agent socket path.
--proxyNoProxy URL for SOCKS5, HTTP, or HTTPS proxy access.
--passwordNoSSH password.
--usernameNoSSH username.
--blacklistNoComma-separated regular expressions for commands blocked from execution.
--http-hostNoHTTP listen address. Default: 127.0.0.1.
--http-pathNoHTTP endpoint path. Default: /mcp.
--http-portNoHTTP listen port. Default: 3000; 0 lets the system choose.
--whitelistNoComma-separated regular expressions for commands allowed to execute.
--http-tokenNoHTTP Bearer token. Falls back to SSH_MCP_HTTP_TOKEN when omitted.
--passphraseNoPassphrase for the SSH private key, if encrypted.
--privateKeyNoPath to an SSH private key file.
--socksProxyNoLegacy SOCKS5 proxy URL. Do not use together with --proxy.
--config-fileNoPath to a JSON configuration file for one or more SSH connections. Recommended for multi-server setups.
--pre-connectNoPre-connect all configured SSH servers at startup.
--try-keyboardNoEnable keyboard-interactive authentication for 2FA/MFA. Default: false.
--mcp-transportNoMCP client transport: stdio or http. Default: stdio.
--transport-modeNoSSH transport mode: exec or shell. Default: exec.
SSH_MCP_2FA_CODENo2FA/MFA verification code for keyboard-interactive authentication.
--ssh-config-fileNoPath to the SSH config file. Default: ~/.ssh/config.
--command-templateNoTemplate used to wrap each command. Use <quotedCommand> or <command>.
SSH_MCP_HTTP_TOKENNoHTTP Bearer token for Streamable HTTP transport.
--allowed-local-pathsNoComma-separated extra local paths allowed for upload/download.
--shell-ready-timeoutNoShell readiness probe timeout in milliseconds. Default: 10000.
--allowed-remote-pathsNoComma-separated absolute remote paths allowed for SFTP upload/download.

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