mcp-server-terminal
Verified Safeby aybelatchane
Overview
Enables AI agents to interact with and automate terminal applications by converting terminal content into a structured UI tree.
Installation
npx mcp-server-terminalEnvironment Variables
- RUST_LOG
- DISPLAY
- MCP_NO_UPDATE
- DEBUG
Security Notes
The project demonstrates a strong focus on security, explicitly addressing common vulnerabilities in `SECURITY.md`. It utilizes memory-safe Rust, employs a command whitelist feature to restrict execution, and uses `portable-pty`'s `CommandBuilder` to prevent command injection. Tmux input is sent via hex mode for reliability and security. The `cli.js` wrapper auto-updates the binary from GitHub Releases, which is a standard distribution method but means users are always running the latest version, implying trust in GitHub's release process and the project maintainers. Visual mode and session recordings have clear security considerations outlined, such as potential exposure of terminal content in untrusted environments.
Similar Servers
tmux-mcp
Enables AI assistants (like Claude Desktop) to interact with, control, and observe tmux terminal sessions by providing tools for session management and command execution.
agentx
A unified CLI tool for managing MCP (Model Context Protocol) servers and skills across multiple AI coding agents like Claude Code, Codex, Cursor, Gemini CLI, and OpenCode.
mcp-cli-ent
Orchestrates Model Context Protocol (MCP) servers and their tools on-demand for AI agents, without loading tool definitions directly into the agent's context window.
imprint
Enables AI agents to programmatically control a terminal, capture screenshots, and extract text for TUI testing and interaction.