Skip to main content
Glama

iTerm MCP Server

by rishabkoul

ITerm MCP サーバー

iTerm2ターミナル統合のためのモデルコンテキストプロトコル(MCP)サーバー実装。このサーバーにより、AIアシスタントはモデルコンテキストプロトコルを介してiTerm2ターミナルと対話できるようになります。

特徴

  • iTerm2 ターミナルセッションの作成と管理
  • ターミナルでコマンドを実行する
  • 端末出力の読み取り
  • アクティブな端末を一覧表示する
  • ターミナルを閉じる

要件

  • Node.js >= 14.x
  • iTerm2
  • macOS(iTerm2はmacOS専用なので)

構成

標準構成

サーバーは標準のMCP構成オプションを使用します。追加の構成は必要ありません。

カーソルの設定

このサーバーを Cursor で使用するには、 ~/.cursor/mcp.jsonファイルに次の構成を追加します。

{ "mcpServers": { "terminal": { "command": "npx", "args": ["iterm_mcp_server"] } } }

ツール

  • open_terminal : 新しいターミナルインスタンスを開く
  • execute_command : 特定の端末でコマンドを実行する
  • read_output : 特定の端末からの出力を読み取る
  • close_terminal : 特定のターミナルを閉じる
  • list_terminals : アクティブな端末とその情報を一覧表示する

セキュリティに関する考慮事項

  • サーバーはZodスキーマを使用してすべての入力を検証します
  • コマンドは分離されたターミナルセッションで実行される
  • 適切なエラー処理と入力サニタイズが実装されている

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

ライセンス

ISC

著者

リシャブ・クール

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

AI アシスタントが iTerm2 ターミナルと対話できるようにし、ターミナル セッションの作成と管理、コマンド実行、ターミナル出力の読み取りを可能にするモデル コンテキスト プロトコル サーバー。

  1. 特徴
    1. 要件
      1. 構成
        1. 標準構成
        2. カーソルの設定
      2. ツール
        1. セキュリティに関する考慮事項
          1. 貢献
            1. ライセンス
              1. 著者

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  A 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 -
                  3
                  JavaScript
                  MIT License
                • A
                  security
                  F
                  license
                  A
                  quality
                  A Model Context Protocol server that allows secure execution of pre-approved commands, enabling AI assistants to safely interact with the user's system.
                  Last updated -
                  1
                  3
                  18
                  JavaScript
                • A
                  security
                  A
                  license
                  A
                  quality
                  A server that enables AI assistants to execute terminal commands and retrieve outputs via the Model Context Protocol (MCP).
                  Last updated -
                  3
                  6
                  Python
                  MIT License
                  • Apple
                  • Linux
                • -
                  security
                  -
                  license
                  -
                  quality
                  A 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 -
                  TypeScript
                  MIT License

                View all related MCP servers

                MCP directory API

                We provide all the information about MCP servers via our MCP API.

                curl -X GET 'https://glama.ai/api/mcp/v1/servers/rishabkoul/iTerm-MCP-Server'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server