ansible-mcp
by YawLabs
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OAM_BIN | No | Path to the oam binary to use. Otherwise the launcher checks `OAM_INSTALL_DIR`, the installed locations (`~/.oam/bin`, and `%LOCALAPPDATA%\oam\bin` on Windows) and `PATH`, and takes the newest. | |
| ANSIBLE_MCP_DIR | No | Project used when a tool call passes no `dir`. | the server's working directory |
| OAM_INSTALL_DIR | No | Directory the launcher checks for the oam binary when `OAM_BIN` is not set. | |
| ANSIBLE_MCP_CACHE | No | Server-side cache (and the Ansible-side one in native mode): the dummy vault file, local temp, upgrade targets. Safe to delete. | ~/.cache/ansible-mcp |
| ANSIBLE_MCP_BIN_DIR | No | Ansible-side directory holding `ansible-*` (a venv's `bin`). Also put first on the child's `PATH` (ansible-lint needs `ansible-playbook` next to it). Unset uses `PATH`. | |
| ANSIBLE_MCP_RUNTIME | No | `auto`: the newest oam at 0.19.0 or newer, else Node. `oam`: oam or exit with an error. `node`: always Node -- the escape hatch when a problem only shows up under oam. | auto |
| ANSIBLE_MCP_PASS_ENV | No | Comma-separated names of server env vars to forward to the Ansible side in prefix mode. | |
| ANSIBLE_MCP_PATH_STYLE | No | `wsl` or `native`. `auto` is `wsl` when the prefix starts with `wsl`/`wsl.exe`. Other prefixes (`ssh`, `docker exec`) get `env -C <dir> ...` and are best effort. | auto |
| ANSIBLE_MCP_TIMEOUT_MS | No | Kill any Ansible command after this long (the upgrade download gets 3x). | 120000 |
| ANSIBLE_MCP_REMOTE_CACHE | No | The Ansible-side cache in prefix mode. | $HOME/.cache/ansible-mcp on the Ansible side |
| ANSIBLE_MCP_COMMAND_PREFIX | No | JSON array prepended to every Ansible command, e.g. ["wsl.exe","-d","Ubuntu","--exec"]. A value not starting with `[` is split on whitespace. Required on Windows (Ansible inside WSL). Unset means native execution. | |
| ANSIBLE_MCP_ALLOW_PLAY_LOOKUPS | No | `1` lets playbooks with lookups in play-level `name` / `hosts` / `vars_files` be parsed (Ansible runs those lookups on this machine). Unset refuses them. | |
| ANSIBLE_MCP_ALLOW_DYNAMIC_INVENTORY | No | `1` re-enables script, constructed and plugin inventory sources (they run code and may call cloud APIs). Unset disables them. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityNo data
ResponsivenessNo issues