Controls iTerm2 from AI assistants, editors, and other MCP clients using its official Python API.
It2mcp is a Multi-Client Protocol (MCP) server designed to enable robust control over iTerm2 terminal sessions from various external clients, including AI assistants and code editors. Built on iTerm2's official Python API, it provides a comprehensive suite of over 40 tools for managing sessions, windows, tabs, and profiles. Emphasizing security, it incorporates features like per-session tagging for explicit opt-in control and a tiered permission system (read, interact, destructive) to safeguard your terminal environment. All tool invocations are logged for auditing, and the server offers flexible configuration options to tailor its behavior to your specific security and operational needs.
