Interactive MCP Server

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

Local serverstdioPython

What is the Interactive MCP Server?

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

What it actually does

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.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Interactive MCP Server

{
  "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"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
MCP_TERMINAL_ALLOWED_COMMANDSConfiguration value read at startup.Optional
MCP_TERMINAL_REDACT_SECRETSCredential the server authenticates with.Yes
MCP_TERMINAL_IDLE_TIMEOUTConfiguration value read at startup.Optional
MCP_TERMINAL_DEFAULT_TIMEOUTConfiguration value read at startup.Optional

Example prompts to try

  • “Use Interactive to Cursor.”
  • “Use Interactive to Windsurf.”

Frequently asked questions

MCP server for real interactive terminal sessions — REPLs, SSH, databases, Docker Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.