Termcp

•
75
•

Enables AI Agents to start, control, and manage long-running interactive terminal processes.

Termcp acts as a Model Context Protocol (MCP) server that bridges the gap between AI Agents and complex, multi-turn terminal interactions. While AI agents typically execute one-shot commands, many real-world tasks demand continuous input and output over time, such as debugging code line by line, logging into remote servers, or handling interactive prompts in installers. This tool provides a robust framework for agents to engage with these scenarios by emulating real terminals or pipes, managing multiple independent sessions simultaneously, and persisting interaction history, thereby empowering AI with the capability to perform sophisticated command-line operations across various platforms.

주요 기능

01Remote deployment via SSE over HTTP transport
02Management of multiple independent sessions simultaneously
03Multi-agent session sharing with independent cursors
04Persistence of session records and I/O messages to local JSON files
053 GitHub stars
06PTY (pseudo-terminal) and Pipe dual I/O modes

사용 사례

01SSH into remote servers for multi-step operations and password entry
02Debug code line by line in interactive REPLs (e.g., Python)
03Manage and interact with long-running processes like `top` or interactive installers