Back to Home
belayoub icon

terminal-mcp-project

Verified Safe

by belayoub

Overview

Enables AI agents to interact with terminal-based applications (TUI/CLI) by providing a structured Terminal State Tree representation.

Installation

Run Command
cargo run --release -- --config /path/to/terminal-mcp.config.yaml

Environment 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

Stats

Interest Score0
Security Score7
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2025-11-30

Tags

Terminal AutomationAI AgentsMCPRustTUICLI