v0.1.3
Rocannon turns any Ansible control node into an MCP server: every installed module, and now every role with an argument spec, becomes a typed MCP tool.
Highlights
- Roles as tools. A profile can declare
roles:(androles_path:for standalone roles). A role that shipsmeta/argument_specs.ymlis documented byansible-doc -t role -jlike a module, so itsmainentry point's arguments become the tool's typed parameters. Execution runs throughansible-runnerand ansible validates the argspec at run time. Roles without an argspec are skipped. - Richer tool metadata. Each tool is tagged by collection and namespace, and its MCP
metacarries the module's documented Python requirements, return keys, related modules, version added, and deprecation, straight fromansible-doc. - Faster startup. Module schemas load in a single batched
ansible-doccall instead of one per module.
Also
rocannon --version, and the ansible binaries resolve when launched by absolute path (so MCP clients work without the venv on PATH).rocannon quickstartpinsansible_python_interpreterso modules with third-party deps run in the right environment.
Install
pip install rocannon