Skip to content

feat: add read-only dnf package manager tools #2

@Albe83

Description

@Albe83

Summary

Add read-only MCP tools to query the system package manager (dnf) for troubleshooting workflows on modern RH-like systems.

Assumptions / Constraints

  • Target OS: modern RH-like distributions (RHEL/Fedora/CentOS/Alma/Rocky)
  • Execution environment: full OS on VM/Bare Metal (not containers)
  • Minimum supported dnf version: 4.x
  • Read-only operations only (no system modifications)
  • Output can be raw dnf output; normalization can be handled by the LLM

Primary Use Cases

  1. List installed packages
  2. List available packages
  3. Get package details (to enable list → detail workflows)
  4. List configured repositories and their enabled/disabled state

Non-scope (for now)

  • Pagination/volume controls for large outputs
  • Structured normalization of output
  • Container execution support

Open Questions (non-blocking)

  • Exact dnf commands and flags to support (e.g., list/info/repolist)
  • Whether to enforce cache-only behaviors or allow repo metadata refresh
  • Error reporting format (raw stderr vs. structured)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions