Ryan's Tmux MCP Server
Provides comprehensive control over tmux sessions, windows, and panes, including listing, creating, capturing, arranging, and executing commands.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Ryan's Tmux MCP Serverlist all my tmux sessions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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"
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ryancnelson/ryan-tmux-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server