The iterm-mcp server provides Claude and other MCP clients with direct control over active iTerm2 terminal sessions on macOS. It offers three primary tools: `write_to_terminal` to execute commands, `read_terminal_output` to retrieve specific lines of output, and `send_control_character` to send signals like ctrl-c, enabling the model to run commands, inspect results, and interact with REPLs. This integration allows users to delegate terminal tasks to AI models while monitoring activity in real-time, solving the problem of giving language models shell access with efficient token usage and minimal dependencies.
claude mcp add --transport stdio ferrislucas-iterm-mcp uvx iterm-mcp