SSH Tmux
Manages persistent SSH sessions for AI agents using a local `tmux` instance, providing visual screen snapshots for natural interaction.
This high-performance Model Context Protocol (MCP) server addresses the limitations of traditional SSH automation for AI agents. Instead of relying on complex regex patterns or stateless command execution, mcp-ssh-tmux leverages a local `tmux` instance to maintain persistent SSH connections. This innovative approach allows AI agents to interact with remote environments by interpreting visual screen snapshots, similar to human interaction, thereby eliminating parsing complexity and enabling more reliable, stateful operations on remote systems.
主な機能
01File Transfer: Enables native reading and writing of remote files using `cat` and `tee` over the existing PTY.
02Persistence: SSH connections remain alive in `tmux` even if the MCP server or AI client restarts.
03Safety: Includes built-in command validation to prevent common dangerous operations.
04Observability: Manually attach to `tmux` sessions to monitor AI agent activity in real-time.
05Reliability: Uses `ssh -G` for robust configuration resolution, handling aliases and identity files.
061 GitHub stars
ユースケース
01Enabling AI agents to develop, debug, and deploy applications on remote environments.
02Automating complex, stateful interactions with remote servers for AI agents.
03Providing a reliable and observable platform for AI agents to manage remote infrastructure.