このページでは

MCPサーバーの追加

MCPサーバーへの接続を設定して、以下の操作を行うことができます:

  • タスクの実行
  • クロスオリジンリソース共有(CORS)を使用して、Webアプリケーションからサーバーに接続する

以下の目的でツールを使用できます:

  • コマンドラインツールやその他の実行可能ファイルを実行する
  • バージョン管理リポジトリ
  • 表示可能なファイルの一覧表示
  • ブレークポイントの管理
  • デバッガーのスタックトレースの取得
  • アクションの検索と実行

以下のコマンドを実行できます:

  • プロジェクトの依存関係の取得
  • ファイルの課題を一覧表示する
  • プロジェクト内のファイルの検索
  • プロジェクトファイルやその他のファイル内のテキストの検索および置換

MCPサーバーへの接続

MCPサーバーへの接続を追加するには:

  1. Preferences 」>「AI 」>「MCP Servers 」の順に選択します。

    AI設定の「MCPサーバー」タブ

  2. Add 」を選択します。
  3. サーバーの設定を行います。
  4. Apply 」を選択します。

以下の表に設定の概要を示します。

設定
Connection typeMCP サーバーに使用する接続の種類。
ExecutableMCP サーバープロセスを起動するための実行ファイル。標準 IO 接続でのみ使用されます。
Arguments起動コマンドの引数。
Environment標準 I/O 接続を介して MCP サーバープロセスを起動する際に適用される環境設定の変更。

レジストリからMCPサーバーを追加する

レジストリからMCPサーバーをインストールし、それらへの接続を作成するには:

  1. Preferences 」>「AI 」>「MCP Servers 」に移動します。
  2. Add from Registry 」を選択します。
  3. リストから MCP サーバーを選択します。

    「レジストリからMCPサーバーを追加」ダイアログ

  4. OK 」を選択します。

拡張機能の有効化」および「AIの使用方法」も参照してください

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.