Skip to content
VS Code

interactive terminal for VS Code

io.github.amol21p/interactive-terminal

MCP server for real interactive terminal sessions — REPLs, SSH, databases, Docker

client:VS Code transport:stdio runtime:npm

Install interactive terminal in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-terminal-max-sessions",
      "description": "MCP_TERMINAL_MAX_SESSIONS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-terminal-sandbox",
      "description": "MCP_TERMINAL_SANDBOX",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-terminal-redact-secrets",
      "description": "MCP_TERMINAL_REDACT_SECRETS",
      "password": true
    }
  ],
  "servers": {
    "interactive-terminal": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-interactive-terminal"
      ],
      "env": {
        "MCP_TERMINAL_MAX_SESSIONS": "${input:mcp-terminal-max-sessions}",
        "MCP_TERMINAL_SANDBOX": "${input:mcp-terminal-sandbox}",
        "MCP_TERMINAL_REDACT_SECRETS": "${input:mcp-terminal-redact-secrets}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

interactive terminal in other clients