Use to set up user and automation access for the MCP (Model Context Protocol) server in the Automation Anywhere Control Room.

  1. Create a new role with permissions, user, and licenses:
    1. From the Control Room, navigate to Administration →Roles.
    2. Click Create Role and enter a name (for example, CustomerRole).
    3. Give the role these permissions:
      To make it easier and more organized to control access for Agent Interoperability, repository (role based access control) RBAC is used. This helps to discover and use Automation Anywhere bots, processes, and API Tasks.
      Permissions Settings
      AI
      • View Agent Connections: Allows users to view inbound and outbound tools and connections
      • Manage Agent Connections: Allows users to configure and manage inbound and outbound tools and connections
      API Generate API-Key. See Generate API key for details.
    4. Save the role.
    5. Navigate to Administration →Users and create a new user.
    6. Assign the following roles to the user:
      • (new) CustomerRole
      • AAE_Basic
    7. Make sure the Attended Bot Runner license is assigned.
    8. Save the user.
  2. Log in as Automation Co-Pilot admin to configure teams and processes in Automation Co-Pilot:
    1. Log in to Automation Co-Pilot with the AAE_Robotic Interface Admin user.
    2. Navigate to Manage →Teams and create a new team.
    3. Map each process to the team you just created.
  3. Check that your Process setup is correct and can run the processes.
    1. Navigate to Manage →Processes and the Process Setup page.
    2. Review the Scheduler user to make sure it is correct.
  4. Check that your API Task Runner configuration is correct and can run the API Tasks.

The following provides a sample configuration for the mcp.json for IDEs such as VS Code.

  "my-aa-mcp-server": {
            "url": "https://<your-control-room-url>/mcp",
            "headers": {
                "X-AUTH": "API_KEY=<api-key-for-user>;USER_NAME=<username>"
            }
        }