Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TMUX_AGENTS_TMUXNoPath to the tmux binary. Default is 'tmux'.tmux
TMUX_AGENTS_REDACTNoReplace token-looking strings in pane text with [redacted]. Default is 'true'.true
TMUX_AGENTS_SOCKETNoUse with `tmux -L <socket>` to isolate the agents on their own tmux server. Defaults to the default tmux server.
TMUX_AGENTS_MAX_LINESNoHard cap for pane_read. Default is '2000'.2000
TMUX_AGENTS_ALLOW_KILLNoSet to 'false' to disable pane_kill / session_kill. Default is 'true'.true
TMUX_AGENTS_OPEN_COMMANDNoCommand run after agents_launch; {session} is substituted with the session name. Leave unset to run detached. Example: 'open -na Ghostty.app --args -e tmux attach -t {session}'
TMUX_AGENTS_SESSION_PREFIXNoOnly sessions whose name starts with this are visible or controllable. Default is empty, meaning all sessions are visible. It is recommended to set this, e.g. 'agents-', so the model cannot read or type into personal tmux sessions.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
tmux_statusA

How this server is configured, whether tmux answers, and the visible sessions.

panes_listA

List panes (id, title, cwd, running command, size). Titles are what agents_launch set.

Omit session to list every visible session.

pane_readA

Read the last lines lines of a pane (scrollback included).

pane is a pane id (%3), a target (session:0.1) or a pane title (partial, case-insensitive). raw=true keeps ANSI escape codes.

pane_sendA

Type text into a pane, then press Enter (unless enter=false).

Text is sent literally (no tmux key-name expansion), so multi-line prompts and special characters are safe. Use pane_key for control keys.

pane_keyC

Send a named key to a pane: C-c (interrupt), C-d, Escape, Enter, Up, Tab ...

pane_waitA

Wait until a pane stops changing for idle_seconds, or pattern (regex) appears.

Returns state (idle | matched | timeout) plus the last tail_lines lines so you can decide whether the agent finished, is asking a question, or errored. Keep timeout_seconds under your client's tool timeout; call again to keep waiting.

agents_launchA

Create a tmux session with one pane per agent and start each agent's command.

agents is a list of {"title": ..., "command": ..., "cwd": optional}. Example command strings: claude --model claude-sonnet-5 "$(cat prompts/wp1.md)" codex --model gpt-5-codex "implement WP2 per docs/plan.md" hermes chat -q "review the diff" layout: auto (side-by-side for 2, tiled for 3+), or any tmux layout name (even-horizontal, even-vertical, main-vertical, tiled). If TMUX_AGENTS_OPEN_COMMAND is set the session is also opened in a terminal app. replace=true kills an existing session of the same name first.

session_killB

Kill a session and every agent in it. Disabled when TMUX_AGENTS_ALLOW_KILL=false.

pane_killA

Kill one pane (one agent). Disabled when TMUX_AGENTS_ALLOW_KILL=false.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 9 tools

Disambiguation4/5

Most tools have clear boundaries: tmux_status is informational, panes_list enumerates, pane_read/send/key/wait operate on a single pane, agents_launch creates sessions, and session_kill/pane_kill destroy them. The only mild overlap is pane_send vs pane_key, but their descriptions clearly separate literal text from named keys.

Naming Consistency4/5

Tool names follow a consistent noun_verb pattern (tmux_status, panes_list, pane_read, pane_send, pane_key, pane_wait, agents_launch, session_kill, pane_kill). Minor deviation: tmux_status uses a prefix rather than a resource noun, and agents_launch is a compound noun rather than agent_launch, but the pattern is otherwise predictable.

Tool Count5/5

Nine tools is well-scoped for a tmux agent orchestration server: one status, one list, four pane interaction tools, one launch tool, and two kill tools. Each tool serves a distinct operational need without redundancy.

Completeness4/5

The surface covers the full lifecycle: launch agents, inspect panes, read output, send input, wait for completion, and kill sessions/panes. Minor gaps include no way to rename sessions/panes or resize panes, but these are not essential for the server's stated purpose.