Ansible Automation Platform
MCP Server for Ansible Automation Platform (AAP) and Event-Driven Ansible (EDA)
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
Maintainer
Works with
Installation
Manual Installation
npx aap-enterprise-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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-ServerInstall dependencies
Install the Python dependencies using uv sync (recommended) or pip install.
uv sync
# or: pip install -e .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.
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/v1Add 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"
}
}
}
}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.
Ansible Automation Platform Alternatives — Similar Cloud Services Servers
Looking for alternatives to Ansible Automation Platform? Here are other popular cloud services servers you can use with Claude, Cursor, and VS Code.
Open WebUI
★ 138.2kUser-friendly AI Interface (Supports Ollama, OpenAI API, ...)
Anything LLM
★ 60.4kThe all-in-one AI productivity accelerator. On device and privacy first with no annoying setup or configuration.
LocalAI
★ 46.4kLocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
Nacos
★ 33.0kan easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.
Xiaozhi ESP32
★ 26.7k本项目为xiaozhi-esp32提供后端服务,帮助您快速搭建ESP32设备控制服务器。Backend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server.
Gateway
★ 11.8kA blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.
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.
Set Up Ansible Automation Platform in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.