pty_list
List sessions (agent rows carry agent=<kind> metadata)
How to use it
Project documentation lists pty_list for the Aiterm MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Aiterm MCP
npx -y aiterm-mcpOther tools in Aiterm MCP (13)
Change model/effort in a running Claude, Codex, Grok, or Composer session without restarting it
Claude Code CLI (Anthropic)
Inspect or answer the current correlated Claude approval prompt
Issue (dispatch-only) or recover one correlated Claude operation
Codex CLI (OpenAI; terminal config/CLI default unless overridden)
Grok Build, model grok-composer-2.5-fast by default (model? overrides); every model is live-catalog checked (xAI)
Read-only factory readiness as machine-readable JSON
Grok Build, model grok-4.6 by default (model? overrides) (xAI)
Close idempotently; return closed / alreadyclosed
Send a control key
Grab one terminal, return a sessionid
Read output, token-reduced (incremental by default)
Send text; on an agent session this is a non-blocking dispatch returning an eventcursor