write_to_terminal
Writes to the active iTerm terminal, often used to run a command. Returns the number of lines of output produced by the command.
How to use it
write_to_terminal is exposed by the Iterm MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the write_to_terminal tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Iterm MCP
$
npx -y @smithery/cli install iterm-mcp --client claude