---
title: "From describing to doing: How MCP makes AI-driven Ansible automation reliable"
url: https://daily.dev/posts/from-describing-to-doing-how-mcp-makes-ai-driven-ansible-automation-reliable-b1gvvlzp4
source_url: https://developers.redhat.com/articles/2026/08/19/red-hat-ansible-development-tools-mcp-server
type: article
source: "Red Hat Developer"
published: 2026-08-19T07:31:30.395Z
updated: 2026-08-19T07:31:56.833Z
tags: ["devops", "ai-coding", "mcp", "red-hat", "ansible"]
reading_time: 10
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# From describing to doing: How MCP makes AI-driven Ansible automation reliable

**[Red Hat Developer](https://daily.dev/sources/rhdev)** · 10 min read · 0 upvotes · 0 comments

## Summary

Red Hat introduces the Ansible development tools MCP server, which connects AI assistants like GitHub Copilot, Claude Code, Gemini CLI, Cursor, and Windsurf directly to Ansible CLI tools (ansible-lint, ansible-creator, ansible-navigator) through the Model Context Protocol. Instead of an AI merely describing how to run a command, it can execute linting, scaffolding, environment setup, and playbook runs deterministically, using the developer's actual local environment context to avoid hallucinated module names or missing dependencies. The server ships bundled in the Ansible VS Code extension, is available as a container image or via npx, and is currently a Technology Preview. It pairs with an Ansible Automation Platform MCP server (GA in Ansible Automation Platform 2.7) for job management and inventory queries at the operational layer, with RBAC-scoped tokens recommended for non-production use.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://developers.redhat.com/articles/2026/08/19/red-hat-ansible-development-tools-mcp-server>

## Questions this post answers

### How do I connect Claude Code to the Ansible development tools MCP server?

Run 'claude mcp add ansible -- npx -y @ansible/ansible-mcp-server --stdio' in the terminal. This registers the Ansible development tools MCP server, giving Claude Code access to tools like ansible-lint, ansible-creator, and ansible-navigator with structured, deterministic calls instead of generic shell command suggestions.

_daily.dev surfaces setup details like this for developers wiring AI assistants into their Ansible workflow._

### What can the Ansible development tools MCP server do that a regular AI chat assistant can't?

It executes ansible-lint, ansible-creator, and ansible-navigator directly with correct flags and environment awareness, rather than just describing commands to run manually. It grounds suggestions in the developer's actual installed collections and module versions via ansible-doc, preventing hallucinated collection names or nonexistent module parameters, and can auto-fix lint violations until the code is clean.

_Developers weighing AI-assisted automation tooling track capability breakdowns like this on daily.dev._

### Which Ansible Automation Platform version includes general availability of the MCP endpoints on the gateway?

MCP endpoints for job management, inventory queries, and system monitoring are available starting with Ansible Automation Platform 2.5 and reach general availability in Ansible Automation Platform 2.7. Platform engineers can use these endpoints with role-based access control, scoping tokens as read-only for queries or read-write when job launching is required.

_Platform engineers tracking Ansible Automation Platform release milestones follow updates like this on daily.dev._

## Similar posts on daily.dev

- [Leverage AI for root-cause analysis with MCP servers in VS Code and Cursor](https://daily.dev/posts/leverage-ai-for-root-cause-analysis-with-mcp-servers-in-vs-code-and-cursor-yxyxaihaq) · Red Hat Developer · 0 upvotes · 0 comments
- [10 MCP servers for devops](https://daily.dev/posts/10-mcp-servers-for-devops-7az0pjz6n) · InfoWorld · 1 upvotes · 0 comments
- [Red Hat Readies an MCP Server to Help LLMs Manage Kubernetes](https://daily.dev/posts/red-hat-readies-an-mcp-server-to-help-llms-manage-kubernetes-pn6o59xt9) · Container Journal · 0 upvotes · 0 comments

---

Tags: [#devops](https://daily.dev/tags/devops), [#ai-coding](https://daily.dev/tags/ai-coding), [#mcp](https://daily.dev/tags/mcp), [#red-hat](https://daily.dev/tags/red-hat), [#ansible](https://daily.dev/tags/ansible)

[View this post on daily.dev](https://daily.dev/posts/from-describing-to-doing-how-mcp-makes-ai-driven-ansible-automation-reliable-b1gvvlzp4)
