ferrislucas/iterm-mcp
by Various
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
MCP
ferrislucas/iterm-mcp
Added 1 June 2026
Overview
This tool is a Model Context Protocol server that lets AI assistants execute commands directly in the user's current iTerm session. It enables interactive workflows like REPL loops and CLI assistance. The server runs locally and communicates with MCP-compatible AI clients.
Best for
Best for
Developers on macOS who want AI assistants to execute commands directly in their iTerm terminal
Use cases
- Execute shell commands via an AI assistant
- Run REPL sessions interactively in iTerm
- Automate CLI workflows from a chat interface
How to use
Install
npx -y @smithery/cli install iterm-mcp --client claude Tools exposed
write_to_terminalread_terminal_outputsend_control_character
Tested with
Claude Desktop
Example client config
{\n "mcpServers": {\n "iterm-mcp": {\n "command": "npx",\n "args": [\n "-y",\n "iterm-mcp"\n ]\n }\n }\n} Notes
This tool is a Model Context Protocol server that lets AI assistants execute commands directly in the user’s current iTerm session. It enables interactive workflows like REPL loops and CLI assistance. The server runs locally and communicates with MCP-compatible AI clients.
557 stars on GitHub. Last updated 2025-09-20. Licensed MIT.
Use cases
- Execute shell commands via an AI assistant
- Run REPL sessions interactively in iTerm
- Automate CLI workflows from a chat interface
Pros
- Leverages the existing iTerm session context and environment
- Open source with a visible community (557 stars on GitHub)
- Straightforward TypeScript implementation for easy customization
Cons
- Limited to macOS because it requires iTerm2
- Commands execute in a real terminal with no built-in sandboxing or approval prompts
- User must trust the AI instructions to avoid unintended actions
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Leverages the existing iTerm session context and environment
- Open source with a visible community (557 stars on GitHub)
- Straightforward TypeScript implementation for easy customization
Cons
- Limited to macOS because it requires iTerm2
- Commands execute in a real terminal with no built-in sandboxing or approval prompts
- User must trust the AI instructions to avoid unintended actions
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.