tmux-mcp-server

tmux-mcp-server

3.2

If you are the rightful owner of tmux-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Control Protocol (MCP) server that provides tools for interacting with tmux sessions.

The Tmux MCP Server is designed to facilitate seamless interaction with tmux sessions, allowing AI assistants and other automated systems to read from and write to active terminal sessions without disrupting ongoing processes. This server is particularly beneficial for environments that require continuous monitoring and interaction, such as interactive REPL sessions, long-running processes, and multi-session workflows. By leveraging the capabilities of tmux, the server enables users to manage terminal sessions efficiently, execute commands, and read buffer content, all while maintaining the integrity of the active processes. This makes it an ideal solution for developers and system administrators who need to coordinate tasks across multiple terminal sessions or integrate AI assistants into their workflows.

Features

  • Tmux Session Management: List available tmux sessions
  • Tmux Buffer Reading: Read buffer content from a tmux terminal
  • Tmux Command Execution: Execute commands in a specific tmux terminal
  • Interactive REPL Support: Work with environments like Rails Console, Python Shell, and Node.js REPL
  • Long-Running Process Monitoring: Track and interact with processes like database migrations and build processes

Tools

  1. list_sessions

    List all available tmux sessions

  2. read_buffer

    Read the buffer content from a specified tmux terminal

  3. execute_command

    Execute a command in a specific tmux terminal