Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TARGET_HOST | No | The IP address or hostname of the target system | |
| TARGET_PORT | No | The SSH port of the target system | 22 |
| TARGET_USER | No | The SSH username for the target system | |
| MAX_SESSIONS | No | Maximum number of concurrent tmux sessions | 20 |
| POLL_INTERVAL | No | Health check interval in seconds | 1.0 |
| HEAVY_COMMANDS | No | Comma-separated list of commands considered heavy operations | nmap,masscan,hydra,john,hashcat,sqlmap |
| TARGET_SSH_KEY | No | Path to the SSH private key file (alternative to password authentication) | |
| DEFAULT_TIMEOUT | No | Default command timeout in seconds | 300 |
| MAX_HEAVY_TASKS | No | Maximum number of concurrent heavy operations | 3 |
| TARGET_PASSWORD | No | The SSH password for the target system | |
| TMUX_SOCKET_NAME | No | Custom tmux socket name | mcp-pentest |
| TMUX_SESSION_PATH | No | Session persistence location | /tmp/mcp-sessions |
| RECONNECT_DELAY_BASE | No | Exponential backoff base for reconnection delays | 2 |
| MAX_RECONNECT_ATTEMPTS | No | Maximum number of reconnection attempts | 5 |
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 | |