iTerm2

Enables AI interaction with iTerm2 terminals on macOS through AppleScript and Node.js, allowing command execution, output capture,

rishabkoul 14 ↓ 5.8k
Claude CodeClaude DesktopGeneric
View source ↗

iTerm-MCP-Server is a Node.js implementation that enables AI assistants to interact with iTerm2 terminals on macOS through the Model Context Protocol. Developed by Rishab Koul, this server provides tools for creating terminal sessions, executing commands, reading terminal output, and managing active terminals. The implementation uses AppleScript to control the iTerm2 GUI while maintaining a parallel Node.js process to capture command outputs, ensuring both visual feedback and programmatic access to terminal operations. This server is particularly valuable for AI assistants that need to perform terminal operations without requiring users to switch contexts, making it ideal for development workflows, system administration tasks, and automated terminal interactions.

Source

Repository: https://github.com/rishabkoul/iterm-mcp-server

Maintain iTerm2?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

iTerm2 on getagentictools
[![iTerm2 on getagentictools](https://getagentictools.com/badge/mcp/rishabkoul-iterm-mcp-server.svg)](https://getagentictools.com/mcp/rishabkoul-iterm-mcp-server?ref=badge)