
sibilleb/aap-enterprise-mcp-server 是从 https://github.com/sibilleb/aap-enterprise-mcp-server. 导入的一个 MCP 服务器候选
概览
sibilleb/aap-enterprise-mcp-server 是从 https://github.com/sibilleb/aap-enterprise-mcp-server. 导入的一个 MCP 服务器候选
概述(AI 翻译)
一套全面的模型上下文协议(MCP)服务器套件,适用于红帽自动化和基础设施生态系统,使AI助手能够与Ansible自动化平台(AAP)、事件驱动Ansible(EDA)、ansible-lint 代码质量工具以及红帽官方文档交互,并实现安全域验证。
特色
Ansible 自动化平台(AAP)集成
- 库存管理:列出、创建、更新库存并管理主机/组
- 作业管理:运行作业模板,监控作业状态,并检索日志
- 项目管理:创建和管理基于SCM的项目
- 模板管理:创建和管理作业模板
- 主机操作:添加/移除主机,管理主机变量和事实
- 临时命令:直接在库存主机上执行 ansible 命令
事件驱动 Ansible(EDA)集成
- 激活管理:列出、创建、启用/禁用EDA激活
- 规则书管理:管理和查询规则书
- 决策环境管理:管理决策环境
- 事件流监控:监控事件流
Ansible 星系集成
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
AAP Enterprise MCP Server
A comprehensive Model Context Protocol (MCP) server suite for Red Hat’s automation and infrastructure ecosystem, enabling AI assistants to interact with Ansible Automation Platform (AAP), Event-Driven Ansible (EDA), ansible-lint code quality tools, and Red Hat’s official documentation with secure domain validation.
Features
Ansible Automation Platform (AAP) Integration
- Inventory Management: List, create, update inventories and manage hosts/groups
- Job Management: Run job templates, monitor job status, and retrieve logs
- Project Management: Create and manage SCM-based projects
- Template Management: Create and manage job templates
- Host Operations: Add/remove hosts, manage host variables and facts
- Ad-hoc Commands: Execute ansible commands directly on inventory hosts
Event-Driven Ansible (EDA) Integration
- Activation Management: List, create, enable/disable EDA activations
- Rulebook Management: Manage and query rulebooks
- Decision Environment Management: Manage decision environments
- Event Stream Monitoring: Monitor event streams
Ansible Galaxy Integration
- Collection Search: Search and discover Ansible collections by name, namespace, or keywords
- Role Search: Find community roles by keyword, author, or specific criteria
- Content Details: Get comprehensive information about collections and roles including versions, dependencies, and installation instructions
- Smart Suggestions: AI-powered content recommendations based on use case descriptions
- AAP Integration: Intelligent suggestions that consider existing AAP infrastructure and inventories
Ansible Lint Integration
- Playbook Validation: Real-time linting of Ansible playbook content with configurable quality profiles
- File Analysis: Comprehensive analysis of Ansible files, roles, and entire project structures
- Best Practice Enforcement: Automated checking against Ansible community standards and best practices
- Syntax Validation: Quick syntax checking for immediate feedback during development
- Multi-Profile Support: Progressive quality improvement with profiles from basic to production-ready
- Rule Management: List, filter, and understand ansible-lint rules with detailed explanations
Red Hat Documentation Integration (Streamlined)
- Efficient Discovery: Web search-based content discovery using official Red Hat domains
- Smart Content Fetching: PDF-first strategy handling Red Hat’s JavaScript rendering issues
- Domain Security: Validates access to 50+ official Red Hat domains for secure documentation access
- Minimal MCP Overhead: Streamlined 2-tool approach reduces API calls by 75%
- Search Query Generation: Creates optimized search queries for external WebSearch MCP tool usage
- Authentication Handling: Smart detection of subscription-required vs public content
Installation
Prerequisites
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"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"
}
}
}
}