tmux_send_keys
Send keys or commands to a specific tmux pane, automatically pressing Enter. Enables remote control of tmux sessions, windows, and panes through MCP.
Instructions
Send keys or a command to a tmux pane. Appends Enter by default.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"keys": "<keys>"
},
"name": "tmux_send_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | Keys or command text to send. | |
| enter | No | Append Enter key after the keys. Default: true. | |
| target | Yes | Tmux target (e.g. session:window.pane, session:window, or session). See tmux docs for target syntax. |