MCP server for Ansible AWX open-source: inventories, jobs, workflows for AI agents (SSE).
833
Model Context Protocol (MCP) server for Ansible AWX (open-source). Connect AI coding assistants (Cursor, Cline, Windsurf, and others) to your AWX instance: discover inventories and job templates, monitor runs, handle workflow approvals, and launch jobs — all via MCP tools over SSE.
8000 (default) — same transport Cursor usesAuthorization header (shared Docker instance, individual AWX users)| Where | What |
|---|---|
| Docker / server | AWX_URL only — shared AWX instance for all clients |
MCP client (mcp.json) | Authorization: Bearer <your-awx-api-token> — your token, per user |
The container does not need your personal API token for normal SSE use. Each developer puts their own token in the MCP client config; the server reads it from the HTTP header on every tool call.
Optional: set AWX_TOKEN in the container env only for startup health probe, stdio transport, or legacy fallback — not required when the client sends Authorization.
1. Run the server (only AWX_URL on the container):
docker pull YOUR_USER/awx-mcp-tool:latest
docker run -d --name awx-mcp-tool \
-p 8000:8000 \
-e AWX_URL=https://awx.example.com \
-e MCP_TRANSPORT=sse \
-e MCP_HOST=0.0.0.0 \
-e MCP_PORT=8000 \
rfxsx/awx-mcp-tool:latest
2. Configure your MCP client (token here, not in Docker):
{
"mcpServers": {
"awx-mcp-tool": {
"url": "http://127.0.0.1:8000/sse",
"headers": {
"Authorization": "Bearer YOUR_AWX_API_TOKEN"
}
}
}
}
| Area | Tools |
|---|---|
| Connection | awx_verify_connection |
| Discovery | awx_list_inventories, awx_list_job_templates, awx_list_workflow_job_templates, … |
| Detail | awx_get_job_template, awx_get_inventory, awx_get_inventory_host, … |
| Operations | awx_list_job_runs, awx_get_job_status, awx_get_job_stdout, workflow approvals, launch job/workflow templates |
Put your API token in .cursor/mcp.json (or equivalent) under headers.Authorization, not in Compose unless you want the optional server-side fallback.
AWX_URLContent type
Image
Digest
sha256:c601d4cb0…
Size
69.9 MB
Last updated
5 months ago
docker pull rfxsx/awx-mcp-tool