UiPath Documentation
orchestrator
latest
false
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

Orchestrator 用户指南

使用 MCP OAuth 流程进行身份验证

实施MCP 授权规范的MCP 客户端可以通过 OAuth 自动进行身份验证。客户端处理完整的发现和授权流程,因此无需手动管理令牌。

此身份验证方法适用于基于 IDE 的 MCP 客户端,例如具有 GitHub Copilot 的 VS Code。

先决条件

  • 您拥有支持 MCP 授权规范的 MCP 客户端。
  • 您拥有 UiPath MCP 服务器 URL。
  • 您在包含 MCP 服务器的文件夹中拥有具有Automation UserAutomation DeveloperFolder Administrator角色的帐户。

配置 VS Code 或 GitHub Copilot

  1. 将 MCP 服务器添加到 VS Code 设置或mcp.json文件中:

    {
      "servers": {
        "my-server": {
          "type": "http",
          "url": "https://cloud.uipath.com/{org}/{tenant}/agenthub_/mcp/{folderKey}/{slug}"
        }
      }
    }
    {
      "servers": {
        "my-server": {
          "type": "http",
          "url": "https://cloud.uipath.com/{org}/{tenant}/agenthub_/mcp/{folderKey}/{slug}"
        }
      }
    }
    
  2. 打开 Copilot Chat,选择“配置工具” ,然后选择您的服务器。

  3. 浏览器将打开。登录到 UiPath。

结果

MCP 客户端已授权调用 MCP 服务器。由于 IDE 会自动处理令牌刷新,因此授权在会话之间保留。

其他 MCP 客户端

UiPath MCP Server authentication is fully compliant with the MCP specification. If your client does not yet fully support the MCP OAuth flow, you can authenticate using any of the alternative methods:

For guidance on choosing the right method, check the MCP Server authentication page.

  • 先决条件
  • 配置 VS Code 或 GitHub Copilot
  • 结果
  • 其他 MCP 客户端

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新