NestDaddy

Mcp Tmux

io.github.k8ika0s/mcp-tmux ยท v0.1.7

Model Context Protocol server that lets LLMs collaboratively drive tmux

Connect Runs on your machine

Terminal
claude mcp add mcp-tmux -e MCP_TMUX_HOST=<MCP_TMUX_HOST> -e MCP_TMUX_SESSION=<MCP_TMUX_SESSION> -e TMUX_BIN=<TMUX_BIN> -e MCP_TMUX_TIMEOUT_MS=<MCP_TMUX_TIMEOUT_MS> -e MCP_TMUX_LOG_DIR=<MCP_TMUX_LOG_DIR> -e MCP_TMUX_HOSTS_FILE=<MCP_TMUX_HOSTS_FILE> -- npx -y @k8ika0s/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-tmux": {
      "command": "npx",
      "args": [
        "-y",
        "@k8ika0s/[email protected]"
      ],
      "env": {
        "MCP_TMUX_HOST": "<MCP_TMUX_HOST>",
        "MCP_TMUX_SESSION": "<MCP_TMUX_SESSION>",
        "TMUX_BIN": "<TMUX_BIN>",
        "MCP_TMUX_TIMEOUT_MS": "<MCP_TMUX_TIMEOUT_MS>",
        "MCP_TMUX_LOG_DIR": "<MCP_TMUX_LOG_DIR>",
        "MCP_TMUX_HOSTS_FILE": "<MCP_TMUX_HOSTS_FILE>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-tmux": {
      "command": "npx",
      "args": [
        "-y",
        "@k8ika0s/[email protected]"
      ],
      "env": {
        "MCP_TMUX_HOST": "<MCP_TMUX_HOST>",
        "MCP_TMUX_SESSION": "<MCP_TMUX_SESSION>",
        "TMUX_BIN": "<TMUX_BIN>",
        "MCP_TMUX_TIMEOUT_MS": "<MCP_TMUX_TIMEOUT_MS>",
        "MCP_TMUX_LOG_DIR": "<MCP_TMUX_LOG_DIR>",
        "MCP_TMUX_HOSTS_FILE": "<MCP_TMUX_HOSTS_FILE>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-tmux": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@k8ika0s/[email protected]"
      ],
      "env": {
        "MCP_TMUX_HOST": "<MCP_TMUX_HOST>",
        "MCP_TMUX_SESSION": "<MCP_TMUX_SESSION>",
        "TMUX_BIN": "<TMUX_BIN>",
        "MCP_TMUX_TIMEOUT_MS": "<MCP_TMUX_TIMEOUT_MS>",
        "MCP_TMUX_LOG_DIR": "<MCP_TMUX_LOG_DIR>",
        "MCP_TMUX_HOSTS_FILE": "<MCP_TMUX_HOSTS_FILE>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
MCP_TMUX_HOST
Optional
Optional default SSH host alias to use when none is provided.
MCP_TMUX_SESSION
Optional
Optional default tmux session name to use when none is provided.
TMUX_BIN
Optional
Optional path to tmux binary if not on PATH.
MCP_TMUX_TIMEOUT_MS
Optional
Timeout in milliseconds for tmux/ssh invocations (default 15000).
MCP_TMUX_LOG_DIR
Optional
Override log directory (defaults to ~/.config/mcp-tmux/logs).
MCP_TMUX_HOSTS_FILE
Optional
Optional JSON file for per-host tmux PATH/bin overrides.

Details

Package@k8ika0s/[email protected] (NPM, stdio)
First published13 Dec 2025
Last updated13 Dec 2025
Registry nameio.github.k8ika0s/mcp-tmux

More ai and media servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.