# Creating coded 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 **Coded** 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.

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 **Coded** 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. Choose a process from the **Process** drop-down list.
:::tip
You can also create a new process if you select the **Plus** icon next to the **Process** drop-down list. This opens the **Add process** wizard so you can create a new process. For more information, check the [Managing Processes](https://docs.uipath.com/orchestrator/automation-cloud/latest/user-guide/managing-processes#managing-processes)
:::
7. Select **Add**. The MCP Server is created and displayed on the **MCP Servers** page.
