Skip to main content
Glama

flux-topology

skills.sh

An MCP server 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-topology

Related MCP server: Axon Pro

Configure MCP

Add to your opencode.json:

{
  "mcp": {
    "flux-topology": {
      "type": "local",
      "command": ["flux-topology", "mcp"],
      "enabled": true
    }
  }
}

The server reads from flux/ in the working directory. Run opencode from your GitOps repo root.

Agent Skill

The bundled agent skill teaches AI agents when and how to use the MCP tools. Install it from skills.sh:

npx skills add seppaleinen/flux-topology-mcp

This gives your agent a workflow: start with fluxtop_map for an overview, drill down with fluxtop_app_card, check blast radius with fluxtop_trace, and find shared references with fluxtop_find_refs.

Tools

Tool

Description

fluxtop_map

Top-level view: domains, hub apps by edge count, warnings

fluxtop_trace

BFS blast radius from any app with typed edges

fluxtop_find_refs

Regex search for references across all apps

fluxtop_app_card

Full card for one app: workloads, services, edges

fluxtop_check_freshness

Check if the topology cache is up to date

CLI

# Build the topology cache (.fluxtop/)
flux-topology build

# Run the MCP server (for AI agents)
flux-topology mcp

How it works

  1. Discovers apps by walking flux/ and finding ownership signals (HelmReleases, Kustomizations, Deployments, Services)

  2. Extracts workloads, services, ingress hosts, and refs per app

  3. Resolves edges between apps from cross-references

  4. Caches everything in .fluxtop/ — rebuilt only when source files change

No cluster access required. Pure static analysis of YAML files.

Development

git clone https://github.com/seppaleinen/flux-topology-mcp.git
cd flux-topology-mcp
pip install -e ".[dev]"
pytest

License

MIT

A
license - permissive license
Not graded
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

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/seppaleinen/flux-topology-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server