Ansible Automation Platform

v1.0.0Cloud Servicesstable

MCP Server for Ansible Automation Platform (AAP) and Event-Driven Ansible (EDA)

aap-enterprise-mcp-servermcpai-integration
Share:
30
Stars
0
Downloads
0
Weekly
0/5

What is Ansible Automation Platform?

Ansible Automation Platform is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for ansible automation platform (aap) and event-driven ansible (eda)

MCP Server for Ansible Automation Platform (AAP) and Event-Driven Ansible (EDA)

This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP Server for Ansible Automation Platform (AAP) and Event-D

Use Cases

Integrate Ansible Automation Platform and Event-Driven Ansible via MCP.
Manage automation workflows through AI assistant interface.
sibilleb

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 5, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx aap-enterprise-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Ansible Automation Platform

AAP Enterprise MCP Server is a comprehensive MCP integration for Red Hat Ansible Automation Platform (AAP) and Event-Driven Ansible (EDA), enabling AI assistants to execute job templates, manage inventories, validate playbooks with Ansible Lint, search Ansible Galaxy for collections and roles, and access official Red Hat documentation across 50+ domains. It is designed for platform engineers and automation architects who want to interact with their Ansible infrastructure conversationally without leaving their AI assistant.

Prerequisites

  • Python 3.10+ installed with uv or pip
  • A running Ansible Automation Platform instance with API access
  • AAP_TOKEN and AAP_URL environment variables for AAP authentication
  • EDA_TOKEN and EDA_URL environment variables if using Event-Driven Ansible
  • An MCP-compatible client such as Claude Desktop or Cursor
1

Clone the repository

Clone the AAP Enterprise MCP Server repository to your local machine.

git clone https://github.com/sibilleb/AAP-Enterprise-MCP-Server.git
cd AAP-Enterprise-MCP-Server
2

Install dependencies

Install the Python dependencies using uv sync (recommended) or pip install.

uv sync
# or: pip install -e .
3

Gather your AAP credentials

From your AAP web console, create an API token under your user profile. Note the AAP server URL (format: https://your-aap-server.com/api/controller/v2) and your EDA URL if using Event-Driven Ansible.

4

Set environment variables

Export your AAP and EDA credentials as environment variables.

export AAP_TOKEN=your_aap_api_token
export AAP_URL=https://your-aap-server.com/api/controller/v2
export EDA_TOKEN=your_eda_api_token
export EDA_URL=https://your-aap-server.com/api/eda/v1
5

Add the server to your MCP client config

Register the AAP Enterprise MCP server in your Claude Desktop configuration with your credentials passed as environment variables.

{
  "mcpServers": {
    "aap-enterprise": {
      "command": "uv",
      "args": ["run", "python", "-m", "aap_mcp_server"],
      "env": {
        "AAP_TOKEN": "your_aap_api_token",
        "AAP_URL": "https://your-aap-server.com/api/controller/v2",
        "EDA_TOKEN": "your_eda_api_token",
        "EDA_URL": "https://your-aap-server.com/api/eda/v1"
      }
    }
  }
}
6

Verify connectivity and available tools

Ask your AI assistant to list available job templates or search Galaxy for a collection to confirm the AAP and Galaxy integrations are working.

Ansible Automation Platform Examples

Client configuration

Claude Desktop configuration for the AAP Enterprise MCP server with AAP and EDA credentials.

{
  "mcpServers": {
    "aap-enterprise": {
      "command": "uv",
      "args": ["run", "python", "-m", "aap_mcp_server"],
      "env": {
        "AAP_TOKEN": "your_aap_api_token",
        "AAP_URL": "https://your-aap-server.com/api/controller/v2",
        "EDA_TOKEN": "your_eda_api_token",
        "EDA_URL": "https://your-aap-server.com/api/eda/v1",
        "REDHAT_USERNAME": "your_rh_username",
        "REDHAT_PASSWORD": "your_rh_password"
      }
    }
  }
}

Prompts to try

Example prompts for managing Ansible Automation Platform through the AI assistant.

- "Run job template ID 5 with extra_vars target_env=production and return the status"
- "Search Ansible Galaxy for collections that automate AWS EC2 instances"
- "Lint this playbook and check it against the production quality profile"
- "List all EDA activations and show which rulebooks are currently active"
- "What does the Red Hat documentation say about AAP credentials management?"

Troubleshooting Ansible Automation Platform

Authentication errors when calling AAP tools

Verify that AAP_TOKEN is a valid API token (not your login password) generated from the AAP web console under your user profile. Ensure AAP_URL ends with /api/controller/v2 and does not have a trailing slash.

SSL certificate verification errors connecting to AAP

If your AAP server uses a self-signed certificate, you may need to configure certificate trust at the OS level or check for a verify_ssl configuration option in the server. Production AAP instances typically use valid certificates.

Job templates list is empty or EDA tools return errors

Confirm your AAP token has the appropriate role permissions in AAP (at least read access to job templates). For EDA tools, verify EDA_TOKEN and EDA_URL are correctly set — they are separate credentials from AAP.

Frequently Asked Questions about Ansible Automation Platform

What is Ansible Automation Platform?

Ansible Automation Platform is a Model Context Protocol (MCP) server that mcp server for ansible automation platform (aap) and event-driven ansible (eda) It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Ansible Automation Platform?

Follow the installation instructions on the Ansible Automation Platform GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Ansible Automation Platform?

Ansible Automation Platform works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Ansible Automation Platform free to use?

Yes, Ansible Automation Platform is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Cloud Services MCP Servers

Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "aap-enterprise-mcp-server": { "command": "npx", "args": ["-y", "aap-enterprise-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Ansible Automation Platform?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides