Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CMUXLAYER_ENABLE_CLAUDE_CHANNELSNoSet to '1' to enable Claude channels preview. This advertises experimental['claude/channel'] and emits notifications for agent lifecycles.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_surfacesC

List all surfaces (terminal/browser panes) across workspaces

new_splitC

Create a new split pane (terminal or browser)

send_inputA

Send text input to a terminal surface. When sending commands to another Claude session, press_enter can be unreliable — for critical inputs, use send_input without press_enter, then call send_key with key 'return' separately.

send_keyA

Send a key press to a terminal surface. Use this after send_input to reliably submit commands — especially when targeting interactive programs like Claude sessions.

read_screenC

Read the current screen content of a terminal surface

rename_tabC

Rename a surface tab

set_statusC

Set a sidebar status key-value pair

set_progressC

Set sidebar progress indicator (0.0 to 1.0)

close_surfaceC

Close a surface (terminal or browser pane)

browser_surfaceC

Interact with a browser surface (open, navigate, snapshot, click, type, eval, wait)

spawn_agentA

Spawn an AI agent in a new terminal surface. Returns immediately — use wait_for to block until ready.

wait_forA

Block until an agent reaches a target state (ready, done, error). Checks retroactively first.

wait_for_allA

Block until ALL agents reach target state OR any agent errors (fail-fast with partial results).

get_agent_stateB

Get the full state of an agent including cli_session_id for resume.

list_agentsB

List all agents with optional filters by state, repo, or model.

stop_agentA

Stop an agent gracefully (Ctrl+C) or forcefully (kill process).

send_to_agentB

Send text input to an agent. Agent must be in ready or idle state.

read_agent_outputA

Extract structured output from an agent's terminal between delimiter markers (e.g., REVIEW_OUTPUT_START / REVIEW_OUTPUT_END). Returns the content between the markers, or null if not found.

interactA

Send a message to an agent, or perform an agent action (interrupt, model switch, resume, skill, usage). If the agent is alive, sends directly. If not found, returns an error — use spawn_agent first.

killA

Stop one or more agents. Target can be a single agent ID, an array of IDs, or 'all'.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/EtanHey/cmuxlayer'

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