Skip to main content
Glama
aakashR37

automation-anywhere-mcp

by aakashR37
README.md
# šŸ¤– AI-Powered RPA Orchestration  
### Claude Desktop (MCP) + FastMCP + Automation Anywhere Community Edition

This project demonstrates how to integrate **Claude Desktop (via MCP)** with **Automation Anywhere Community Edition** using a custom **FastMCP Python server**.

Claude acts as the decision engine, and Python executes real RPA automations through Automation Anywhere Control Room APIs.

---

## šŸš€ Architecture

Claude Desktop (MCP Client)  
⬇  
FastMCP Python Server (Custom Tools)  
⬇  
Automation Anywhere Control Room REST API  
⬇  
Bot Execution  

---

## šŸŽÆ Features

- šŸ”¹ AI-driven automation triggering
- šŸ”¹ Dynamic bot listing from Control Room
- šŸ”¹ Supports both Manually and Automatic bot selection & execution
- šŸ”¹ MCP tool integration with Claude Desktop
- šŸ”¹ Secure environment variable handling
- šŸ”¹ REST API authentication with Control Room
- šŸ”¹ Modular and extensible structure

---

## šŸ› ļø Tech Stack

- Python 3.10+
- FastMCP
- Claude Desktop (MCP enabled)
- Automation Anywhere Community Edition
- uv (dependency management)

---

## šŸ’¬ Example Usage in Claude Desktop

User prompt:

> Run the invoice processing automation

Claude will:
1. List AA bots `list_bots`
2. Identify relevant bot
3. Call `run_bot`
4. Trigger execution

No hardcoded bot IDs required.

---

## 🧩 Claude Desktop MCP Configuration

To connect Claude Desktop to this FastMCP server, update your Claude Desktop MCP configuration file.

### šŸ“ Locate Claude Desktop Config File

Open Claude Desktop → Settings → Developer → MCP Configuration

Add the following configuration:

```json
{
  "mcpServers": {
    "automation-anywhere": {
      "command": "ADD_PATH\\.venv\\Scripts\\python.exe",
      "args": [
        "ADD_PATH\\main.py"
      ]
    }
  },
  "preferences": {
    "coworkScheduledTasksEnabled": false,
    "sidebarMode": "chat",
    "coworkWebSearchEnabled": true
  }
}

āš ļø Important

Replace:

ADD_PATH with your actual project directory path.

Example (Windows):

"command": "C:\\Users\\YourName\\AA_MCP\\.venv\\Scripts\\python.exe",
"args": [
  "C:\\Users\\YourName\\AA_MCP\\main.py"
]

For macOS:

"command": "/Users/yourname/AA_MCP/.venv/bin/python",
"args": [
  "/Users/yourname/AA_MCP/main.py"
]

šŸ”„ After Updating

Save the configuration

Restart Claude Desktop

Your MCP server should now appear as:
automation-anywhere

Claude can now call:

list_bots

run_bot

āœ… Verify Connection

In Claude Desktop, try:

List Automation anywhere bot