Provides an AI-ready interface to Ansible Tower/AWX for managing automation resources like inventories, job templates, projects, and workflows. Enables programmatic control of Ansible Tower through a standardized API.

Empower your automation workflows with an AI-ready interface for Ansible Tower. Ansible Tower MCP Server provides a versatile Model Context Protocol API for managing inventories, hosts, job templates, projects, credentials, users, teams, and workflows through AWX. With comprehensive resource coverage, Docker support, and environment-based configuration, it enables seamless integration with AI agents or programmatic tools. The server is actively maintained and designed for easy extension, making it a robust choice for both standalone service and advanced orchestration scenarios. Contributions are welcome to help drive cloud automation forward!

2382 views2Local (stdio)

What it does

  • Manage Ansible Tower inventories and hosts
  • Control job templates and workflow execution
  • Configure projects and credentials
  • Administer users, teams, and organizations
  • Execute ad hoc Ansible commands
  • Monitor automation job status

Best for

DevOps engineers automating infrastructure managementAI agents controlling Ansible deploymentsTeams integrating Tower with custom automation tools
Docker support includedEnvironment-based configurationComprehensive AWX API coverage

About Ansible

Ansible is a community-built MCP server published by Knuckles-Team that provides AI assistants with tools and capabilities via the Model Context Protocol. Empower automation using Ansible Tower MCP Server—AI-ready, Docker support, and seamless orchestration for advanced work It is categorized under developer tools.

How to install

You can install Ansible in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

Ansible is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Ansible Tower API - A2A | AG-UI | MCP

PyPI - Version MCP Server PyPI - Downloads GitHub Repo stars GitHub forks GitHub contributors PyPI - License GitHub

GitHub last commit (by committer) GitHub pull requests GitHub closed pull requests GitHub issues

GitHub top language GitHub language count GitHub repo size GitHub repo file count (file type) PyPI - Wheel PyPI - Implementation

Version: 1.3.32

Overview

The Ansible Tower MCP Server provides a Model Context Protocol (MCP) interface to interact with the Ansible Tower (AWX) API, enabling automation and management of Ansible Tower resources such as inventories, hosts, groups, job templates, projects, credentials, organizations, teams, users, ad hoc commands, workflow templates, workflow jobs, schedules, and system information. This server is designed to integrate seamlessly with AI-driven workflows and can be deployed as a standalone service or used programmatically.

This repository is actively maintained - This is a fork of a37ai/ansible-tower-mcp, which had not been updated in 6 months.

Contributions are welcome!

Features

  • Comprehensive API Coverage: Manage Ansible Tower resources including inventories, hosts, groups, job templates, projects, credentials, organizations, teams, users, ad hoc commands, workflows, and schedules.
  • MCP Integration: Exposes Ansible Tower API functionalities as MCP tools for use with AI agents or direct API calls.
  • Flexible Authentication: Supports both username/password and token-based authentication.
  • Environment Variable Support: Securely configure credentials and settings via environment variables.
  • Docker Support: Easily deployable as a Docker container for scalable environments.
  • Extensive Documentation: Clear examples and instructions for setup, usage, and testing.

MCP

MCP Tools

The ansible-tower-mcp package exposes the following MCP tools, organized by category:

Inventory Management

  • list_inventories(limit, offset): List all inventories.
  • get_inventory(inventory_id): Get details of a specific inventory.
  • create_inventory(name, organization_id, description): Create a new inventory.
  • update_inventory(inventory_id, name, description): Update an existing inventory.
  • delete_inventory(inventory_id): Delete an inventory.

Host Management

  • list_hosts(inventory_id, limit, offset): List hosts, optionally filtered by inventory.
  • get_host(host_id): Get details of a specific host.
  • create_host(name, inventory_id, variables, description): Create a new host.
  • update_host(host_id, name, variables, description): Update an existing host.
  • delete_host(host_id): Delete a host.

Group Management

  • list_groups(inventory_id, limit, offset): List groups in an inventory.
  • get_group(group_id): Get details of a specific group.
  • create_group(name, inventory_id, variables, description): Create a new group.
  • update_group(group_id, name, variables, description): Update an existing group.
  • delete_group(group_id): Delete a group.
  • add_host_to_group(group_id, host_id): Add a host to a group.
  • remove_host_from_group(group_id, host_id): Remove a host from a group.

Job Template Management

  • list_job_templates(limit, offset): List all job templates.
  • get_job_template(template_id): Get details of a specific job template.
  • create_job_template(name, inventory_id, project_id, playbook, credential_id, description, extra_vars): Create a new job template.
  • update_job_template(template_id, name, inventory_id, playbook, description, extra_vars): Update an existing job template.
  • delete_job_template(template_id): Delete a job template.
  • launch_job(template_id, extra_vars): Launch a job from a template.

Job Management

  • list_jobs(status, limit, offset): List jobs, optionally filtered by status.
  • get_job(job_id): Get details of a specific job.
  • cancel_job(job_id): Cancel a running job.
  • get_job_events(job_id, limit, offset): Get events for a job.
  • get_job_stdout(job_id, format): Get the output of a job in specified format (txt, html, json, ansi).

Project Management

  • list_projects(limit, offset): List all projects.
  • get_project(project_id): Get details of a specific project.
  • create_project(name, organization_id, scm_type, scm_url, scm_branch, credential_id, description): Create a new project.
  • update_project(project_id, name, scm_type, scm_url, scm_branch, description): Update an existing project.
  • delete_project(project_id): Delete a project.
  • sync_project(project_id): Sync a project with its SCM.

