iTerm MCP
MCP server that lets AI models execute commands in an active iTerm2 terminal session. Provides tools to write commands, read output lines selectively for token efficiency, and send control characters (Ctrl+C, Ctrl+Z). User and AI share the same terminal window for real-time collaboration.
Score Breakdown
⚙ Agent Friendliness
🔒 Security
Community/specialized tool. Apply standard security practices for category. Review documentation for specific security requirements.
⚡ Reliability
Best When
You are on macOS using iTerm2 and want an AI assistant to directly execute commands, read output, and interact with REPLs in your terminal session with full visibility.
Avoid When
You need cross-platform terminal support, want built-in safety restrictions on command execution, or are running in a headless environment without iTerm2.
Use Cases
- • AI-assisted CLI workflows where the model runs commands and reads output in your iTerm session
- • REPL-driven development with AI executing and iterating on code in interactive shells
- • Debugging terminal-based applications with AI reading and analyzing output
- • Automating multi-step terminal operations with AI oversight
- • Pair programming in the terminal where both human and AI can observe and act
Not For
- • Non-macOS platforms (requires iTerm2)
- • Headless or remote server environments without iTerm2
- • Production automation or CI/CD pipelines
- • Sandboxed or restricted execution environments needing safety guardrails
Interface
Authentication
No authentication required. Operates within the user's existing iTerm2 session context via AppleScript integration.
Pricing
Fully open source under MIT license.
Agent Metadata
Known Gotchas
- ⚠ No built-in safety restrictions - model has full command execution capability
- ⚠ macOS-only due to iTerm2 and AppleScript dependency
- ⚠ Models may execute destructive commands unpredictably - user must monitor
- ⚠ Shared terminal means user and AI commands can interleave unpredictably
- ⚠ Control characters (Ctrl+C) may not behave as expected in all REPL contexts
Alternatives
Full Evaluation Report
Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for iTerm MCP.
Scores are editorial opinions as of 2026-03-06.