orchestrator
latest
false
UiPath logo, featuring letters U and I in white

Orchestrator user guide

Last updated Oct 31, 2025

Creating command MCP Servers

  1. In the MCP Servers page, select Add MCP Server.
    The Add MCP Server window is displayed.
  2. From the top of the page, select the Command type.
  3. In the Name field, enter a name for the MCP Server.
    Note: The name is used as the actual slug for the Preview URL. Because of this, make sure that the name you provide respects the following validation criteria:
    • The name must be in accordance with the Regex rule: /^[a-zA-Z0-0]+(?:[-]+[a-zA-Z0-0+)*$/.
    • The value must have a minimum of 3 characters and a maximum of 50 characters.
  4. In the Preview URL, enter a name to preview the full URL.
    The Preview URL uses the following format: https://cloud.uipath.com/<OrganizationName>/<TenantName>/agenthub_/mcp/<FolderID>/<MCPServerName>.

    Make sure that you have the appropriate permissions to access the folder and create an MCP Server in the folder.

  5. Add a Description of the MCP Server.
  6. Add the Command for the external MCP Server.
    You can use npx commands for Node.js projects or uvx for Python projects. The command must be available in the environment where the MCP Server runs.
  7. Add the Arguments for the external MCP Server.

    Arguments are passed directly to the executable and usually include the script or package name, and any additional flags required by the MCP Server.

  8. Add the Environment Configuration for the MCP Server.

    Environment variables define how the command runs, such as API keys, ports, or runtime options.

    Note:
    When you add an environment variable including terms like secret, api_key, or token, the value is automatically masked in after saving. This is also applicable for assets of type Secret.

    The value remains securely stored and is only accessible to serverless robots running the MCP Server job.

  9. Select Add.
    The MCP Server is created and displayed on the MCP Servers page.
Check the following example for a command MCP Server example. This example launches a sample MCP Server using an nxp command, listening on port 3001, with a a production environment variable:
Command: npx
Arguments:
  @modelcontextprotocol/server-example
  --port
  3001
Environment Configuration:
  PORT=3001
  NODE_ENV=productionCommand: npx
Arguments:
  @modelcontextprotocol/server-example
  --port
  3001
Environment Configuration:
  PORT=3001
  NODE_ENV=production

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2025 UiPath. All rights reserved.