ansible-galaxy-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Log verbosity: debug, info, warn, error | info |
| MCP_HTTP_HOST | No | HTTP bind address | :: |
| MCP_HTTP_PORT | No | HTTP listen port | 8080 |
| MCP_TRANSPORT | No | Transport: stdio or http | stdio |
| ANSIBLE_HUB_URL | No | Private Automation Hub URL (used with chain source) | |
| ANSIBLE_GALAXY_URL | No | Galaxy API base URL | https://galaxy.ansible.com |
| ANSIBLE_ROLES_PATH | No | Local roles directory | ./roles |
| ANSIBLE_SOURCE_TYPE | No | Data source: galaxy, local, or chain | galaxy |
| ANSIBLE_GALAXY_TOKEN | No | Bearer token for authenticated Galaxy/Hub API access | |
| ANSIBLE_OUTPUT_SPECS | No | Enable proposed output_specs features | false |
| ANSIBLE_GALAXY_TIMEOUT | No | HTTP request timeout in milliseconds | 30000 |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_collectionsA | Search for Ansible collections by keyword. Returns collection names, descriptions, and versions. |
| get_collection_modulesB | List all modules in a collection with their descriptions. |
| get_collection_rolesA | List all roles in a collection with their descriptions. |
| get_module_specA | Get the full input/output contract for a module. Returns argument_spec (inputs) and RETURN docstring (outputs) with a documentation quality grade. |
| get_role_specA | Get the full input/output contract for a role. Returns argument_specs.yml (inputs) and output_specs.yml (outputs) with a documentation quality grade. Call this for EACH role before generating a playbook to discover the exact fact names the role sets. |
| grade_collectionA | Grade a collection on documentation quality. Returns A-F grade based on module RETURN documentation. With ANSIBLE_OUTPUT_SPECS=true, also checks whether roles have output_specs.yml. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/fabiendupont/mcp-ansible-galaxy'
If you have feedback or need assistance with the MCP directory API, please join our Discord server