What Red Hat documents
Red Hat documents an MCP server in Red Hat Ansible Automation Platform 2.7 that an agent can use to query jobs, inventory, logs and settings and to launch automation. In 2.7 it is a Technology Preview (What's new in Ansible Automation Platform 2.7). Red Hat's introduction, written for 2.6.4, says administrators can run the server read-only or read-write, and that it inherits each user's RBAC permissions (MCP server for Ansible Automation Platform).
How it reaches machines
Ansible usually reaches machines over SSH or WinRM (connection plugins). Job templates run playbooks that a person writes. Surveys add prompts to them. The MCP server exposes those automation endpoints. It does not, in the pages above, turn an arbitrary CLI's help text into a per-agent menu enforced on the host.
How bastn does it
bastn installs the bastn connector on the machine. The connector dials out and runs approved actions by argv exec. No shell by default. Two agents can see different actions from the same CLI. A playbook is not required for that menu. Teams that already run Ansible can keep it. This page does not say you should remove it.
Sources last checked 10 November 2026.
How to set this up: Commands and scripts.