flux-topology
Builds a dependency and topology graph of a FluxCD GitOps repository by statically analyzing its manifests, enabling discovery of apps and tracing of service relationships.
Analyzes Kubernetes manifests to extract workloads, services, ingress hosts, and cross-references, providing a topology and blast-radius view of applications without cluster access.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
flux-topology
A CLI + agent skill that builds a dependency and topology graph of a Kubernetes/FluxCD GitOps repository by static analysis, so AI agents can reason about service relationships without cluster access.
Install
pip install flux-topologyOptional — install the agent skill from skills.sh:
npx skills add seppaleinen/flux-topologyNo MCP server is required. Run the CLI from your GitOps repo root; it reads
from flux/ in the working directory.
Related MCP server: Axon Pro
Subcommands
Command | Description |
| Build the topology cache ( |
| Top-level view: domains, hub apps by edge count, warnings |
| BFS blast radius from any app with typed edges |
| Regex search for references across all apps |
| Full card for one app: workloads, services, edges |
| Check if the topology cache is up to date (never rebuilds) |
| Interactive HTML visualization of the topology graph |
[dir] defaults to .. A directory is resolved to its flux/ subdirectory
when present; otherwise the directory itself is treated as the flux root.
Optional visualization dependency
The viz subcommand requires the visualization extra:
pip install "flux-topology[render]"This includes vendored vis-network JavaScript for rendering interactive graphs. All other commands work without this extra.
Exit codes
Code | Meaning |
| Found / fresh |
| Stale, corrupt, not-found, or invalid input |
| Usage error (argparse) |
| No cache ( |
CLI examples
# Build the topology cache (.fluxtop/)
flux-topology build
# Rebuild even when the cache is fresh
flux-topology build --force
# Human-readable overview
flux-topology map
# Machine-readable output
flux-topology map --json
# Blast radius: what depends on this app? (depth 5)
flux-topology trace apps/backend --direction in
# Find every app referencing a shared resource
flux-topology find-refs "postgres-rw\.postgres\.svc\."
# Full card for one app
flux-topology app-card apps/radarr
# Freshness check (exit codes 0/1/3)
flux-topology check-freshness
# Interactive visualization (requires render extra)
flux-topology viz
flux-topology viz --domain apps
flux-topology viz --app apps/backend --open
flux-topology viz --type dns-ref --jsonHow it works
Discovers apps by walking
flux/and finding ownership signals (HelmReleases, Kustomizations, Deployments, Services)Extracts workloads, services, ingress hosts, and refs per app
Resolves edges between apps from cross-references
Caches everything in
.fluxtop/— rebuilt only when source files change
Hybrid freshness
The cache is checked against a fingerprint of all YAML files on every query:
No cache —
map/trace/find-refs/app-cardauto-build once and then answer normally.check-freshnessinstead reportsNO CACHE(exit 3) and never rebuilds.Fresh — the cache matches the working tree; queries answer from it.
Stale / corrupt — queries surface a notice and exit 1 without rebuilding, so results are never silently outdated. Rebuild explicitly with
flux-topology build --force, or justbuild(which also rebuilds when the fingerprint no longer matches).
Deployment note (dotfiles env)
The always-on flux-topology MCP server was removed from the shared MCP list
in the user's dotfiles environment (Stow-managed). The tool is now used
on-demand via the CLI + skill. Re-push the rewritten skill via skills.sh.
Development
git clone https://github.com/seppaleinen/flux-topology.git
cd flux-topology
pip install -e ".[dev]"
pytestLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Codebase intelligence for AI agents — dead code, blast radius, ownership.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).
Fail-closed policy guardrails for AI agents running kubectl, terraform, helm, and argocd.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides AI coding agents with durable architecture memory for repositories by generating structured project maps of responsibilities, relationships, and risks.63 npmMIT
- AlicenseBqualityDmaintenanceTransforms codebases into structural knowledge graphs for AI agents and developers, providing precise architectural awareness and dependency mapping.1530MIT
- AlicenseAqualityDmaintenanceEnables AI agents to map cross-repository dependencies, detect breaking changes in API contracts, and assess impact across services.10MIT
- AlicenseNot gradedqualityBmaintenanceProvides a dependency graph of any local repository with tools for change impact, transitive dependents, health audits, and more, enabling AI coding agents to see structure and refactor safely.4MIT