AAP-Enterprise-MCP-Server

sibilleb/AAP-Enterprise-MCP-Server

3.3

If you are the rightful owner of AAP-Enterprise-MCP-Server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

AAP Enterprise MCP Server is a comprehensive Model Context Protocol (MCP) server suite designed for Red Hat's automation and infrastructure ecosystem.

The AAP Enterprise MCP Server is a robust solution that integrates seamlessly with Red Hat's Ansible Automation Platform (AAP), Event-Driven Ansible (EDA), ansible-lint code quality tools, and Red Hat's official documentation. It provides a secure and efficient way for AI assistants to interact with these platforms, ensuring domain validation and streamlined operations. The server suite supports inventory management, job and project management, and ad-hoc command execution within AAP. It also facilitates activation and rulebook management in EDA, while offering intelligent content recommendations and best practice enforcement through ansible-lint. Additionally, it enhances documentation access with a PDF-first strategy and domain security, reducing API overhead significantly. This makes it an ideal choice for organizations looking to optimize their automation workflows and maintain high standards of code quality and documentation access.

Features

  • Seamless integration with Ansible Automation Platform for comprehensive inventory and job management.
  • Event-Driven Ansible support for activation and rulebook management.
  • Ansible Galaxy integration for intelligent content discovery and recommendations.
  • Real-time ansible-lint validation for enforcing best practices and code quality.
  • Secure and efficient access to Red Hat documentation with domain validation.

Usages

usage with Claude Desktop

{
  "mcpServers": {
    "ansible": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/AAP-Enterprise-MCP-Server",
        "run",
        "ansible.py"
      ],
      "env": {
        "AAP_TOKEN": "your-aap-api-token",
        "AAP_URL": "https://your-aap-server.com/api/controller/v2"
      }
    },
    "eda": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/AAP-Enterprise-MCP-Server",
        "run",
        "eda.py"
      ],
      "env": {
        "EDA_TOKEN": "your-eda-api-token",
        "EDA_URL": "https://your-aap-server.com/api/eda/v1"
      }
    },
    "ansible-lint": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/AAP-Enterprise-MCP-Server",
        "run",
        "ansible-lint.py"
      ]
    },
    "redhat-docs": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/AAP-Enterprise-MCP-Server",
        "run",
        "redhat_docs.py"
      ],
      "env": {
        "REDHAT_USERNAME": "your-username",
        "REDHAT_PASSWORD": "your-password"
      }
    }
  }
}

Tools

  1. list_inventories

    List all inventories

  2. run_job

    Execute a job template

  3. lint_playbook

    Lint Ansible playbook content

  4. list_activations

    List EDA activations

  5. read_documentation

    Read Red Hat documentation with domain validation