MCP server that gives AI agents (Claude Code, Cursor, Windsurf) real interactive terminal sessions — REPLs, SSH, databases, Docker, and any interactive CLI with clean output and smart completion detection
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add interactive-terminal -- npx -y mcp-interactive-terminal~/.codex/config.toml
[mcp_servers.interactive-terminal]
command = "npx"
args = ["-y", "mcp-interactive-terminal"]
# codex mcp add interactive-terminal -- npx -y mcp-interactive-terminal~/.cursor/mcp.json
{
"mcpServers": {
"interactive-terminal": {
"command": "npx",
"args": [
"-y",
"mcp-interactive-terminal"
]
}
}
}.vscode/mcp.json
{
"servers": {
"interactive-terminal": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-interactive-terminal"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"interactive-terminal": {
"command": "npx",
"args": [
"-y",
"mcp-interactive-terminal"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"interactive-terminal": {
"command": "npx",
"args": [
"-y",
"mcp-interactive-terminal"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"interactive-terminal": {
"command": "npx",
"args": [
"-y",
"mcp-interactive-terminal"
]
}
}
}