Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TARGET_HOSTNoThe IP address or hostname of the target system
TARGET_PORTNoThe SSH port of the target system22
TARGET_USERNoThe SSH username for the target system
MAX_SESSIONSNoMaximum number of concurrent tmux sessions20
POLL_INTERVALNoHealth check interval in seconds1.0
HEAVY_COMMANDSNoComma-separated list of commands considered heavy operationsnmap,masscan,hydra,john,hashcat,sqlmap
TARGET_SSH_KEYNoPath to the SSH private key file (alternative to password authentication)
DEFAULT_TIMEOUTNoDefault command timeout in seconds300
MAX_HEAVY_TASKSNoMaximum number of concurrent heavy operations3
TARGET_PASSWORDNoThe SSH password for the target system
TMUX_SOCKET_NAMENoCustom tmux socket namemcp-pentest
TMUX_SESSION_PATHNoSession persistence location/tmp/mcp-sessions
RECONNECT_DELAY_BASENoExponential backoff base for reconnection delays2
MAX_RECONNECT_ATTEMPTSNoMaximum number of reconnection attempts5

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LayeSec006/pentest-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server