MCP ServerSTDIOOfficialv0.1.7

K8ika0s MCP Tmux MCP Server

Drive tmux sessions over SSH or locally via LLM commands, enabling collaborative terminal automation. For developers who want Claude or other LLMs to execute shell workflows, manage multiple panes, and orchestrate remote infrastructure.

io.github.k8ika0s/mcp-tmux

K8ika0s MCP Tmux runs locally over stdio. Test it on your machine with MCP Playground Desktop:

Hosted URL

Local install

Transport

STDIO

Auth

No auth required

What the K8ika0s MCP Tmux MCP server does

How models use it and what it is built for.

Drive tmux sessions over SSH or locally via LLM commands, enabling collaborative terminal automation. For developers who want Claude or other LLMs to execute shell workflows, manage multiple panes, and orchestrate remote infrastructure.

Connect to K8ika0s MCP Tmux

Local install — runs as a subprocess.

npx @k8ika0s/mcp-tmux@0.1.7

Environment variables

Configuration this server reads at startup.

  • MCP_TMUX_HOST

    Optional default SSH host alias to use when none is provided.

  • MCP_TMUX_SESSION

    Optional default tmux session name to use when none is provided.

  • TMUX_BIN

    Optional path to tmux binary if not on PATH.

  • MCP_TMUX_TIMEOUT_MS

    Timeout in milliseconds for tmux/ssh invocations (default 15000).

  • MCP_TMUX_LOG_DIR

    Override log directory (defaults to ~/.config/mcp-tmux/logs).

  • MCP_TMUX_HOSTS_FILE

    Optional JSON file for per-host tmux PATH/bin overrides.

Resources

Where to find authoritative docs and source for K8ika0s MCP Tmux.

Example prompts for K8ika0s MCP Tmux

Paste any of these into Agent Studio after connecting K8ika0s MCP Tmux.

  • Create a new tmux session called dev-env and split it into three panes
  • Send the command npm run build to the build pane on my remote server
  • List all active tmux sessions and show me which one has the most panes
  • What environment variables does mcp-tmux use for SSH host and session defaults?

K8ika0s MCP Tmux MCP server — FAQ

Common questions about connecting and running K8ika0s MCP Tmux.

  • How do I set a default SSH host so I don't have to specify it every time?

    Set the MCP_TMUX_HOST environment variable to your SSH host alias. The server will use this as the default when no host is explicitly provided in a command.

  • Can I use a custom tmux binary or override the PATH on specific hosts?

    Yes. Set TMUX_BIN to override the tmux binary path globally, or use MCP_TMUX_HOSTS_FILE to point to a JSON file with per-host overrides for tmux PATH and binary location.

  • What happens if a tmux command times out?

    By default, tmux and SSH invocations timeout after 15 seconds. You can adjust this with MCP_TMUX_TIMEOUT_MS (in milliseconds) if you need longer-running operations.

  • Where are logs stored and can I change the location?

    Logs are stored in ~/.config/mcp-tmux/logs by default. Override this with the MCP_TMUX_LOG_DIR environment variable to point to a custom directory.

  • Do I need to install tmux separately on remote hosts?

    Yes, tmux must be installed on any remote host you want to control. The server communicates with tmux via SSH, so the remote system needs a working tmux installation and SSH access.

Skip the local setup — run MCP in your browser

MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 60+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.

Open Agent Studio

In your browser

MCP Agent Studio

Server has a public URL? Chat with 90+ models on it, watch every tool call, and compare models side by side.

Open MCP Agent Studio →

On your computer

MCP Playground Desktop

Server runs on localhost or over stdio? The browser can’t reach it. The desktop app can, with 90+ models in Agent Studio. Download free

Related servers

More on MCP Playground