Credential Management

  • list_credentials(limit, offset): List all credentials.
  • get_credential(credential_id): Get details of a specific credential.
  • list_credential_types(limit, offset): List all credential types.
  • create_credential(name, credential_type_id, organization_id, inputs, description): Create a new credential.
  • update_credential(credential_id, name, inputs, description): Update an existing credential.
  • delete_credential(credential_id): Delete a credential.

Organization Management

  • list_organizations(limit, offset): List all organizations.
  • get_organization(organization_id): Get details of a specific organization.
  • create_organization(name, description): Create a new organization.
  • update_organization(organization_id, name, description): Update an existing organization.
  • delete_organization(organization_id): Delete an organization.

Team Management

  • list_teams(organization_id, limit, offset): List teams, optionally filtered by organization.
  • get_team(team_id): Get details of a specific team.
  • create_team(name, organization_id, description): Create a new team.
  • update_team(team_id, name, description): Update an existing team.
  • delete_team(team_id): Delete a team.

User Management

  • list_users(limit, offset): List all users.
  • get_user(user_id): Get details of a specific user.
  • create_user(username, password, first_name, last_name, email, is_superuser, is_system_auditor): Create a new user.
  • update_user(user_id, username, password, first_name, last_name, email, is_superuser, is_system_auditor): Update an existing user.
  • delete_user(user_id): Delete a user.

Ad Hoc Commands

  • run_ad_hoc_command(inventory_id, credential_id, module_name, module_args, limit, verbosity): Run an ad hoc command.
  • get_ad_hoc_command(command_id): Get details of an ad hoc command.
  • cancel_ad_hoc_command(command_id): Cancel an ad hoc command.

Workflow Templates

  • list_workflow_templates(limit, offset): List all workflow templates.
  • get_workflow_template(template_id): Get details of a specific workflow template.
  • launch_workflow(template_id, extra_vars): Launch a workflow from a template.

Workflow Jobs

  • list_workflow_jobs(status, limit, offset): List workflow jobs, optionally filtered by status.
  • get_workflow_job(job_id): Get details of a specific workflow job.
  • cancel_workflow_job(job_id): Cancel a running workflow job.

Schedule Management

  • list_schedules(unified_job_template_id, limit, offset): List schedules, optionally filtered by job/workflow template.
  • get_schedule(schedule_id): Get details of a specific schedule.
  • create_schedule(name, unified_job_template_id, rrule, description, extra_data): Create a new schedule.
  • update_schedule(schedule_id, name, rrule, description, extra_data): Update an existing schedule.
  • delete_schedule(schedule_id): Delete a schedule.

System Information

  • get_ansible_version(): Get the Ansible Tower version.
  • get_dashboard_stats(): Get dashboard statistics.
  • get_metrics(): Get system metrics.

A2A Agent

Architecture:

---
config:
  layout: dagre
---
flowchart TB
 subgraph subGraph0["Agent Capabilities"]
        C["Agent"]
        B["A2A Server - Uvicorn/FastAPI"]
        D["MCP Tools"]
        F["Agent Skills"]
  end
    C --> D & F
    A["User Query"] --> B
    B --> C
    D --> E["Platform API"]

     C:::agent
     B:::server
     A:::server
    classDef server fill:#f9f,stroke:#333
    classDef agent fill:#bbf,stroke:#333,stroke-width:2px
    style B stroke:#000000,fill:#FFD600
    style D stroke:#000000,fill:#BBDEFB
    style F fill:#BBDEFB
    style A fill:#C8E6C9
    style subGraph0 fill:#FFF9C4

Component Interaction Diagram

sequenceDiagram
    participant User
    participant Server as A2A Server
    participant Agent as Agent
    participant Skill as Agent Skills
    participant MCP as MCP Tools

    User->>Server: Send Query
    Server->>Agent: Invoke Agent
    Agent->>Skill: Analyze Skills Available
    Skill->>Agent: Provide Guidance on Next 

---

*README truncated. [View full README on GitHub](https://github.com/Knuckles-Team/ansible-tower-mcp).*

Alternatives

Related Skills

Browse all skills
ui-design-system

UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.

18
ai-sdk

Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat".

6
api-documenter

Master API documentation with OpenAPI 3.1, AI-powered tools, and modern developer experience practices. Create interactive docs, generate SDKs, and build comprehensive developer portals. Use PROACTIVELY for API documentation or developer portal creation.

4
openai-knowledge

Use when working with the OpenAI API (Responses API) or OpenAI platform features (tools, streaming, Realtime API, auth, models, rate limits, MCP) and you need authoritative, up-to-date documentation (schemas, examples, limits, edge cases). Prefer the OpenAI Developer Documentation MCP server tools when available; otherwise guide the user to enable `openaiDeveloperDocs`.

4
cli-builder

Guide for building TypeScript CLIs with Bun. Use when creating command-line tools, adding subcommands to existing CLIs, or building developer tooling. Covers argument parsing, subcommand patterns, output formatting, and distribution.

3
ydc-ai-sdk-integration

Integrate Vercel AI SDK applications with You.com tools (web search, AI agent, content extraction). Use when developer mentions AI SDK, Vercel AI SDK, generateText, streamText, or You.com integration with AI SDK.

2