The MCP server provides AI agents with interactive terminal sessions, enabling them to run REPLs, SSH, database clients, and other interactive command-line interfaces with enhanced output and security features.
From the registry: MCP server for real interactive terminal sessions — REPLs, SSH, databases, Docker
Please install the `interactive-terminal` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Node.js 18+** — Node.js version 18 or later required.
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","mcp-interactive-terminal"]
- optional environment variables:
- `MCP_TERMINAL_MAX_SESSIONS`: Max concurrent sessions (example: `10`)
- `MCP_TERMINAL_MAX_OUTPUT`: Max output chars per read (example: `20000`)
- `MCP_TERMINAL_DEFAULT_TIMEOUT`: Default wait timeout (ms) (example: `5000`)
- `MCP_TERMINAL_BLOCKED_COMMANDS`: Comma-separated blocklist
- `MCP_TERMINAL_ALLOWED_COMMANDS`: Comma-separated allowlist
- `MCP_TERMINAL_ALLOWED_PATHS`: Comma-separated accessible paths
- `MCP_TERMINAL_REDACT_SECRETS`: Redact secrets in output (example: `false`)
- `MCP_TERMINAL_LOG_INPUTS`: Log all inputs to stderr (example: `false`)
- `MCP_TERMINAL_IDLE_TIMEOUT`: Auto-close idle sessions (ms) (example: `1800000`)
- `MCP_TERMINAL_DANGER_DETECTION`: Enable dangerous command confirmation (example: `true`)
- `MCP_TERMINAL_AUDIT_LOG`: Path to JSON audit log
- `MCP_TERMINAL_SANDBOX`: Enable OS-level kernel sandboxing (example: `false`)
- `MCP_TERMINAL_SANDBOX_ALLOW_WRITE`: Writable paths in sandbox mode (example: `/tmp`)
- `MCP_TERMINAL_SANDBOX_ALLOW_NETWORK`: Allowed network domains in sandbox (example: `*`)
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.MCP_TERMINAL_ALLOWED_COMMANDSrequiredComma-separated list of commands that are allowed to be executed.MCP_TERMINAL_REDACT_SECRETSrequiredIndicates whether to redact AWS keys, tokens, and private keys in output.MCP_TERMINAL_IDLE_TIMEOUTrequiredAuto-close idle sessions after the specified time in milliseconds.Real-time Kubernetes network traffic visibility and API analysis for HTTP, gRPC, Redis, Kafka, DNS.