mcp-ansible

bsahane/mcp-ansible

3.4

If you are the rightful owner of mcp-ansible and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The MCP Ansible Server is an advanced Model Context Protocol server implemented in Python, designed to expose Ansible utilities for managing inventories, playbooks, roles, and project workflows.

Tools

Functions exposed to the LLM to take actions

create-playbook

Create playbooks from YAML strings or dicts.

validate-playbook

Validate playbook syntax using ansible-playbook --syntax-check.

ansible-playbook

Execute Ansible playbooks.

ansible-task

Run ad-hoc tasks, defaulting to connection=local for localhost.

ansible-role

Execute roles via generated temporary playbook.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources