tmux-mcp

tmux-mcp

3.5

If you are the rightful owner of tmux-mcp 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.

Model Context Protocol server that enables Claude Desktop to interact with and view tmux session content.

The Tmux MCP Server is a specialized Model Context Protocol server designed to facilitate interaction between Claude Desktop and tmux session content. This integration empowers AI assistants to read, control, and observe terminal sessions, enhancing productivity and automation capabilities. By leveraging this server, users can list and search tmux sessions, view and navigate through tmux windows and panes, capture terminal content, execute commands, and even create new sessions and windows. This tool is particularly useful for developers and system administrators who rely on tmux for managing multiple terminal sessions efficiently. The server requires Node.js and a running instance of tmux to function, and it can be configured to work with different shell environments.

Features

  • List and search tmux sessions
  • View and navigate tmux windows and panes
  • Capture and expose terminal content from any pane
  • Execute commands in tmux panes and retrieve results
  • Create new tmux sessions and windows

Tools

  1. list-sessions

    List all active tmux sessions

  2. find-session

    Find a tmux session by name

  3. list-windows

    List windows in a tmux session

  4. list-panes

    List panes in a tmux window

  5. capture-pane

    Capture content from a tmux pane

  6. create-session

    Create a new tmux session

  7. create-window

    Create a new window in a tmux session

  8. execute-command

    Execute a command in a tmux pane

  9. get-command-result

    Get the result of an executed command