Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Las reseñas y las cuentas llegarán en una etapa posterior.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

Interactive Terminal

de amol21pversión 1.0.7i★ –iSe ejecuta en tu computadora
Nombre en el registroio.github.amol21p/interactive-terminal

Instalar

Resumen

Descripción del creador (original en inglés)

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

Los tres pilares de PopNx MCP

Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.

Qué puedes hacer con él

Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.

  • Conexión: Se ejecuta en tu computadora
  • Transporte: stdio
  • Categoría: Herramientas para desarrolladores

Instalación

Elige la app de IA que usas y copia la configuración.

Antes de instalar

  • Revisiones básicas: 1 de 1 superadas
  • Se ejecuta en tu computadora con los permisos de tu usuario (archivos, red, apps).
  • Debes completar tú: MCP_TERMINAL_MAX_SESSIONS, MCP_TERMINAL_SANDBOX, MCP_TERMINAL_REDACT_SECRETS

Necesitas

  • npmNode.js instalado (para el comando npx)

¿Qué app usas?

Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.

Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json

{
  "mcpServers": {
    "interactive-terminal": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-interactive-terminal"
      ],
      "env": {
        "MCP_TERMINAL_MAX_SESSIONS": "your-value",
        "MCP_TERMINAL_SANDBOX": "your-value",
        "MCP_TERMINAL_REDACT_SECRETS": "your-value"
      }
    }
  }
}

Ejecuta esto en tu terminal

claude mcp add interactive-terminal --env MCP_TERMINAL_MAX_SESSIONS=your-value --env MCP_TERMINAL_SANDBOX=your-value --env MCP_TERMINAL_REDACT_SECRETS=your-value -- npx -y mcp-interactive-terminal

Completa los valores vacíos antes de ejecutarlo.

Abrir en Cursor

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

