UiPath Documentation
uipath-cli
latest
false
UiPath CLI ユーザー ガイド
重要 :
このコンテンツは機械翻訳によって処理されています。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

UIP AgentHub

「uip agenthub mcp」、「mcp-user-connections」、「platform-services」、および「platform-tools」の構文とオプション。AgentHub MCP サーバー、そのユーザーごとの接続、およびテナントで提供されるプラットフォーム MCP サービスとツールを登録および管理します。

uip agenthub は、 UiPath AgentHub を管理します。MCP (モデル コンテキスト プロトコル) サーバーの登録とそのツールに加え、リモートの A2A (エージェント間) エージェントの登録も行っています。AgentHub MCP サーバーは、コード化されたエージェントとローコード エージェントに一連の呼び出し可能なツールを公開する、フォルダー範囲の名前付きのリソースです。これは、クライアントが実行時にこれらのツールを呼び出す方法である MCP ワイヤ プロトコルとは異なります。

このリソースは、次の 2 ページにまたがっています。

  • このページ には、概念、 mcp (MCP サーバーの登録、一覧表示、更新、削除)、 mcp-user-connections ( remote サーバーのユーザーごとの接続)、 platform-services と platform-tools (テナントが platform サーバーに対して提供するサービスとツール) が含まれます。
  • mcp-toolsとremote-a2a-agent — MCP サーバーに接続されているツールとリモート A2A エージェントの登録を管理します。

概念​

  • サーバーの種類は作成時に固定されています。サーバーの種類は、 uipath、 command、 coded、 selfhosted、 remote、 process-assistant、 platform、 swaggerです。mcp list と mcp get の出力のTypeフィールドは数値です。

    入力Type 件の値
    uipath0
    command1
    coded2
    selfhosted3
    remote4
    process-assistant5
    platform6
    swagger7

    mcp create には、 uipath、 coded、 command、 remote、 platform、 swagger用のサブコマンドがあります。mcp update は、 selfhosted サーバーを処理するランタイムによって登録されるサーバーと process-assistant サーバーを拒否します。

  • フォルダー コンテキスト。AgentHub リソースは Orchestrator フォルダー範囲です。--folder-key <guid> または --folder-path <path>を渡します。mcp list は --all-foldersも受け入れます。このリストには、呼び出し元が参照できるすべてのフォルダーが一覧表示されます。読み取れないフォルダーは、ほとんどの場合、呼び出し元が AgentHub で AgentHub の権限を持っていないためにスキップされ、警告が表示されます。mcp create、 mcp delete、および mcp refresh-tools は、フォルダーを渡さない場合、ネットワーク呼び出しの前に失敗します。

  • 作成および更新時の入力モード: --file、 --body、またはスカラー フラグのいずれか 1 つだけです。複数のソースを渡すと、 ConflictingInputで失敗します。「なし」を渡すと、 MissingInputで失敗します。--print-schema は、何も書き込まずに、その型が予期するペイロードの JSON スキーマを出力します。--dry-run は、API を呼び出すことなく、解決されたミューテーション プラン (HTTP 動詞、ターゲット、解決されたペイロード) を Code: "DryRun" の下に出力します。

  • スカラー update パスしないものを保持します。 --file と --body サーバーを置き換えます。スカラーモードでは、渡すフラグのみが変更されます。uipath サーバーの更新では、そのツールがインストールされている必要があります。サービスではすべてのツールがペイロードの toolsに置き換えられるためです。ペイロードを {"server": {...}, "tools": [...]}--file または --body として渡すか、 "tools": []してすべて削除します。別のサーバーの種類に対して渡されたタイプ固有のフラグは拒否されます。

  • ヘッダーと環境変数。--header <key=value> と --env <key=value> は改行で区切られた行として保存されます (ヘッダーの場合はName:Value 、変数の場合は KEY=VALUE )。正確に %ASSETS/<asset-name>% のヘッダー値は、ヘッダーが送信されるたびに、サーバーのフォルダー内のその Orchestrator アセットの値に置き換えられます。mcp get は、シークレット値を としてマスク ****。mcp updateの場合、 に --header "<name>=****" または --env "<name>=****"を渡します。マスクされた値を保持するために、mcp get に表示されているとおりの名前を付けます。

  • 出力キーの大文字と小文字。Data キーは、CLI の他の部分と同様に PascalCase です。mcp template と --print-schema では、API のキャメルケース フィールド名が Dataの下に保持されるため、出力を編集して --file または --bodyで送り返すことができます。

概要​

