mcp tmux for Cursor
io.github.k8ika0s/mcp-tmux
Model Context Protocol server that lets LLMs collaboratively drive tmux
client:Cursor
transport:stdio
runtime:npm
Install mcp tmux in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"mcp-tmux": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@k8ika0s/mcp-tmux"
],
"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>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs