Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLog verbosity: debug, info, warn, errorinfo
MCP_HTTP_HOSTNoHTTP bind address::
MCP_HTTP_PORTNoHTTP listen port8080
MCP_TRANSPORTNoTransport: stdio or httpstdio
ANSIBLE_HUB_URLNoPrivate Automation Hub URL (used with chain source)
ANSIBLE_GALAXY_URLNoGalaxy API base URLhttps://galaxy.ansible.com
ANSIBLE_ROLES_PATHNoLocal roles directory./roles
ANSIBLE_SOURCE_TYPENoData source: galaxy, local, or chaingalaxy
ANSIBLE_GALAXY_TOKENNoBearer token for authenticated Galaxy/Hub API access
ANSIBLE_OUTPUT_SPECSNoEnable proposed output_specs featuresfalse
ANSIBLE_GALAXY_TIMEOUTNoHTTP request timeout in milliseconds30000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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