uip agenthub mcp list [--type <type>] [--status <s>] [--name <substr>] [--limit <n>] [--offset <n>] [--folder-key <key> | --folder-path <path> | --all-folders]
uip agenthub mcp get <slug> [--folder-key <key> | --folder-path <path>]
uip agenthub mcp create <uipath|coded|command|remote|platform|swagger> [type-specific options] [--file <path> | --body <json> | scalars] [--print-schema] [--dry-run]
uip agenthub mcp update <slug> [type-specific options] [--file <path> | --body <json> | scalars] [--print-schema] [--dry-run]
uip agenthub mcp template <type>
uip agenthub mcp delete <slug> -y [--dry-run]
uip agenthub mcp refresh-tools <slug> --folder-key <key> | --folder-path <path> [--dry-run]

uip agenthub mcp-user-connections list   --mcp <slug> --folder-key <key> | --folder-path <path>
uip agenthub mcp-user-connections set    --mcp <slug> (--connection-id <id> | --connection-name <name>) (--me | --user-id <id> | --user-email <email>) [--user-name <name>] --folder-key <key> | --folder-path <path> [--dry-run]
uip agenthub mcp-user-connections delete --mcp <slug> (--me | --user-id <id> | --user-email <email>) --folder-key <key> | --folder-path <path> -y [--dry-run]

uip agenthub platform-services list [--limit <n>] [--offset <n>]
uip agenthub platform-tools list --service <name> [--name <substr>] [--limit <n>] [--offset <n>]
uip agenthub mcp list [--type <type>] [--status <s>] [--name <substr>] [--limit <n>] [--offset <n>] [--folder-key <key> | --folder-path <path> | --all-folders]
uip agenthub mcp get <slug> [--folder-key <key> | --folder-path <path>]
uip agenthub mcp create <uipath|coded|command|remote|platform|swagger> [type-specific options] [--file <path> | --body <json> | scalars] [--print-schema] [--dry-run]
uip agenthub mcp update <slug> [type-specific options] [--file <path> | --body <json> | scalars] [--print-schema] [--dry-run]
uip agenthub mcp template <type>
uip agenthub mcp delete <slug> -y [--dry-run]
uip agenthub mcp refresh-tools <slug> --folder-key <key> | --folder-path <path> [--dry-run]

uip agenthub mcp-user-connections list   --mcp <slug> --folder-key <key> | --folder-path <path>
uip agenthub mcp-user-connections set    --mcp <slug> (--connection-id <id> | --connection-name <name>) (--me | --user-id <id> | --user-email <email>) [--user-name <name>] --folder-key <key> | --folder-path <path> [--dry-run]
uip agenthub mcp-user-connections delete --mcp <slug> (--me | --user-id <id> | --user-email <email>) --folder-key <key> | --folder-path <path> -y [--dry-run]

uip agenthub platform-services list [--limit <n>] [--offset <n>]
uip agenthub platform-tools list --service <name> [--name <substr>] [--limit <n>] [--offset <n>]

UIP AgentHub MCP のリスト​

MCP サーバーの登録のリストを表示します。フィルター (--type、 --status、 --name) とページング (--limit/--offset) はクライアント側で適用されます。

オプション​

長押し値 (Value)既定 (Default)説明
--type <kind>uipath|command|coded|selfhosted|remote|process-assistant|platform|swagger—サーバーの種類でフィルター処理します。無効な値は、API 呼び出しの前にクライアント側で失敗します。
--status <s>string—ステータスでフィルター処理する。ステータスの数値と照合されます。
--name <substr>string—サーバー名での部分文字列の一致は大文字と小文字を区別しません。
--limit <number>integer50ページ サイズ
--offset <number>integer0行のオフセット。
--folder-key <key>GUID—Orchestrator のフォルダー。--all-foldersと相互に排他的です。
--folder-path <path>string—フォルダーの表示名または完全修飾パスです。キーに解決されます。--all-foldersと相互に排他的です。
--all-foldersフラグ無効呼び出し元が参照できるすべてのフォルダーの MCP サーバーのリストを取得します。
--login-validity <minutes>integer—この呼び出しの対話型ログイン トークンの有効期間を上書きします。
uip agenthub mcp list --folder-path Shared --type uipath --name invoice
uip agenthub mcp list --folder-path Shared --type uipath --name invoice

データシェイプ(--output json)​

{
  "Code": "AgentHubMcpList",
  "Data": {
    "Items": [{ "Slug": "invoice-mcp", "Name": "Invoice MCP", "Type": 0, "Status": 0 }],
    "Total": 1,
    "Count": 1
  }
}
{
  "Code": "AgentHubMcpList",
  "Data": {
    "Items": [{ "Slug": "invoice-mcp", "Name": "Invoice MCP", "Type": 0, "Status": 0 }],
    "Total": 1,
    "Count": 1
  }
}

