tmux-mcp
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
list-sessions
List all active tmux sessions
find-session
Find a tmux session by name
list-windows
List windows in a tmux session
list-panes
List panes in a tmux window
capture-pane
Capture content from a tmux pane
create-session
Create a new tmux session
create-window
Create a new window in a tmux session
execute-command
Execute a command in a tmux pane
get-command-result
Get the result of an executed command