Iterm2 Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Iterm2 Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
An MCP server that provides full control over iTerm2.
in your shell. run_command and session variables like path/jobName depend on it. Without it, run_command falls back to its timeout.
The first time the server connects, iTerm2 will prompt you to approve the binary. Approve once; subsequent launches are automatic.
uv tool install iterm2-mcpOr from source:
git clone https://github.com/lorencarvalho/iterm2-mcp.git
cd iterm2-mcp
uv syncClaude Code:
claude mcp add iterm2 -- uvx iterm2-mcpClaude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"iterm2": {
"command": "uvx",
"args": ["iterm2-mcp"]
}
}
}This server can type into terminals, run commands, and close sessions — anything you can do in iTerm2. Only connect it to MCP clients you trust. It has no sandboxing beyond what iTerm2 itself provides.
Most tools accept an optional session_id — omit it to target the currently active session.
| Tool | Purpose |
|---|---|
list_sessions | Tree of windows/tabs/sessions with IDs |
get_active_session | ID and name of the focused session |
focus_session | Bring a session to the foreground |
write_to_terminal | Send text (optionally with newline) |
send_control_character | Send Ctrl-C, Ctrl-D, Ctrl-Z, ESC, etc. |
send_escape_sequence | Send a raw ANSI escape (e.g. \x1b[2J) |
read_screen | Read the visible screen as plain text |
get_cursor_position | Current cursor (x, y) |
run_command | Send a command and wait for COMMAND_END |
create_window | Open a new iTerm2 window |
create_tab | Open a new tab |
split_pane | Split a pane horizontally or vertically |
close_session | Close a specific session |
set_session_name | Rename a session |
set_badge | Set the iTerm2 badge text |
clear_buffer | Clear screen and scrollback |
list_profiles | Enumerate iTerm2 profiles |
get_variable | Read an iTerm2 session variable |
uv sync
uv run ruff check
uv run ruff format
uv run ty checkMIT
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.