iamenr0s/ansible-mcp
An MCP (Model Context Protocol) server that gives Claude AI direct access to your Ansible environment — run playbooks, execute Molecule tests, manage inventory, and drop into a shell, all from a conversation.
Platform-specific configuration:
{
"mcpServers": {
"ansible-mcp": {
"command": "npx",
"args": [
"-y",
"ansible-mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
> An MCP (Model Context Protocol) server that gives Claude AI direct access to your Ansible environment — run playbooks, execute Molecule tests, manage inventory, and drop into a shell, all from a conversation.
---
---
This project implements an HTTP/SSE MCP server that wraps the Ansible ecosystem inside a Docker container and exposes it as a set of tools Claude can call mid-conversation.
Instead of:
you → Slack → teammate → "what's the inventory flag again?" → run → fix → re-runIt becomes:
you → "run the webservers playbook in check mode against staging"
Claude → runs it, shows you the diff
you → "looks good, run it for real"
Claude → doneClaude handles the flags, r
Loading reviews...