Tmux Mcp enables Claude Desktop to interact with tmux terminal sessions by providing tools to list, search, and navigate sessions, windows, and panes, as well as capture terminal content and execute commands within panes. The server exposes resources for viewing session data and command results, and includes capabilities for creating new sessions and windows, splitting panes, and managing tmux elements. It solves the problem of giving AI assistants direct visibility into and control over active terminal environments for enhanced context awareness and automation.
Model Context Protocol server that enables Claude Desktop to interact with and view tmux session content. This integration allows AI assistants to read from, control, and observe your terminal sessions.
Check out this short video to get excited!
Add this MCP server to your Claude Desktop configuration:
"mcpServers": {
"tmux": {
"command": "npx",
"args": ["-y", "tmux-mcp"]
}
}
You can optionally specify the command line shell you are using, if unspecified it defaults to bash
"mcpServers": {
"tmux": {
"command": "npx",
"args": ["-y", "tmux-mcp", "--shell-type=fish"]
}
}
The MCP server needs to know the shell only when executing commands, to properly read its exit status.
tmux://sessions - List all tmux sessionstmux://pane/{paneId} - View content of a specific tmux panetmux://command/{commandId}/result - Results from executed commandslist-sessions - List all active tmux sessionsfind-session - Find a tmux session by namelist-windows - List windows in a tmux sessionlist-panes - List panes in a tmux windowcapture-pane - Capture content from a tmux panecreate-session - Create a new tmux sessioncreate-window - Create a new window in a tmux sessionsplit-pane - Split a tmux pane horizontally or vertically with optional sizekill-session - Kill a tmux session by IDkill-window - Kill a tmux window by IDkill-pane - Kill a tmux pane by IDexecute-command - Execute a command in a tmux paneget-command-result - Get the result of an executed commandray0907/git-mcp-server
cyanheads/git-mcp-server
io.github.b1ff/atlassian-dc-mcp-bitbucket
io.github.b1ff/atlassian-dc-mcp-jira
com.mcparmory/atlassian-jira
sirlordt/vscode-terminal-mcp