Skip to main content
Glama

Tmux MCP Server

by nickgnd
MIT License
129
68
  • Linux
  • Apple

execute-command

Run commands in a specified tmux pane and retrieve output directly. Ideal for executing single-line commands, avoiding multi-line conflicts, and managing terminal interactions efficiently.

Instructions

Execute a command in a tmux pane and get results. IMPORTANT: Avoid heredoc syntax (cat << EOF) and other multi-line constructs as they conflict with command wrapping. For file writing, prefer: printf 'content\n' > file, echo statements, or write to temp files instead.

Input Schema

NameRequiredDescriptionDefault
commandYesCommand to execute
paneIdYesID of the tmux pane

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "command": { "description": "Command to execute", "type": "string" }, "paneId": { "description": "ID of the tmux pane", "type": "string" } }, "required": [ "paneId", "command" ], "type": "object" }
Install Server

Other Tools from Tmux MCP Server

Related Tools

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/nickgnd/tmux-mcp'

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