UIP AgentHub MCP Get​

正規スラッグで 1 つの MCP サーバーを取得します。スラッグを返す mcp list と正確に同じようにスラッグを渡します。また、サービスはスラッグの前に表示名を照合します (表示名、別のケースのスラッグ、または別のサーバーの表示名であるスラッグが失敗し、エラーによって一致したサーバーのスラッグに名前が付けられます)。

引数​

名前Required目的
<slug>○正規の MCP サーバー スラッグ。

オプション​

長押し値 (Value)説明
--folder-key <key> / --folder-path <path>GUID/文字列フォルダー コンテキスト。
--login-validity <minutes>integerトークンの有効期間の上書き。
uip agenthub mcp get invoice-mcp --folder-path Shared
uip agenthub mcp get invoice-mcp --folder-path Shared

データシェイプ(--output json)​

{ "Code": "AgentHubMcpGet", "Data": { "Slug": "invoice-mcp", "Name": "Invoice MCP", "Type": 0 } }
{ "Code": "AgentHubMcpGet", "Data": { "Slug": "invoice-mcp", "Name": "Invoice MCP", "Type": 0 } }

swagger サーバーの場合、Data SwaggerUrl、サーバーの作成元の OpenAPI または Swagger ドキュメントの URL も保持されます。仕様 URL を読み取ることができない場合、コマンドは stderr に警告を出力し、警告なしでサーバーを返します。

UIP AgentHub MCP の作成​