{
  "mcpServers": {
    "interactive-terminal": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-interactive-terminal"
      ],
      "env": {
        "MCP_TERMINAL_MAX_SESSIONS": "your-value",
        "MCP_TERMINAL_SANDBOX": "your-value",
        "MCP_TERMINAL_REDACT_SECRETS": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Abrir en VS Code

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

{
  "servers": {
    "interactive-terminal": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-interactive-terminal"
      ],
      "env": {
        "MCP_TERMINAL_MAX_SESSIONS": "your-value",
        "MCP_TERMINAL_SANDBOX": "your-value",
        "MCP_TERMINAL_REDACT_SECRETS": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.

Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.

Valores que debes completar

  • MCP_TERMINAL_MAX_SESSIONS env
    Maximum concurrent sessions
  • MCP_TERMINAL_SANDBOX env
    Enable OS-level kernel sandboxing
  • MCP_TERMINAL_REDACT_SECRETS env
    Redact AWS keys, tokens, private keys in output

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

Qué puede hacer

Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 7 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub amol21p, dueña del repo

  • … Aún sin revisar

    Sigue en mantenimiento

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    Tiene licencia

    Todavía no hemos leído este repo en GitHub

  • – No aplica

    El endpoint responde

    Este se ejecuta en tu computadora; no hay endpoint en internet

  • – No aplica

    Inicio de sesión con OAuth

    Se ejecuta en tu computadora y usa ajustes locales en su lugar

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet

Comparado con otros en Herramientas para desarrolladoresi

  • Más estrellas que el 0% de los otros 1393 servidores de esta categoría
  • Publicado en el registro más recientemente que el 5% de los otros 1393 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 1393 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro Interactive Terminal?

Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez –, y la última versión (1.0.7) llegó al registro hace 9 meses.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Node.js en tu computadora.

¿Qué puedo usar en su lugar?

En la misma categoría: GitHub, Desktop Commander, Cloudflare MCP

Alternativas

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

GitHub

de github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

Computadora o nube★ 34.245MITActualizado hace 3 días
Instalar

Desktop Commander

de wonderwhy-er

MCP server for terminal commands, file operations, and process management

Se ejecuta en tu computadora★ 10.225MITActualizado hace 15 días
Instalar

Cloudflare MCP

de cloudflare

Cloudflare MCP servers

Se ejecuta en la nube★ 4446Apache-2.0Actualizado hace 14 meses
Instalar

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

mcp-interactive-terminal

MCP server that gives AI agents (Claude Code, Cursor, Windsurf, etc.) real interactive terminal sessions. Run REPLs, SSH, database clients, and any interactive CLI — with clean text output, smart completion detection, and 7-layer security.

Why This Exists

AI coding agents can't handle interactive commands. There's no PTY, no stdin streaming. You can't run rails console, python, psql, ssh, or any REPL through them. This MCP server fixes that.

AI Agent (Claude Code, Cursor, etc.)

↕ MCP (JSON-RPC over stdio) mcp-interactive-terminal ↕ node-pty + xterm-headless Interactive Process (rails console, python, psql, ssh, bash...) ↕ Clean text output (exactly what a human would see)

Install

Claude Code
claude mcp add terminal -- npx -y mcp-interactive-terminal

That's it. The server is now available. Ask Claude to "open a python REPL and calculate 2**100".

Cursor

Go to Settings > MCP Servers, click Add Server, and enter:

{

"mcpServers": { "terminal": { "command": "npx", "args": ["-y", "mcp-interactive-terminal"] } } }

Windsurf

Add to your MCP configuration:

{

"mcpServers": { "terminal": { "command": "npx", "args": ["-y", "mcp-interactive-terminal"] } } }

VS Code (GitHub Copilot)

Add to your .vscode/mcp.json:

{

"servers": { "terminal": { "command": "npx", "args": ["-y", "mcp-interactive-terminal"] } } }

Any MCP Client

The server communicates over stdio using the Model Context Protocol. Any MCP-compatible client can use it with the same npx -y mcp-interactive-terminal command.

Real-World Examples

Rails Console
You: "Open rails console for staging and check the user count"

Agent creates session → bash Agent sends: cd /path/to/app && rails console -e staging Agent sends: User.count Agent returns: 1,847,293

Python REPL
You: "Open python and test my sorting algorithm"

Agent creates session → python3 Agent sends: def quicksort(arr): ... Agent sends: quicksort([3, 1, 4, 1, 5, 9]) Agent returns: [1, 1, 3, 4, 5, 9]

Database Client
You: "Connect to postgres and show me the largest tables"

Agent creates session → psql -U myuser mydb Agent sends: SELECT tablename, pg_size_pretty(pg_total_relation_size(tablename::text)) ... Agent returns: formatted table of results

SSH
You: "SSH into the staging server and check disk usage"

Agent creates session → ssh user@staging.example.com Agent sends: df -h Agent returns: disk usage table

Docker
You: "Open a shell in my running container and check the logs"

Agent creates session → docker exec -it my-container bash Agent sends: tail -100 /var/log/app.log Agent returns: last 100 log lines

Node.js REPL
You: "Open node and test the date parsing logic"

Agent creates session → node Agent sends: new Date('2024-02-29').toISOString() Agent returns: 2024-02-29T00:00:00.000Z

Tools

The server exposes 7 MCP tools:

create_session — Spawn an interactive process
{ "command": "python3", "name": "my-python", "cwd": "/project" }

→ { "session_id": "a1b2c3d4", "name": "my-python", "pid": 12345 }

ParameterRequiredDefaultDescription
commandYes—Command to run (bash, python3, psql, ssh, etc.)
argsNo[]Command arguments
nameNoautoHuman-readable session name
cwdNoserver cwdWorking directory
envNo{}Additional environment variables
colsNo120Terminal columns
rowsNo40Terminal rows
send_command — Send input and get output
{ "session_id": "a1b2c3d4", "input": "1 + 1" }

→ { "output": "2", "is_complete": true, "is_alive": true }

ParameterRequiredDefaultDescription
session_idYes—Target session
inputYes—Command/input to send (newline appended automatically)
timeout_msNo5000Max wait time for output
max_output_charsNo20000Truncate output beyond this

Dangerous commands (rm -rf, DROP TABLE, curl|bash, etc.) are blocked — the agent must use confirm_dangerous_command first.

read_output — Read terminal screen (read-only)
{ "session_id": "a1b2c3d4" }

→ { "output": ">>> ", "is_alive": true }

Safe to auto-approve — this only reads, never sends input.

list_sessions — List active sessions (read-only)
→ [{ "session_id": "a1b2c3d4", "name": "my-python", "command": "python3", "pid": 12345, "is_alive": true }]

Safe to auto-approve.

close_session — Kill a session
{ "session_id": "a1b2c3d4" }

→ { "success": true }

send_control — Send control characters
{ "session_id": "a1b2c3d4", "control": "ctrl+c" }

→ { "output": "^C\n>>>" }

Supported: ctrl+c, ctrl+d, ctrl+z, ctrl+l, ctrl+r, tab, escape, up, down, left, right, enter, backspace, delete, home, end, and more.

confirm_dangerous_command — Two-step safety confirmation
{ "session_id": "a1b2c3d4", "input": "rm -rf /tmp/old", "justification": "Cleaning up stale temp files from failed build" }

→ { "output": "...", "is_complete": true, "is_alive": true }

Required when send_command detects a dangerous pattern. The agent must explain why the command is necessary. This is a separate tool — even if send_command is auto-approved, this requires its own permission.

How It Works

Two Terminal Modes

PTY mode (default) — uses node-pty + @xterm/headless (the same terminal emulator as VS Code):

  • Clean output — the AI sees exactly what a human would see on screen
  • Cursor positioning, progress bars, \r overwrites all render correctly
  • Full keyboard: arrow keys, tab completion, ctrl+c/d/z, home/end
  • Terminal resize, TUI apps (vim, htop, top), 256-color, 1000-line scrollback

Pipe mode (automatic fallback) — activates when node-pty can't load (e.g., in sandboxed environments):

  • Interactive sessions still work via child_process.spawn with auto-injected flags (python -u -i, bash -i, etc.)
  • ANSI codes stripped, control keys still work
  • No terminal emulation, but covers the basics

The mode is selected automatically — PTY is tried first, pipe mode kicks in if it fails.

What the AI sees: PTY vs Pipe
ScenarioPTY modePipe mode
printf "\rProgress: 3/3"Progress: 3/3Progress: 1/3Progress: 2/3Progress: 3/3
ANSI colorsStripped cleanlyStripped via regex
vim, htop, topReadable screenGarbled
Arrow keys, tab completionWorksWorks
Terminal resizeWorksNo-op
Smart "Command Done" Detection

Instead of blindly waiting a fixed time, the server uses a layered strategy:

  1. Process exit — if the process died, command is done
  2. Prompt detection — auto-detects the session's prompt at startup (bash $, python >>>, psql #, etc.), watches for it to reappear
  3. Output settling — no new output for 300ms = probably done
  4. Timeout — always returns after timeout_ms with is_complete: false

Security

Seven-layer defense-in-depth:

LayerWhat It DoesDefault
MCP Tool AnnotationsreadOnlyHint/destructiveHint on each toolAlways on
Confirmation FlowDangerous patterns require confirm_dangerous_commandAlways on
Input Pattern DetectionDetect rm -rf, DROP TABLE, curl\bash, etc.Always on
Command Blocklist/AllowlistBlock/allow specific commandsConfigurable
OS-Level SandboxKernel-level process sandboxing via @anthropic-ai/sandbox-runtimeOff (opt-in)
Secret RedactionRedact AWS keys, tokens, private keys in outputOff (opt-in)
Resource LimitsMax sessions, output cap, idle timeout, audit loggingAlways on
Recommended Permissions

Only auto-approve the read-only tools:

{

"permissions": { "allow": [ "mcpterminallist_sessions", "mcpterminalread_output" ] } }

This way send_command, create_session, and especially confirm_dangerous_command always require human approval.

Configuration

All settings via environment variables. Pass them in your MCP config:

{

"mcpServers": { "terminal": { "command": "npx", "args": ["-y", "mcp-interactive-terminal"], "env": { "MCP_TERMINAL_ALLOWED_COMMANDS": "bash,python3,node,psql", "MCP_TERMINAL_REDACT_SECRETS": "true", "MCP_TERMINAL_IDLE_TIMEOUT": "300000" } } } }

VariableDefaultDescription
MCP_TERMINAL_MAX_SESSIONS10Max concurrent sessions
MCP_TERMINAL_MAX_OUTPUT20000Max output chars per read
MCP_TERMINAL_DEFAULT_TIMEOUT5000Default wait timeout (ms)
MCP_TERMINAL_BLOCKED_COMMANDS—Comma-separated blocklist
MCP_TERMINAL_ALLOWED_COMMANDS—Comma-separated allowlist (if set, only these are allowed)
MCP_TERMINAL_ALLOWED_PATHS—Comma-separated paths sessions can access
MCP_TERMINAL_REDACT_SECRETSfalseRedact AWS keys, tokens, private keys in output
MCP_TERMINAL_LOG_INPUTSfalseLog all inputs to stderr (for debugging)
MCP_TERMINAL_IDLE_TIMEOUT1800000Auto-close idle sessions (ms, default 30min, 0 = disabled)
MCP_TERMINAL_DANGER_DETECTIONtrueEnable dangerous command confirmation flow
MCP_TERMINAL_AUDIT_LOG—Path to JSON audit log file
MCP_TERMINAL_SANDBOXfalseEnable OS-level kernel sandboxing
MCP_TERMINAL_SANDBOX_ALLOW_WRITE/tmpWritable paths in sandbox mode
MCP_TERMINAL_SANDBOX_ALLOW_NETWORK*Allowed network domains in sandbox

Troubleshooting

"Tools not showing up" / Server fails silently

MCP servers that fail to start often show no error in the client. Check:

# Test the server directly:

npx -y mcp-interactive-terminal

You should see "[mcp-terminal] Starting MCP Interactive Terminal Server" on stderr.

If you see an error, that's what's failing.

Node.js version too old

The server requires Node.js >= 18. If you see errors about unsupported syntax or missing APIs:

node --version  # Must be >= 18

If using nvm:

nvm install 18 && nvm use 18

If using volta:

volta install node@18

For nvm/volta/fnm users: npx may use a different Node version than your shell. Use an absolute path:

{

"mcpServers": { "terminal": { "command": "/Users/you/.nvm/versions/node/v22.0.0/bin/npx", "args": ["-y", "mcp-interactive-terminal"] } } }

Find your path with: which npx

node-pty compilation errors

node-pty is a native module that requires build tools. If it fails to compile, the server automatically falls back to pipe mode — interactive sessions still work, just without terminal emulation.

If you want full PTY support:

# macOS:

xcode-select --install

Ubuntu/Debian:

sudo apt-get install -y make python3 build-essential

RHEL/Fedora:

sudo yum install -y make python3 gcc gcc-c++

Session dies immediately

Some commands need to be run inside a shell rather than directly:

# Instead of:  create_session({ command: "rails console -e staging" })

Do this: create_session({ command: "bash"

Solo se muestra el principio; lee el resto en el repo

Pregunta a PopNx