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:
Local install
STDIO
No auth required
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.
Local install — runs as a subprocess.
Configuration this server reads at startup.
Optional default SSH host alias to use when none is provided.
Optional default tmux session name to use when none is provided.
Optional path to tmux binary if not on PATH.
Timeout in milliseconds for tmux/ssh invocations (default 15000).
Override log directory (defaults to ~/.config/mcp-tmux/logs).
Optional JSON file for per-host tmux PATH/bin overrides.
Where to find authoritative docs and source for K8ika0s MCP Tmux.
Paste any of these into Agent Studio after connecting K8ika0s MCP Tmux.
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.
MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 90+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.
Open Agent StudioIn 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
Judges Panel
45 judges that evaluate AI-generated code for security, cost, and quality with built-in AST.
Addozhang Nexus
Query Sonatype Nexus Repository (OSS/Pro) for Maven, Python, and Docker artifacts
Cyanheads MCP Ts Template
TypeScript template for building MCP servers with declarative tooling, observability, and auth.
Chernistry Bernstein
Declarative agent orchestration for engineering teams