mcp-interactive-terminal
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
How to use
The mcp-interactive-terminal server enables AI agents like Claude Code, Cursor, and Windsurf to engage in real interactive terminal sessions. This includes support for various environments such as REPLs, SSH, databases, and Docker, providing clean output and smart completion detection for enhanced user experience. Developers can leverage this MCP server to facilitate complex tasks and streamline development workflows with AI assistance.
Once connected to the mcp-interactive-terminal server, you can execute a variety of commands tailored for interactive environments. This includes running database queries, managing Docker containers, or utilizing REPL sessions for coding tasks. For optimal results, use concise commands and be specific with your queries to take full advantage of the smart completion detection feature.
How to install
Prerequisites
Before installing mcp-interactive-terminal, ensure you have Node.js installed on your machine. You can download it from Node.js official website.
Option A: Quick start with npx
If you want to quickly start using mcp-interactive-terminal without global installation, you can run it directly using npx:
npx -y mcp-interactive-terminal
Option B: Global install alternative
For a global installation, you can install the server using npm:
npm install -g mcp-interactive-terminal
This allows you to access the command from anywhere in your terminal.
Additional notes
When configuring the mcp-interactive-terminal server, consider setting environment variables for optimal performance, such as MCP_SERVER_PORT to specify the port number. Be aware that certain interactive environments may have specific requirements or limitations, so always refer to the documentation of the tools you are using within the terminal. Additionally, ensure your network settings allow for SSH connections if you plan to use that feature.
Related MCP Servers
mcp-fusion
MCP Fusion - The framework for AI-native MCP servers.
claude-code-open
Open source AI coding platform with Web IDE, multi-agent system, 37+ tools, MCP protocol. MIT licensed.
kratos
🏛️ Memory System for AI Coding Tools - Never explain your codebase again. MCP server with perfect project isolation, 95.8% context accuracy, and the Four Pillars Framework.
cadre-ai
Your AI agent squad for Claude Code. 17 specialized agents, persistent memory, desktop automation, and a common sense engine.
markupr
Give your AI coding agent eyes and ears. Screen + voice capture → structured Markdown. MCP server, CLI, and macOS app.
docrag
AI-powered documentation RAG system with MCP server for Claude Code. Search and retrieve technical documentation on-demand with vector embeddings and smart web scraping.