iTerm MCP
by ferrislucas
Execute commands and read output directly from your active iTerm2 session for seamless AI-driven terminal control.
What it does
iTerm MCP provides a bridge between AI agents and the iTerm2 terminal. It allows models to interact with the active terminal tab, executing shell commands and reading the resulting output. This is particularly powerful for REPL-based development and complex CLI tasks where the AI needs to see the real-time state of the terminal to decide the next move.
Tools
write_to_terminal: Sends a string to the active iTerm terminal, typically used to execute a command.read_terminal_output: Retrieves a specific number of lines from the terminal output to provide context to the AI.send_control_character: Sends control sequences (like Ctrl-C or Ctrl-Z) to manage running processes.
Installation
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"iterm-mcp": {
"command": "npx",
"args": [
"-y",
"iterm-mcp"
]
}
}
}
Supported hosts
- Claude Desktop
Quick install
npx -y iterm-mcpInformation
- Pricing
- free
- Published
- 4/14/2026
- stars






