MCP server for interactive terminal sessions — SSH, REPLs, database CLIs, TUI apps
MCP server for interactive terminal sessions, providing support for SSH, REPLs, database CLIs, and TUI apps. Its readme excerpt describes “persistent sessions” and “interactive programs,” positioning the server as a terminal-focused MCP implementation.
🛠️ Key Features
Interactive terminal sessions
Persistent sessions
Works with interactive programs
Supports: SSH, REPLs, database CLIs, TUI apps
🚀 Use Cases
Run SSH-based workflows through an MCP-connected terminal session
Interact with REPL environments in a persistent session
Use database command-line interfaces interactively
Operate TUI (text user interface) applications via the terminal session
⚡ Developer Benefits
Integrates terminal interactions for SSH, REPLs, database CLIs, and TUI apps
Maintains persistence across terminal sessions
⚠️ Limitations
No explicit limitations are stated in the provided server data.
Give your AI a real terminal. Persistent sessions. Interactive programs. Zero limitations.
terminal-mcp demo
The Problem
Every AI coding tool hits the same wall: no real terminal access.
Claude Code's Bash tool, GitHub Copilot, and Codex all run commands in isolated subprocesses. Each command starts fresh. No state carries over. That means:
No SSH sessions - Can't connect to a remote server and run multiple commands
No REPLs - Can't use Python, Node, or Ruby interpreters interactively
No database CLIs - Can't maintain a psql, mysql, or redis-cli connection
No TUI apps - Can't navigate htop, vim, or fzf with arrow keys
No long-running processes - Can't monitor builds, watch logs, or run dev servers
The Solution
terminal-mcp gives AI agents a real terminal. Persistent PTY sessions that survive across tool calls. Send commands, read output, press keys, navigate TUIs - exactly like a human at a terminal.
code
uvx terminal-mcp
One command. Works with Claude Code, Claude Desktop, VS Code, Cursor, and Windsurf.
Quick Start
1. Install (30 seconds)
bash
# No install needed - run directly
uvx terminal-mcp
# Or install globally
pip install terminal-mcp