Infrastructure inventories are big enough that a naive listing call is useless — one answer and the conversation is full. Every search here returns a capped page with selectable fields, which is what makes asking about a few thousand hosts practical. Nothing in the tool set changes state.
A read-only server over Foreman and Katello. It covers hosts and the searches that find them, the organisations, locations and hostgroups they belong to, the network objects around them, and the content side — content views, repositories and lifecycle environments. Results are capped by default so a large estate does not flood the context.
- Hosts listed with a search filter and a choice of fields, any single host in detail, and its status
- Hosts searched by location, operating system, environment, hostgroup, or an arbitrary fact name and value
- Organisations, locations and hostgroups listed
- Subnets and domains listed and read individually
- Smart proxies listed and read individually
- Operating systems, architectures and installation media, listed and read one at a time
- Katello content views, repositories and lifecycle environments, with field filtering on the large ones
- Deliberate result caps — the searches return a limited page by default rather than everything that matched
A Foreman instance, and in the environment its URL, a username, a password and whether to verify SSL. The password field takes a Personal Access Token, created under User Administration, Personal Access Tokens, not your web login password. The account needs the view_ permissions for hosts, organizations, locations, hostgroups, subnets, domains and smart proxies — the built-in Viewer role covers it. A recent Python, pip install foreman-mcp-server.
One command plus a key — pip install foreman-mcp-server, then supply credentials
