R
Ryan Tmux MCP
by @ryancnelson
MCP server by ryancnelson
Created 9/4/2025
Updated 3 days ago
README
Repository documentation and setup instructions
Ryan's Tmux MCP Server
MCP server for tmux operations that provides comprehensive control over tmux sessions, windows, and panes.
Installation
- Install the package:
cd /home/ryan/devel/ryan-tmux
pip install -e .
- Add to your Claude desktop app's
claude_desktop_config.json
:
{
"mcpServers": {
"ryan-tmux": {
"command": "ryan-tmux-mcp"
}
}
}
Note: If you installed in a virtual environment, use the full path to the executable:
{
"mcpServers": {
"ryan-tmux": {
"command": "/path/to/your/project/venv/bin/ryan-tmux-mcp"
}
}
}
Available Commands
list-sessions
- List all tmux sessionsfind-session
- Find sessions by patternlist-panes
- List panes (optionally filtered by session)capture-panes
- Capture content from multiple panesarrange-panes
- Arrange panes with layoutslist-windows
- List windows in a sessioncapture-pane
- Capture specific pane contentcreate-session
- Create new sessionsexecute-command
- Send commands to panesset-prompt
- Set custom promptsget-command-result
- Execute and capture command resultsdecorate-pane
- Add titles to panes
Usage Examples
After installation, you can use these commands in Claude:
- "List all my tmux sessions"
- "Capture the content from pane kam:0.0"
- "Create a new session called 'work'"
- "Send 'ls -la' to pane kam:0.0"
- "Arrange the panes in session 'kam' with tiled layout"
Quick Setup
Installation guide for this server
Install Package (if required)
uvx ryan-tmux-mcp
Cursor configuration (mcp.json)
{
"mcpServers": {
"ryancnelson-ryan-tmux-mcp": {
"command": "uvx",
"args": [
"ryan-tmux-mcp"
]
}
}
}