Skip to main content
Glama
tmux-mcp-tools

tmux-mcp-tools

by PsychArch

tmux-mcp-tools

Retired

This project was retired on 2026-10-02 and is no longer maintained. Use tmux directly through your agent's shell tool. The source is retained for reference, and automated PyPI publishing has been removed.

For long-running or interactive work, create a dedicated tmux window, keep its pane ID, and use send-keys and capture-pane to interact with it:

tmux new-window -d -n agent-task -P -F '#{pane_id}'
# Replace %12 with the pane ID returned above.
tmux send-keys -t %12 -l 'python -m http.server 8000'
tmux send-keys -t %12 Enter
tmux capture-pane -p -t %12 -S -100
tmux send-keys -t %12 C-c

The documentation below describes the historical MCP interface.

MCP server providing tools for interacting with tmux sessions.

Related MCP server: Tmux MCP Server

Tools

  • tmux_create_pane: Must create a dedicated pane before running background servers, REPLs, remote shells, or other long-running tasks

  • tmux_capture_pane: Read pane contents with optional delay and scroll-back

  • tmux_send_keys: Send raw keystrokes (no auto-Enter) for interactive programs

  • tmux_send_command: Execute commands with auto-Enter, optional wait pattern

  • tmux_write_file: Write files via heredoc (for remote/SSH environments)

Configuration

{
  "mcpServers": {
    "tmux-mcp-tools": {
      "command": "uvx",
      "args": ["tmux-mcp-tools"]
    }
  }
}

Options

  • --transport: stdio (default) or http

  • --host: HTTP host (default: 127.0.0.1)

  • --port: HTTP port (default: 8080)

  • --enter-delay: Delay before sending Enter in seconds (default: 0.4)

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables programmatic control over tmux terminal sessions for SSH access, command execution, and terminal automation. Supports creating sessions, sending commands, capturing output, and managing multiple panes for interactive debugging and monitoring.
      8
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to manage local tmux sessions, including creating and controlling sessions, windows, and panes, sending commands, and capturing terminal output.
      16
      7 npm
      Do What The F*ck You Want To Public
    • A
      license
      A
      quality
      D
      maintenance
      Allows AI assistants to create, manage, and interact with tmux sessions, windows, and panes programmatically.
      19
      28 PyPI
      MIT