Interactive Terminal MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Interactive Terminal MCP ServerCreate a terminal, run 'ls -la', and show the output."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🖥️ 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: Node Terminal MCP
📦 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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceEnables AI assistants to fully interact with console applications, monitor output, detect errors, and automate terminal workflows across multiple sessions. Similar to how Playwright works for web browsers but for command-line interfaces.Last updated13843MIT
- Alicense-qualityDmaintenanceEnables AI agents to interact with terminal environments through multiple concurrent PTY sessions. Supports cross-platform terminal operations including command execution, session management, and real-time communication.Last updated443MIT
- Alicense-qualityDmaintenanceEnables LLMs to create and manage persistent, interactive shell sessions with full terminal emulation and PTY support. It allows for sequential command execution and supports interactive programs like vim or htop through specialized streaming and snapshot output modes.Last updated4MIT
- Alicense-qualityDmaintenanceProvides a pseudo-terminal (PTY) interface that allows AI agents to interact with command-line tools requiring interactive prompts. It enables agents to autonomously spawn processes, read output, and send inputs for workflows like database migrations and project scaffolding.Last updated391MIT
Related MCP Connectors
Run AI customer support from your terminal: conversations, knowledge base, and chat widget.
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Vltja/vitjas-interactive-terminal'
If you have feedback or need assistance with the MCP directory API, please join our Discord server