Skip to main content
Glama

Tmux MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
tmux_create_session

Create a new tmux session. If no name is provided, tmux will generate one. Returns session name.

tmux_list_sessions

List all active tmux sessions with their details (name, windows, created time, attached status).

tmux_send_keys

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

tmux_capture_pane

Capture the visible content of a tmux pane. Returns the text currently displayed in the pane.

tmux_kill_session

Kill/terminate a tmux session and all its windows and panes.

tmux_split_window

Split the current window in a tmux session horizontally or vertically to create a new pane.

tmux_select_pane

Select a specific pane in a tmux session to make it active for commands.

tmux_list_panes

List all panes in a tmux session with their details (index, size, active status).

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