mcp tmux for VS Code
io.github.k8ika0s/mcp-tmux
Model Context Protocol server that lets LLMs collaboratively drive tmux
client:VS Code
transport:stdio
runtime:npm
Install mcp tmux in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "mcp-tmux-host",
"description": "MCP_TMUX_HOST",
"password": true
},
{
"type": "promptString",
"id": "mcp-tmux-session",
"description": "MCP_TMUX_SESSION",
"password": true
},
{
"type": "promptString",
"id": "tmux-bin",
"description": "TMUX_BIN",
"password": true
},
{
"type": "promptString",
"id": "mcp-tmux-timeout-ms",
"description": "MCP_TMUX_TIMEOUT_MS",
"password": true
},
{
"type": "promptString",
"id": "mcp-tmux-log-dir",
"description": "MCP_TMUX_LOG_DIR",
"password": true
},
{
"type": "promptString",
"id": "mcp-tmux-hosts-file",
"description": "MCP_TMUX_HOSTS_FILE",
"password": true
}
],
"servers": {
"mcp-tmux": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@k8ika0s/mcp-tmux"
],
"env": {
"MCP_TMUX_HOST": "${input:mcp-tmux-host}",
"MCP_TMUX_SESSION": "${input:mcp-tmux-session}",
"TMUX_BIN": "${input:tmux-bin}",
"MCP_TMUX_TIMEOUT_MS": "${input:mcp-tmux-timeout-ms}",
"MCP_TMUX_LOG_DIR": "${input:mcp-tmux-log-dir}",
"MCP_TMUX_HOSTS_FILE": "${input:mcp-tmux-hosts-file}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs