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

Before you configure MCP, ensure that the user account meets the following access and permissions requirements:
  • License requirement: Assign an Attended Bot Runner license to the user.
  • Device connection
    • The Attended Bot Runner user must be connected to a registered local device in the Automation Anywhere Control Room. Check that your bot configuration is correct and the bot can run from the Control Room. See Create your first bot.
    • Device registration must be completed and active.
  • Required permissions
    • AI permissions:
      • View Agent Connections: View inbound and outbound tools and connections
      • Manage Agent Connections: Configure and manage inbound and outbound tools and connections
    • API permissions: Generate API Key. See Generate API key.
    • Bot permissions:
      • View my bots
      • Run my bots
      • Ensure the required bots are assigned to the user's role (RBAC)

Before using MCP, validate the following directly in the Automation Anywhere Control Room:

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>"
            }
        }