flux-topology
flux-topology
这是一个 MCP 服务器,通过静态分析构建 Kubernetes/FluxCD GitOps 仓库的依赖与拓扑图,让 AI 智能体无需集群访问即可推理服务之间的关系。
安装
pip install flux-topologyRelated MCP server: Axon Pro
配置 MCP
添加到你的 opencode.json:
{
"mcp": {
"flux-topology": {
"type": "local",
"command": ["flux-topology", "mcp"],
"enabled": true
}
}
}服务器从工作目录中的 flux/ 读取数据。请从你的 GitOps 仓库根目录运行 opencode。
智能体技能
内置的智能体技能会教 AI 智能体何时以及如何使用 MCP 工具。从 skills.sh 安装它:
npx skills add seppaleinen/flux-topology-mcp这为你的智能体提供了一个工作流:先用 fluxtop_map 获取概览,再用 fluxtop_app_card 深入查看,用 fluxtop_trace 检查爆炸半径,用 fluxtop_find_refs 查找共享引用。
工具
工具 | 描述 |
| 顶层视图:域名、按边数排序的枢纽应用、警告 |
| 从任意应用出发的 BFS 爆炸半径,边带类型 |
| 跨所有应用对引用进行正则搜索 |
| 单个应用的完整卡片:工作负载、服务、边 |
| 检查拓扑缓存是否最新 |
命令行
# Build the topology cache (.fluxtop/)
flux-topology build
# Run the MCP server (for AI agents)
flux-topology mcp工作原理
发现应用:遍历
flux/并寻找所有权信号(HelmReleases、Kustomizations、Deployments、Services)提取每个应用的工作负载、服务、ingress 主机和引用
解析来自交叉引用的应用间边
缓存所有内容到
.fluxtop/— 仅在源文件更改时重建
无需集群访问。纯 YAML 文件静态分析。
开发
git clone https://github.com/seppaleinen/flux-topology-mcp.git
cd flux-topology-mcp
pip install -e ".[dev]"
pytest许可证
MIT
This server cannot be installed
Maintenance
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
- AlicenseAqualityAmaintenanceProvides AI coding agents with durable architecture memory for repositories by generating structured project maps of responsibilities, relationships, and risks.6281MIT
- AlicenseNot gradedqualityCmaintenanceTransforms codebases into structural knowledge graphs for AI agents and developers, providing precise architectural awareness and dependency mapping.53MIT
- AlicenseAqualityCmaintenanceEnables AI agents to map cross-repository dependencies, detect breaking changes in API contracts, and assess impact across services.10MIT
- AlicenseNot gradedqualityAmaintenanceProvides 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.4,9124MIT
Related MCP Connectors
IaC attack-path auditor: finds internet-to-crown-jewel chains in Terraform/CFN/K8s.
AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).
Generate SBOMs, scan vulnerabilities, and analyze dependencies from local projects or Git repos.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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