Ansible

By thumbsupordown

The Ansible MCP server connects AI agents to Ansible for infrastructure automation. Agents can create and validate playbooks, execute playbooks, ad-hoc tasks, and roles, scaffold role directory structures, list inventory hosts and groups, and register projects for reuse — letting assistants drive configuration management.

Tools

ansible-inventory

List the hosts and groups from an Ansible inventory.

ansible-playbook

Execute an Ansible playbook against a target inventory.

ansible-role

Execute an Ansible role through a generated playbook.

ansible-task

Run an ad-hoc Ansible task against a set of target hosts.

create-playbook

Create an Ansible playbook from YAML or a dictionary.

create-role-structure

Scaffold a standard Ansible role directory structure.

register-project

Register an Ansible project for convenient later reuse.

validate-playbook

Validate the syntax of a provided Ansible playbook.

Want to create your own MCP server?

Create an account to add and manage your own MCP servers.