MCP Catalogs
Hometmux-mcp screenshot

tmux-mcp

by nickgnd·278·Score 48

A MCP server enabling Claude Desktop to interact with and control tmux terminal sessions.

developer-toolsproductivityfile-system
50
Forks
15
Open issues
3 mo ago
Last commit
2d ago
Indexed

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:

you:Automating terminal tasks through AI assistants
you:Monitoring and debugging long-running terminal processes
you:Creating tmux sessions programmatically through AI agents
you:Is it safe to execute commands through this MCP server?
you:Which shells are supported?

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 README
  • list-sessions

    List all active tmux sessions

  • find-session

    Find a tmux session by name

  • list-windows

    List windows in a tmux session

  • list-panes

    List panes in a tmux window

  • capture-pane

    Capture content from a tmux pane

  • create-session

    Create a new tmux session

  • create-window

    Create a new window in a tmux session

  • split-pane

    Split a tmux pane horizontally or vertically with optional size

  • kill-session

    Kill a tmux session by ID

  • execute-command

    Execute a command in a tmux pane

  • get-command-result

    Get the result of an executed command

  • kill-pane

    Kill a tmux pane by ID

Comparable tools

shell-mcpterminal-assistanttmuxinator

Installation

Installation

  1. Install Node.js if not already installed
  2. Install and configure tmux
  3. 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.