iterm-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_sessionsA | List all iTerm2 windows, tabs, and panes with their session IDs, names, and working directories. Use this to discover which terminal is running which agent. |
| check_activityA | Scan all iTerm2 sessions and report which are active vs idle. Returns each session's foreground process, last few lines of output, and an idle/active assessment. Use this to discover which sessions are worth watching or placing in a layout grid. |
| read_outputA | Read the last N lines of output from a specific iTerm2 session by its session ID. |
| write_inputA | PREFER SendMessage when the target is another Claude Code session. SendMessage delivers an addressed, queued message straight into that session's conversation; it does not depend on which pane has focus, does not race whatever the session is mid-way through, and is not silently swallowed if the session is busy. Reach for write_input only for terminal work SendMessage cannot do: driving a shell, REPL or TUI, answering an interactive prompt, or starting a program in a pane. Send text input to a specific iTerm2 session. By default presses Enter after the text. When sending to a Claude Code session anyway, set submit: true — this writes the text without a trailing newline, then sends a separate Enter keystroke to trigger submission (Claude Code buffers pasted text and needs a distinct Enter to submit). |
| send_controlA | PREFER SendMessage when you want another Claude Code session to stop, change course, or do something else — interrupting it by keystroke races whatever it is doing and discards its in-flight work, where a message is delivered cleanly at its next turn. Reach for send_control for genuine terminal control: killing a runaway process, ending stdin, clearing a screen. Send a control character (e.g. ctrl-c to interrupt) to a specific iTerm2 session. |
| create_windowA | Create a new iTerm2 window. Prefer create_tab over this — new windows clutter the workspace. Only use create_window when the task genuinely needs a separate window. Returns the session ID of the new session. |
| create_tabA | Create a new tab in the same window as an existing session. This is the preferred way to create new sessions — use this instead of create_window. Returns the session ID of the new tab's session. |
| split_paneA | Split an existing session's pane vertically or horizontally, creating a new pane. Returns the session ID of the new pane. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
list_sessions and check_activity both serve session discovery, but descriptions clearly differentiate structural listing (IDs, cwd) from activity/idle assessment. write_input and send_control overlap slightly but are well delineated as text vs control characters. create_window/create_tab/split_pane are cleanly distinct creation paths.
All eight tools follow a consistent snake_case verb_noun pattern (check_activity, list_sessions, read_output, write_input, send_control, create_window, create_tab, split_pane). No casing or verb-style deviations.
Eight tools is well-scoped for a terminal-control server, covering discovery, I/O, control signals, and layout creation. Each tool earns its place with no redundant or filler entries.
The surface covers discovery, reading, writing, control, and creation (window/tab/pane), but lacks any close/kill session or tab/window operation, so layout lifecycle isn't fully manageable. Agents can partially work around via send_control (ctrl-c/exit), but there is no clean teardown or focus/select operation.