HA

harshkedia177/axon

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

817 stars 119 forks 质量 66 趋势 26

harshkedia177/axon 是从 https://github.com/harshkedia177/axon. 导入的 MCP 服务器候选

概览

harshkedia177/axon 是从 https://github.com/harshkedia177/axon. 导入的 MCP 服务器候选

概述(AI 翻译)

代码库的知识图谱——可以直观地探索,或者让你的AI代理去查询。

将任何代码库索引为结构性知识图谱——涵盖每个依赖、调用链、集群和执行流程。通过交互式网页仪表盘进行力导向图可视化,或通过MCP工具展示,让AI代理在每次工具调用中都能获得完整的结构理解。

然后用可视化方式探索你的代码库:

三视图,一命令:

  • Explorer — 交互式力导图(Sigma.js + WebGL)。点击任意节点即可查看其代码、调用者、调用者、影响半径和社区。社区船体覆盖层一目了然地显示建筑集群。
  • 分析 — 健康评分、耦合热图、死代码报告、继承树、分支差异——你的代码库健康度汇聚于一个仪表盘。
  • Cypher 控制台 — 对图编写并运行带有语法高亮、预设和历史的 Cypher 查询。

此外:命令调色板([Cmd+K)、键盘快捷键、流线追踪动画、图表小地图,以及在观看模式激活时由SSE驱动的实时加载。


问题

你的AI代理会编辑UserService.validate()。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Axon

The knowledge graph for your codebase — explore it visually, or let your AI agent query it.

Indexes any codebase into a structural knowledge graph — every dependency, call chain, cluster, and execution flow. Explore it through an interactive web dashboard with force-directed graph visualization, or expose it through MCP tools so AI agents get full structural understanding in every tool call.

$ axon analyze .

Walking files...               142 files found
Parsing code...                142/142
Tracing calls...               847 calls resolved
Analyzing types...             234 type relationships
Detecting communities...       8 clusters found
Detecting execution flows...   34 processes found
Finding dead code...           12 unreachable symbols
Analyzing git history...       18 coupled file pairs
Generating embeddings...       623 vectors stored

Done in 4.2s — 623 symbols, 1,847 edges, 8 clusters, 34 flows

Then explore your codebase visually:

axon ui                      # Opens interactive dashboard at localhost:8420

Three views, one command:

  • Explorer — Interactive force-directed graph (Sigma.js + WebGL). Click any node to see its code, callers, callees, impact radius, and community. Community hull overlays show architectural clusters at a glance.
  • Analysis — Health score, coupling heatmap, dead code report, inheritance tree, branch diff — your codebase health in one dashboard.
  • Cypher Console — Write and run Cypher queries against the graph with syntax highlighting, presets, and history.

Plus: command palette (Cmd+K), keyboard shortcuts, flow trace animations, graph minimap, and SSE-powered live reload when watch mode is active.


The Problem

Your AI agent edits UserService.validate(). It doesn’t know that 47 functions depend on that return type, 3 execution flows pass through it, and payment_handler.py changes alongside it 80% of the time.

Breaking changes ship.

This happens because AI agents work with flat text. They grep for callers, miss indirect ones, and have no understanding of how code is connected. Context windows are finite. LSPs don’t expose call graphs. Grepping gives you strings, not structure.

The agent needs a knowledge graph — not more text.


How Axon Solves It

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "axon": { "command": "axon", "args": ["serve", "--watch"] } } }