
tmux-mcp
by nickgnd·★ 278·Score 48
A MCP server enabling Claude Desktop to interact with and control tmux terminal sessions.
Overview
This MCP server provides a bridge between AI assistants and the popular terminal multiplexer tmux. It allows Claude Desktop to view terminal content, navigate sessions, and even execute commands within tmux panes. The server exposes both resources for reading pane content and tools for session management, pane manipulation, and command execution.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server if you want an AI assistant to help manage, analyze, or interact with your tmux terminal sessions from within Claude Desktop.
When NOT to choose this
Avoid this if you need tight security controls over command execution, as the server has full access to your terminal sessions.
Tools this server exposes
12 tools extracted from the READMElist-sessionsList all active tmux sessions
find-sessionFind a tmux session by name
list-windowsList windows in a tmux session
list-panesList panes in a tmux window
capture-paneCapture content from a tmux pane
create-sessionCreate a new tmux session
create-windowCreate a new window in a tmux session
split-paneSplit a tmux pane horizontally or vertically with optional size
kill-sessionKill a tmux session by ID
execute-commandExecute a command in a tmux pane
get-command-resultGet the result of an executed command
kill-paneKill a tmux pane by ID
Comparable tools
Installation
Installation
- Install Node.js if not already installed
- Install and configure tmux
- Add to Claude Desktop configuration:
"mcpServers": {
"tmux": {
"command": "npx",
"args": ["-y", "tmux-mcp"]
}
}Optionally specify shell type:
"mcpServers": {
"tmux": {
"command": "npx",
"args": ["-y", "tmux-mcp", "--shell-type=fish"]
}
}FAQ
- Is it safe to execute commands through this MCP server?
- The README includes a warning: 'use it at your own risk ⚠️' as executing commands in tmux panes carries inherent security risks.
- Which shells are supported?
- The server defaults to bash but can be configured to work with other shells like fish by specifying the shell-type option.
Compare tmux-mcp with
Last updated · Auto-generated from public README + GitHub signals.