ITerm MCP サーバー
iTerm2ターミナル統合のためのモデルコンテキストプロトコル(MCP)サーバー実装。このサーバーにより、AIアシスタントはモデルコンテキストプロトコルを介してiTerm2ターミナルと対話できるようになります。
特徴
iTerm2 ターミナルセッションの作成と管理
ターミナルでコマンドを実行する
端末出力の読み取り
アクティブな端末を一覧表示する
ターミナルを閉じる
要件
Node.js >= 14.x
iTerm2
macOS(iTerm2はmacOS専用なので)
構成
標準構成
サーバーは標準のMCP構成オプションを使用します。追加の構成は必要ありません。
カーソルの設定
このサーバーを Cursor で使用するには、 ~/.cursor/mcp.json
ファイルに次の構成を追加します。
ツール
open_terminal
: 新しいターミナルインスタンスを開くexecute_command
: 特定の端末でコマンドを実行するread_output
: 特定の端末からの出力を読み取るclose_terminal
: 特定のターミナルを閉じるlist_terminals
: アクティブな端末とその情報を一覧表示する
セキュリティに関する考慮事項
サーバーはZodスキーマを使用してすべての入力を検証します
コマンドは分離されたターミナルセッションで実行される
適切なエラー処理と入力サニタイズが実装されている
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
ライセンス
ISC
著者
リシャブ・クール
local-only server
The server can only run on the client's local machine because it depends on local resources.
AI アシスタントが iTerm2 ターミナルと対話できるようにし、ターミナル セッションの作成と管理、コマンド実行、ターミナル出力の読み取りを可能にするモデル コンテキスト プロトコル サーバー。
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that provides programmatic access to the Windows terminal, enabling AI models to interact with the Windows command line through standardized tools for writing commands, reading output, and sending control signals.Last updated -3MIT License
- AsecurityAlicenseAqualityA server that enables AI assistants to execute terminal commands and retrieve outputs via the Model Context Protocol (MCP).Last updated -317MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that gives AI models access to your iTerm terminal session, allowing them to read output, write commands, and send control characters.Last updated -3321MIT License
- -securityFlicense-qualityA comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.Last updated -361