terminal-mcp-project
Verified Safeby belayoub
Overview
Enables AI agents to interact with terminal-based applications (TUI/CLI) by providing a structured Terminal State Tree representation.
Installation
cargo run --release -- --config /path/to/terminal-mcp.config.yamlEnvironment Variables
- RUST_LOG
Security Notes
The server's core functionality involves spawning arbitrary commands and managing pseudo-terminals (PTY). This is inherently high-risk, as it could allow for command injection or PTY escape if not properly secured. The project explicitly addresses these risks in its documentation, planning for 'Command whitelist + sandbox options' and 'Redact passwords in snapshots'. Configuration of 'allowed_commands' and 'sandbox_mode' is crucial for safe operation. Without a strict whitelist, or with a misconfigured one, running this server could pose significant security vulnerabilities.
Similar Servers
Windows-MCP
This MCP server enables AI agents to directly interact with the Windows operating system, performing tasks such as file navigation, application control, UI interaction, and QA testing.
concierge
A framework for building and serving agentic workflows, enabling autonomous agents to interact with application services through structured stages and tasks.
llms
A centralized configuration and documentation management system for LLMs, providing tools for building skills, commands, agents, prompts, and managing MCP servers across multiple LLM providers.
imprint
Enables AI agents to programmatically control a terminal, capture screenshots, and extract text for TUI testing and interaction.