Controls interactive terminal applications through MCP sessions, structured snapshots, keyboard input, clicks, waits, and resizing.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
This server is confirmed live โ we successfully called its tools/list endpoint directly (see the verified badge above). We haven't yet sandbox-tested the stdio install command below specifically, which is a separate, ongoing check.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Server Terminal.
terminal_typeType text into a terminal session
terminal_session_listList all active terminal sessions
terminal_session_createCreate a new terminal session with the specified command
terminal_read_outputRead raw output from a terminal session
terminal_session_closeClose and terminate a terminal session
terminal_snapshotCapture the current terminal state as a structured Terminal State Tree with detected UI elements
The aybelatchane/mcp-server-terminal MCP server exposes interactive terminal control through the Model Context Protocol. Instead of treating a terminal only as a stream of text, it can provide a structured Terminal State Tree containing detected interface elements. This gives an agent a way to inspect and operate text-based user interfaces.
The server supports multiple concurrent terminal sessions. An agent can start a session with a specified command, list active sessions, read raw output, capture a structured snapshot, type text, send special keys, click detected elements by reference ID, wait for text or interface state, resize the terminal, and close the session.
Sessions spawn visible terminal windows by default. The server can also run headlessly with the --headless option, which is useful where a graphical display is unavailable. On Linux and WSL, visual operation uses X11 and requires an appropriate DISPLAY setting. Native Windows supports headless operation only; WSL is the documented choice for visual mode.
A typical interaction starts by creating a session for a CLI or TUI command. The agent can then take a snapshot, use detected element references for navigation, send keys such as arrows or Ctrl combinations, type input, and wait for text, an element, or an idle terminal. Raw output remains available when structured state is not needed.
Install the aybelatchane/mcp-server-terminal MCP server from npm with npx mcp-server-terminal, or download a release binary. The repository also documents building the Rust project from source, producing a terminal-mcp binary.
MCP client configuration uses npx with the mcp-server-terminal package. The README includes configurations for Claude Desktop, Cursor, Windsurf, and Cline, among other MCP-compatible clients. For direct execution, the package can be started with --headless as an argument.
No authentication or API credentials are described. RUST_LOG can be set to error, warn, info, debug, or trace; logs are written to stderr so stdout remains available for MCP communication. Visual Linux or WSL setups may need DISPLAY, such as :0.
The aybelatchane/mcp-server-terminal MCP server provides these tools:
ref_id.Platform behavior differs by operating system. Linux and macOS support both architectures listed in the README and provide visual operation. Windows native is headless-only, while Windows through WSL supports visual mode with X11 and tmux. The README does not describe authentication, remote hosting, access controls, or persistent session storage. Use care when allowing an agent to control sessions that can execute commands, because the exposed terminal is the environment in which the started applications run.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/aybelatchane-mcp-server-terminal)<a href="https://allmcps.com/mcp/aybelatchane-mcp-server-terminal"><img src="https://allmcps.com/api/badge/aybelatchane-mcp-server-terminal?style=directory" alt="MCP Server Terminal on AllMCPs" /></a>