Skip to main content
Glama

Tmux MCP Server

tmux_send_keys

Send commands and keyboard input to tmux sessions for terminal automation. Execute commands in remote SSH sessions, automate repetitive tasks, and control multiple terminal panes programmatically.

Instructions

Send keys/commands to a tmux session. Automatically appends Enter unless literal mode is specified.

Input Schema

NameRequiredDescriptionDefault
session_nameYesName of the tmux session
keysYesKeys or command to send to the session
literalNoIf true, send keys literally without appending Enter (default: false)

Input Schema (JSON Schema)

{ "properties": { "keys": { "description": "Keys or command to send to the session", "type": "string" }, "literal": { "description": "If true, send keys literally without appending Enter (default: false)", "type": "boolean" }, "session_name": { "description": "Name of the tmux session", "type": "string" } }, "required": [ "session_name", "keys" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MediocreTriumph/tmux-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server