Skip to main content
Glama
ryancnelson

Ryan's Tmux MCP Server

by ryancnelson

Ryan's Tmux MCP Server

MCP server for tmux operations that provides comprehensive control over tmux sessions, windows, and panes.

Installation

  1. Install the package:

cd /home/ryan/devel/ryan-tmux
pip install -e .
  1. 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"
    }
  }
}

Related MCP server: mcp-tmux

Available Commands

  • list-sessions - List all tmux sessions

  • find-session - Find sessions by pattern

  • list-panes - List panes (optionally filtered by session)

  • capture-panes - Capture content from multiple panes

  • arrange-panes - Arrange panes with layouts

  • list-windows - List windows in a session

  • capture-pane - Capture specific pane content

  • create-session - Create new sessions

  • execute-command - Send commands to panes

  • set-prompt - Set custom prompts

  • get-command-result - Execute and capture command results

  • decorate-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"

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    MCP server for SSH and local terminal access. Supports interactive commands, long-running processes, and TUI apps like tmux/zellij
    6
    3
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    A comprehensive MCP server for driving tmux sessions, windows, panes, sending keystrokes, and reading pane output locally or over SSH, enabling real-time collaborative pairing with AI.
    71
    4
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    A persistent, stateful MCP server that exposes a detached tmux session to clients, enabling shell command execution, terminal buffer reading, and control signal sending via JSON-RPC over stdio.
    3
    -