Tmux MCP Server
by k8ika0sio.github.k8ika0s/mcp-tmuxv0.1.7
Model Context Protocol server that lets LLMs collaboratively drive tmux
context tax
queued
security
queued
cold start
queued
freshness
Stale10mo ago
Install Tmux MCP server
Install in Claude Code
claude mcp add tmux -- npx -y @k8ika0s/mcp-tmuxInstall in Cursor
{
"mcpServers": {
"tmux": {
"command": "npx",
"args": [
"-y",
"@k8ika0s/mcp-tmux"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"tmux": {
"command": "npx",
"args": [
"-y",
"@k8ika0s/mcp-tmux"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"tmux": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@k8ika0s/mcp-tmux"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"tmux": {
"command": "npx",
"args": [
"-y",
"@k8ika0s/mcp-tmux"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| 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. |
Freshness
Stale — last maintenance signal 10mo ago. The newest of the signals below sets the band.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2025-12-13 · 10mo ago · official registry · v0.1.7
FAQ
›How do I install the Tmux MCP server in Claude Code?
Run: claude mcp add tmux -- npx -y @k8ika0s/mcp-tmux. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Tmux require an API key?
No required environment variables are declared in its published metadata.
›Can I use Tmux as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Tmux in the official MCP registry?
Yes, as io.github.k8ika0s/mcp-tmux.