Interactive Terminal MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π₯οΈ Interactive Terminal MCP Server
A fully interactive terminal MCP server for AI agents with TUI support, keyboard control, and screen capture - Cross-platform (Windows, Linux, Mac).
β¨ Features
π₯οΈ Full Terminal Control - Create, manage, and delete terminal sessions
β¨οΈ Keyboard Support - Arrow keys, Ctrl, Alt, F-keys, PageUp/Down, etc.
πΊ TUI Applications - Works with htop, vim, nano, mc, and more
π Auto-Update - Automatically checks and installs updates from PyPI
π Cross-Platform - Windows (pywinpty), Linux/Mac (ptyprocess)
Related MCP server: spectatty
π¦ Installation
pip install vitjas-interactive-terminalπ Usage
Start the MCP Server
You can start the server in 3 ways:
# Option 1: Entry Point (recommended)
vitjas-interactive-terminal
# Option 2: Python Module
python -m interactive_terminal
# Option 3: Python3 Module (Linux/Mac)
python3 -m interactive_terminalMCP Configuration
For Claude Desktop / Agent Zero:
Linux/Mac (Option A - Entry Point):
{
"mcpServers": {
"InteractiveTerminal": {
"command": "vitjas-interactive-terminal",
"args": [],
"init_timeout": 30
}
}
}Linux/Mac (Option B - Python3 Module):
{
"mcpServers": {
"InteractiveTerminal": {
"command": "python3",
"args": ["-m", "interactive_terminal"],
"init_timeout": 30
}
}
}Windows:
{
"mcpServers": {
"InteractiveTerminal": {
"command": "python",
"args": ["-m", "interactive_terminal"],
"init_timeout": 30
}
}
}π οΈ Available Tools
Tool | Description |
| Create a new interactive terminal session |
| Send text/commands to a terminal |
| Send special keys (arrows, Ctrl+C, etc.) |
| Read terminal screen content |
| List all active terminals |
| Delete/close a terminal |
| Search through terminal history |
β¨οΈ Supported Keys
Navigation: up, down, left, right, home, end, pageup, pagedown
Control: ctrl+c, ctrl+d, ctrl+z, ctrl+a, ctrl+e, ctrl+u, ctrl+k, ctrl+w, ctrl+l
Alt: alt+f, alt+b, alt+d
Other: enter, escape, tab, backspace, delete, f1-f12
π‘ Examples
Navigate htop:
# Create terminal and start htop
create_terminal β send_text("htop\n") β get_screen()
# Navigate with arrow keys
send_keys("down") β send_keys("enter")
# Exit
send_keys("f10") or send_keys("q")Edit with nano:
# Create and open file
create_terminal β send_text("nano test.txt\n")
# Type content
send_text("Hello World!")
# Save and exit
send_keys("ctrl+x") β send_text("Y") β send_keys("enter")π§ Configuration
Disable Auto-Update:
VITJAS_AUTO_UPDATE=false vitjas-interactive-terminalπ Requirements
Python >= 3.10
Windows: pywinpty >= 2.0.0 (auto-installed)
Linux/Mac: ptyprocess >= 0.7.0 (auto-installed)
π Links
GitHub: https://github.com/Vltja/vitjas-interactive-terminal
Issues: https://github.com/Vltja/vitjas-interactive-terminal/issues
π License
MIT License - see LICENSE
π€ Author
Vltja - GitHub
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Cloud desktops for AI agents: create a Linux computer, see its screen, click, type and run tasks.
Secure AI access to Windows, macOS, Linux computers and a hosted Cloud Browser.
Use your own Windows, Mac or Linux computer from ChatGPT, Claude, Cursor or Gemini CLI: run commands, read, write and search files, run long processes. Your computer only makes an outgoing connection (no open ports or VPN). Read-only mode, allowed folders, blocked commands and an action log keep you in control. Free plan available.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to interact with interactive CLI processes via a real PTY, allowing them to send keystrokes, read screen output, and handle interactive prompts.9 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to spawn and interact with real terminal sessions, capturing screenshots of rendered TUI output and sharing live sessions for debugging.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to spawn persistent terminal sessions, send keystrokes, read screen state, and assert output, allowing them to interact with stateful terminal applications like vim, htop, and gdb.28 npmMIT
- AlicenseAqualityCmaintenanceGive AI agents a persistent, interactive terminal with support for SSH, REPLs, database CLIs, TUI apps, and long-running processes.950 PyPI12MIT