MCP サーバーを作成します。各型には独自のサブコマンド ( uipath、 coded、 command、 remote、 platform、 swaggerがあります。フォルダーが必要です。

共通オプション​

長押し値 (Value)説明
--name <name>stringサーバーの表示名。
--slug <slug>string正規のナメクジ。既定値はスラッグ化された --nameです。
--description <text>stringサーバーの説明。
--version <version>stringサーバー バージョン。
--file <path> / --body <json>パス/JSON完全な JSON ペイロード (スカラー フラグの代替として)。
--print-schemaフラグ型の作成ペイロードの JSON スキーマを出力します。
--dry-runフラグAPI を呼び出さずにミューテーション計画を出力します。
--folder-key <key> / --folder-path <path>GUID/文字列サーバーのフォルダー。
--login-validity <minutes>integerトークンの有効期間の上書き。

種類固有のオプション​

入力オプション説明
uipath—追加のオプションはありません。後で mcp-toolsを使用してツールを追加します。
coded--process-key <key>コード化されたサーバーの Orchestrator プロセス キー。プロセスはサーバーのフォルダーで実行されます。
command--command <command>起動するコマンド。
command--arg <arg>コマンド引数。繰り返し可能。
command--env <key=value>コマンドの環境変数です。繰り返し可能。
remote--uri <uri>リモート MCP サーバーの URI。
remote--header <key=value>HTTP ヘッダー: リモート サーバーに送信されます。繰り返し可能。%ASSETS/<asset-name>%値がサポートされています。
remote--connection-id <id>Integration Service の ID (GUID) による接続。そのトークンによって呼び出しを認証します。UiPath MCP コネクタの OAuth 接続を使用します (uipath-uipath-mcp)。OAuth トークンを提供しない接続は、すべての呼び出しで失敗します。uip is connections list uipath-uipath-mcp --all-foldersでリストアップしてください。mcp-user-connections setで設定したユーザー自身のコネクションが、そのユーザーの呼び出しに代わるコネクションです。
remote--use-relay要求を UiPath Relay 経由でルーティングする
platform--service <name>プラットフォーム サービス名、大文字と小文字が区別されます (例: testmanager)。platform-services listでリストアップしてください。
platform--tool <name>名前で公開するツールです。各ツールについて繰り返します。サービスのツールを platform-tools listとともに一覧表示します。
platform--use-all-toolsサービスのすべてのツールを公開します。サービスが後で追加するツールも含めます。--toolと組み合わせることはできません。
swagger--spec-url <url>OpenAPI または Swagger のドキュメントの URL。
swagger--header <key=value>仕様のダウンロードとすべての API 呼び出しで送信される HTTP ヘッダー。繰り返し可能。%ASSETS/<asset-name>%値がサポートされています。
swagger--use-relay仕様をダウンロードし、プライベート ネットワーク内のホストの場合は、UiPath Relay 経由で API を呼び出します。
swagger--filter <expr>生成されたツール選択用に予約されたフィルター式です。繰り返し可能。
uip agenthub mcp create uipath --name InvoiceMcp --slug invoice-mcp --folder-path Shared

uip agenthub mcp create coded --name CodedMcp --slug coded-mcp \
  --process-key a1b2c3d4-e5f6-7890-abcd-ef1234567890 --folder-path Shared

uip agenthub mcp create command --name LocalMcp --slug local-mcp \
  --command npx --arg @some/server --folder-path Shared

uip agenthub mcp create remote --name RemoteMcp --slug remote-mcp \
  --uri https://example/mcp --folder-path Shared

uip agenthub mcp create platform --name TestManagerMcp --slug test-manager-mcp \
  --service testmanager --tool Get_test_sets --tool Get_test_cases --folder-path Shared

uip agenthub mcp create platform --name TestManagerAllMcp --slug test-manager-all-mcp \
  --service testmanager --use-all-tools --folder-path Shared

uip agenthub mcp create swagger --name InventoryApi --slug inventory-api \
  --spec-url https://inventory.internal.example/openapi.json --use-relay \
  --header X-Api-Key=%ASSETS/inventory-api-key% --folder-path Shared
uip agenthub mcp create uipath --name InvoiceMcp --slug invoice-mcp --folder-path Shared

uip agenthub mcp create coded --name CodedMcp --slug coded-mcp \
  --process-key a1b2c3d4-e5f6-7890-abcd-ef1234567890 --folder-path Shared

uip agenthub mcp create command --name LocalMcp --slug local-mcp \
  --command npx --arg @some/server --folder-path Shared

uip agenthub mcp create remote --name RemoteMcp --slug remote-mcp \
  --uri https://example/mcp --folder-path Shared

uip agenthub mcp create platform --name TestManagerMcp --slug test-manager-mcp \
  --service testmanager --tool Get_test_sets --tool Get_test_cases --folder-path Shared

uip agenthub mcp create platform --name TestManagerAllMcp --slug test-manager-all-mcp \
  --service testmanager --use-all-tools --folder-path Shared

uip agenthub mcp create swagger --name InventoryApi --slug inventory-api \
  --spec-url https://inventory.internal.example/openapi.json --use-relay \
  --header X-Api-Key=%ASSETS/inventory-api-key% --folder-path Shared

データシェイプ(--output json)​

{ "Code": "AgentHubMcpCreate", "Data": { "Slug": "test-manager-mcp", "Name": "TestManagerMcp", "Type": 6, "UseAllTools": false } }
{ "Code": "AgentHubMcpCreate", "Data": { "Slug": "test-manager-mcp", "Name": "TestManagerMcp", "Type": 6, "UseAllTools": false } }

--print-schema は、何も作成するのではなく、型の JSON スキーマをキャメルケースで Code: "AgentHubMcpTemplate" 返します。--dry-run は、解決されたミューテーション プランを含む Code: "DryRun" を返します。

UIP AgentHub MCP の更新​

MCP サーバーを更新します。CLI は最初にサーバーを取得し、そのタイプに一致するオプションを適用します。別のタイプのオプションは拒否されます。

引数​

名前Required目的
<slug>○正規の MCP サーバー スラッグ。

オプション​

長押し適用対象説明
--name <name>すべて更新された表示名。
--description <text>すべて更新された説明です。
--version <version>すべて更新されたバージョン。
--process-key <key>coded更新されたプロセス キー。
--command <command>commandコマンドの実行可能ファイルを更新しました。
--arg <arg>commandコマンド引数。格納されているすべての引数を置換します。繰り返し可能。
--env <key=value>command環境変数。格納されているすべての変数を置換します。マスクされた値を保持するには "<name>=****" 渡します。繰り返し可能。
--uri <uri>remoteリモート URI を更新しました。ユーザーがユーザー単位の Integration Service のコネクションを持っている間は、サーバーを別のオリジン (スキーム、ホスト、またはポート) に移動することは拒否されます。また、サーバーが独自の接続を持っている場合は --clear-connection または別の --connection-id が必要で、サーバーにシークレット ヘッダーまたはアセット バッキング ヘッダーがある場合は --header 必要があります。
--header <key=value>remote, swaggerHTTP ヘッダー。保存されているすべてのヘッダーを置換します。マスクされた値を保持するには "<name>=****" 渡します。繰り返し可能。
--use-relayremote, swaggerサーバーの要求を UiPath Relay 経由でルーティングします。
--no-use-relayremote, swaggerサーバーの要求を UiPath Relay 経由でルーティングするのを停止します。--use-relay または --no-use-relayがない場合、サーバーは Relay 設定を維持します。
--connection-id <id>remoteIntegration Service の ID による接続 (GUID) で、保存されているものを置き換えます。接続要件は create remoteと同じです。
--clear-connectionremoteサーバーの Integration Service 接続を削除します。--connection-idと組み合わせることはできません。どちらのオプションも指定しない場合、サーバーは接続を維持します。
--tool <name>platform公開するツール。選択を置換します。繰り返し可能。サーバーがすべてのツールを公開している間は、 も渡さない限り拒否されます --no-use-all-tools。
--use-all-toolsplatformサーバーが後で追加するツールを含め、サーバーのサービスのすべてのツールを公開します。
--no-use-all-toolsplatform選択したツールのみを公開します。 --toolで渡されたツール、または更新時にサーバーが公開するすべてのツールを公開します。
--spec-url <url>swaggerOpenAPI または Swagger のドキュメントの URL を更新しました。サーバーにシークレット ヘッダーまたはアセット バッキング ヘッダーがある場合、格納された URL 以外の URL も --header 必要があります。

platform サーバーのプラットフォーム サービスは更新できません。--file/--body/--print-schema/--dry-run、 --folder-key/--folder-path、 --login-validityも使用できます。--print-schema サーバーの種類の更新ペイロード スキーマを出力します。

# Rename a remote server; its URI, headers, Relay setting, and connection are kept
uip agenthub mcp update vendor-mcp --name VendorMcp --folder-path Shared

# Move a remote server to another host, replace its headers, and remove its connection
uip agenthub mcp update vendor-mcp --uri https://mcp.vendor.example/mcp \
  --header X-Tenant=acme --clear-connection --folder-path Shared

# Turn All tools off on a platform server and expose two tools
uip agenthub mcp update test-manager-mcp --no-use-all-tools \
  --tool Get_test_sets --tool Get_test_cases --folder-path Shared
# Rename a remote server; its URI, headers, Relay setting, and connection are kept
uip agenthub mcp update vendor-mcp --name VendorMcp --folder-path Shared

# Move a remote server to another host, replace its headers, and remove its connection
uip agenthub mcp update vendor-mcp --uri https://mcp.vendor.example/mcp \
  --header X-Tenant=acme --clear-connection --folder-path Shared

# Turn All tools off on a platform server and expose two tools
uip agenthub mcp update test-manager-mcp --no-use-all-tools \
  --tool Get_test_sets --tool Get_test_cases --folder-path Shared

データシェイプ(--output json)​

{ "Code": "AgentHubMcpUpdate", "Data": { "Slug": "vendor-mcp", "Name": "VendorMcp", "Type": 4 } }
{ "Code": "AgentHubMcpUpdate", "Data": { "Slug": "vendor-mcp", "Name": "VendorMcp", "Type": 4 } }

UIP AgentHub MCP テンプレート​

1 種類のサーバーに対して、すぐに編集できる JSON ペイロード スケルトンを出力します。フォルダー オプションは取りません。Dataのキーは、API が --file または --bodyで期待する Camelcase です。

引数​

名前Required目的
<type>○uipath、coded、command、selfhosted、remote、process-assistant、platform、swaggerのいずれかです。swagger-mcp は swaggerとしても受け入れられます。
uip agenthub mcp template uipath
uip agenthub mcp template uipath

データシェイプ(--output json)​

{
  "Code": "AgentHubMcpTemplate",
  "Data": {
    "server": {
      "name": "Example MCP",
      "slug": "example-mcp",
      "description": "Ready-to-edit server description.",
      "version": "1.0.0"
    },
    "tools": []
  }
}
{
  "Code": "AgentHubMcpTemplate",
  "Data": {
    "server": {
      "name": "Example MCP",
      "slug": "example-mcp",
      "description": "Ready-to-edit server description.",
      "version": "1.0.0"
    },
    "tools": []
  }
}

UIP AgentHub MCP の削除​

スラッグで MCP サーバーを削除します。-y/--yesとフォルダーが必要です。

引数​

名前Required目的
<slug>○正規の MCP サーバー スラッグ。

オプション​

長押し説明
-y, --yes確認が必要です。CLI はプロンプトを表示しません。
--dry-run削除せずにミューテーションプランを出力します。
--folder-key <key> / --folder-path <path>フォルダー コンテキスト。
uip agenthub mcp delete invoice-mcp -y --folder-path Shared
uip agenthub mcp delete invoice-mcp -y --folder-path Shared

データシェイプ(--output json)​

{ "Code": "AgentHubMcpDelete", "Data": { "Slug": "invoice-mcp", "Deleted": true } }
{ "Code": "AgentHubMcpDelete", "Data": { "Slug": "invoice-mcp", "Deleted": true } }

uip agenthub mcp refresh-tools​

サーバーがソースから派生したツール (プロセス スキーマ、リモートまたは Swagger エンドポイント、プラットフォーム サービス) を更新します。

引数​

名前Required目的
<slug>○正規の MCP サーバー スラッグ。

オプション​

長押し説明
--folder-key <key> / --folder-path <path>1 つは必須です。両方が見逃されていないと、検索前に失敗します。
--dry-run更新せずにミューテーション計画を出力します。

動作はサーバーの種類によって異なります。coded 更新と command 更新は非同期的に開始され、 で RuntimeId が返されます Status: "Started"。remote、swagger、platform の更新は同期的に完了し、ToolCountでStatus: "Refreshed"が返されます。uipath サーバーと selfhosted サーバーは拒否されます。その理由は、それらのツールが作成され、mcp-tools create-resourceを指すNextCommandヒントがあるためです。

uip agenthub mcp refresh-tools remote-mcp --folder-key f1f2f3f4-0000-0000-0000-000000000001
uip agenthub mcp refresh-tools remote-mcp --folder-key f1f2f3f4-0000-0000-0000-000000000001

データシェイプ(--output json)​

{ "Code": "AgentHubMcpRefreshTools", "Data": { "Status": "Refreshed", "ToolCount": 3 } }
{ "Code": "AgentHubMcpRefreshTools", "Data": { "Status": "Refreshed", "ToolCount": 3 } }

非同期更新では が返 { "RuntimeId": "...", "Status": "Started" }。

uip agenthub mcp-user-connections​

remote MCP サーバーのユーザーごとの Integration Service のコネクションを管理します。ユーザーの接続は、サーバー自身の接続 ( --connection-id) ではなく、そのユーザーの呼び出しを認証します。ユーザー単位の接続は remote サーバーにのみ存在します。別のサーバーの種類のスラグを渡すと、 で失敗 ErrorCode: "invalid_argument"。ユーザー単位のコネクションが有効化されていないテナントでは、すべてのサブコマンドが で失敗 not_found。

3 つのサブコマンドはすべて、 --mcp <slug> とフォルダー (--folder-key または --folder-path) を必要とし、 --login-validity <minutes>を受け入れます。

uip agenthub mcp-user-connections リスト​

リモート サーバーのユーザーごとの接続のリストを表示します。サーバーのフォルダーに McpServers.Edit が必要です。

オプション​
長押し値 (Value)説明
--mcp <slug>string必須。親 MCP サーバー スラッグ (表示名ではない)。
--folder-key <key> / --folder-path <path>GUID/文字列サーバーのフォルダー。
uip agenthub mcp-user-connections list --mcp vendor-mcp --folder-path Shared
uip agenthub mcp-user-connections list --mcp vendor-mcp --folder-path Shared
データシェイプ(--output json)​
{
  "Code": "AgentHubMcpUserConnectionsList",
  "Data": {
    "Items": [
      {
        "UserId": "3f6c1d2e-8a4b-4c7d-9e1f-0a2b3c4d5e6f",
        "UserName": "jane.doe@example.com",
        "ConnectionId": "5c1f0e2a-7b3d-4c8e-9f60-2a4b6c8d0e1f",
        "ConnectionName": "Vendor MCP (Jane)",
        "Status": "Active"
      }
    ],
    "Total": 1,
    "Count": 1
  }
}
{
  "Code": "AgentHubMcpUserConnectionsList",
  "Data": {
    "Items": [
      {
        "UserId": "3f6c1d2e-8a4b-4c7d-9e1f-0a2b3c4d5e6f",
        "UserName": "jane.doe@example.com",
        "ConnectionId": "5c1f0e2a-7b3d-4c8e-9f60-2a4b6c8d0e1f",
        "ConnectionName": "Vendor MCP (Jane)",
        "Status": "Active"
      }
    ],
    "Total": 1,
    "Count": 1
  }
}

StatusActive、RequiresAuth、Unavailable、または Inactiveです。

uip agenthub mcp-user-connections set​

リモート サーバーにユーザーの接続を設定し、ユーザーがすでに持っている接続を置き換えます。接続は、UiPath MCP コネクタ (uipath-uipath-mcp) の有効な OAuth 接続である必要があります。uip is connections list uipath-uipath-mcp --all-foldersでリストアップしてください。

独自のコネクションを設定するには、サーバーのフォルダーに Connections.Edit が必要です。別のユーザーのコネクションを設定する場合も、そこに McpServers.Edit が必要です。

オプション​
長押し値 (Value)説明
--mcp <slug>string必須。親 MCP サーバー スラッグ (表示名ではない)。
--connection-id <id>GUIDユーザーの呼び出しが認証に使用する ID による接続。
--connection-name <name>stringID ではなく名前による接続: 表示されている UiPath MCP コネクタのコネクションの 1 つです。
--meフラグ独自のコネクションを設定します。ユーザー ログインが必要です。
--user-id <id>GUIDこのユーザーのコネクションを設定します。uip admin users list メール アドレスの横に各ユーザーの ID が表示されます。
--user-email <email>string組織のユーザーとこのメールのコネクションを設定します。ユーザーを検索するには、組織のユーザーを読み取る権限が必要です。
--user-name <name>stringユーザーに対して list に表示される名前。既定値は --user-emailです。独自のコネクションでは、ログインのメール アドレスがある場合は、既定でそのメール アドレスが使用されます。
--dry-runフラグ接続を設定せずにミューテーションプランを出力します。
--folder-key <key> / --folder-path <path>GUID/文字列サーバーのフォルダー。

--connection-id と --connection-nameのいずれかを正確に渡す--me、--user-id、--user-emailのいずれかを正確に渡します。それ以外の場合、コマンドは「」という ValidationErrorで失敗します。また、次の場合には、何らかの保存前に ValidationErrorで失敗します。

  • --connection-name または --user-email は、複数のコネクションまたはユーザーに一致します。エラーには、代わりに渡す一致する ID が一覧表示されます。
  • 接続のベース URL はサーバーの URI ではありません。
  • コネクションが、ユーザーに属さない個人用ワークスペース内にある場合
# Use one of your own connections on a remote server
uip agenthub mcp-user-connections set --mcp vendor-mcp --me \
  --connection-id 5c1f0e2a-7b3d-4c8e-9f60-2a4b6c8d0e1f --folder-path Shared

# Preview setting another user's connection
uip agenthub mcp-user-connections set --mcp vendor-mcp \
  --user-email jane.doe@example.com --connection-name "Vendor MCP (Jane)" \
  --folder-path Shared --dry-run
# Use one of your own connections on a remote server
uip agenthub mcp-user-connections set --mcp vendor-mcp --me \
  --connection-id 5c1f0e2a-7b3d-4c8e-9f60-2a4b6c8d0e1f --folder-path Shared

# Preview setting another user's connection
uip agenthub mcp-user-connections set --mcp vendor-mcp \
  --user-email jane.doe@example.com --connection-name "Vendor MCP (Jane)" \
  --folder-path Shared --dry-run
データシェイプ(--output json)​
{
  "Code": "AgentHubMcpUserConnectionsSet",
  "Data": {
    "Slug": "vendor-mcp",
    "UserId": "3f6c1d2e-8a4b-4c7d-9e1f-0a2b3c4d5e6f",
    "ConnectionId": "5c1f0e2a-7b3d-4c8e-9f60-2a4b6c8d0e1f"
  }
}
{
  "Code": "AgentHubMcpUserConnectionsSet",
  "Data": {
    "Slug": "vendor-mcp",
    "UserId": "3f6c1d2e-8a4b-4c7d-9e1f-0a2b3c4d5e6f",
    "ConnectionId": "5c1f0e2a-7b3d-4c8e-9f60-2a4b6c8d0e1f"
  }
}

--dry-run は、解決されたミューテーション プランを含む Code: "DryRun" を返します。

uip agenthub mcp-user-connections 削除​

リモート サーバーからユーザーの接続を削除します。ユーザーの呼び出しは、サーバー自身の接続を使用します。独自のコネクションを削除するには、サーバーのフォルダーに Connections.Edit が必要です。別のユーザーのコネクションを削除する場合も、そこに McpServers.Edit する必要があります。

オプション​
長押し値 (Value)説明
--mcp <slug>string必須。親 MCP サーバー スラッグ (表示名ではない)。
--meフラグ独自のコネクションを削除します。
--user-id <id>GUIDこのユーザーのコネクションを削除します。
--user-email <email>stringこのメールを使用した組織のユーザーのコネクションを削除します。ユーザーを検索するには、組織のユーザーを読み取る権限が必要です。
--dry-runフラグ接続を削除せずにミューテーション計画を出力します。
-y, --yesフラグ必須。この元に戻せない操作を確認します。CLI はプロンプトを表示しません。
--folder-key <key> / --folder-path <path>GUID/文字列サーバーのフォルダー。

、--user-id、--user-emailのいずれか--me1 つだけ渡します。ユーザーがサーバーに接続されていない場合、コマンドは で失敗します not_found。

uip agenthub mcp-user-connections delete --mcp vendor-mcp --me --folder-path Shared --yes
uip agenthub mcp-user-connections delete --mcp vendor-mcp --me --folder-path Shared --yes
データシェイプ(--output json)​
{
  "Code": "AgentHubMcpUserConnectionsDelete",
  "Data": { "Slug": "vendor-mcp", "UserId": "3f6c1d2e-8a4b-4c7d-9e1f-0a2b3c4d5e6f", "Deleted": true }
}
{
  "Code": "AgentHubMcpUserConnectionsDelete",
  "Data": { "Slug": "vendor-mcp", "UserId": "3f6c1d2e-8a4b-4c7d-9e1f-0a2b3c4d5e6f", "Deleted": true }
}

UIP AgentHub プラットフォーム - サービス一覧​

テナントでプラットフォーム MCP サーバーとして提供するファーストパーティの UiPath サービスをリストアップします。mcp create platform --service または platform-tools list --serviceにServiceNameを渡します。サービス名では大文字と小文字が区別されます。

テナント範囲: フォルダー オプションなし。プラットフォーム MCP 機能を持たないテナントで not_found エラーで失敗します。

オプション​

長押し値 (Value)既定 (Default)説明
--limit <number>整数 (最大 10000)50ページ サイズ、クライアント側で適用。
--offset <number>integer0行のオフセット。
--login-validity <minutes>integer—トークンの有効期間の上書き。

--output-filter には、明示的な --limitが必要です。

uip agenthub platform-services list
uip agenthub platform-services list

データシェイプ(--output json)​

{
  "Code": "AgentHubPlatformServicesList",
  "Data": {
    "Items": [
      { "ServiceName": "testmanager", "DisplayName": "Test Manager" },
      { "ServiceName": "docsai", "DisplayName": "Docs AI" }
    ],
    "Total": 2,
    "Count": 2
  }
}
{
  "Code": "AgentHubPlatformServicesList",
  "Data": {
    "Items": [
      { "ServiceName": "testmanager", "DisplayName": "Test Manager" },
      { "ServiceName": "docsai", "DisplayName": "Docs AI" }
    ],
    "Total": 2,
    "Count": 2
  }
}

UIP AgentHub プラットフォーム - ツールのリスト​

プラットフォーム MCP サービスが提供するツールを挙げる。ツール名は、 mcp create platform --tool と mcp-tools enable --name 取る値です。各行にはツールの入力と出力の JSON スキーマが含まれているため、完全なリストは大きくなる可能性があります。

テナント範囲: フォルダー オプションなし。プラットフォームの MCP 機能を持たないテナントで、またはテナントでサービスが提供されていない場合に、 not_found エラーで失敗します。2 番目のケースでは、利用可能なサービスがエラーに表示されます。

オプション​

長押し値 (Value)既定 (Default)説明
--service <name>string—必須。プラットフォーム サービス名。大文字と小文字が区別されます。 platform-services listから です。
--name <substr>string—ツール名の部分文字列の一致は大文字と小文字を区別しません。
--limit <number>整数 (最大 10000)50ページ サイズ。フィルターの後にクライアント側で適用されます。
--offset <number>integer0行のオフセット。
--login-validity <minutes>integer—トークンの有効期間の上書き。

--output-filter には、明示的な --limitが必要です。

uip agenthub platform-tools list --service testmanager --limit 2

# Tool names only
uip agenthub platform-tools list --service testmanager --limit 1000 \
  --output-filter "{Names: Items[].Name, Total: Total}"

# Find tools by name substring
uip agenthub platform-tools list --service testmanager --name test_sets
uip agenthub platform-tools list --service testmanager --limit 2

# Tool names only
uip agenthub platform-tools list --service testmanager --limit 1000 \
  --output-filter "{Names: Items[].Name, Total: Total}"

# Find tools by name substring
uip agenthub platform-tools list --service testmanager --name test_sets

データシェイプ(--output json)​

{
  "Code": "AgentHubPlatformToolsList",
  "Data": {
    "Items": [
      {
        "Name": "Get_requirements",
        "Description": "Retrieves a paginated list of requirements in a project…",
        "Category": "Requirements",
        "InputSchema": "{\"type\":\"object\",…}",
        "OutputSchema": "{\"type\":\"object\",…}"
      }
    ],
    "Total": 35,
    "Count": 1
  }
}
{
  "Code": "AgentHubPlatformToolsList",
  "Data": {
    "Items": [
      {
        "Name": "Get_requirements",
        "Description": "Retrieves a paginated list of requirements in a project…",
        "Category": "Requirements",
        "InputSchema": "{\"type\":\"object\",…}",
        "OutputSchema": "{\"type\":\"object\",…}"
      }
    ],
    "Total": 35,
    "Count": 1
  }
}

参照​

このページは役に立ちましたか?

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得