Axon.MCP.Server

MCP Tools Reference

This document details the 12 core tools exposed by the Axon MCP Server. These tools allow AI assistants (like Claude, ChatGPT, and Cursor) to query, analyze, and understand the codebase.


🔍 Core Search Tools

Description: The primary entry point for finding code. Performs a hybrid search (semantic vector search + keyword matching) to find relevant code symbols, functions, classes, or files.

Parameters:

Example Usage:

{
  "query": "find authentication middleware",
  "limit": 5
}

get_symbol_details

Description: Retrieves comprehensive details for a specific code symbol, including its signature, docstring, file location, and immediate relationships.

Parameters:

Example Usage:

{
  "fully_qualified_name": "Axon.Server.Services.UserService"
}

get_file_symbols

Description: Lists all symbols (classes, functions, variables) defined within a specific file. Useful for understanding file structure.

Parameters:

Example Usage:

{
  "file_path": "src/api/routes/auth.py"
}

📞 Relationships & Architecture

get_call_graph

Description: Builds a call graph for a specific symbol to understand its dependencies (what it calls) and usages (what calls it).

Parameters:

Example Usage:

{
  "symbol_name": "ProcessOrder",
  "direction": "outgoing",
  "depth": 2
}

get_inheritance_hierarchy

Description: Retrieves the inheritance tree for a class, showing parent classes and implemented interfaces.

Parameters:

Example Usage:

{
  "class_name": "BaseController"
}

find_implementations

Description: Finds all classes that implement a specific interface or inherit from a base class.

Parameters:

Example Usage:

{
  "interface_name": "IRepository"
}

🏗️ Structural Understanding

get_repository_structure

Description: Returns a high-level overview of the repository structure, including solutions, projects, and key directories.

Parameters:

Example Usage:

{
  "path": "src"
}

get_module_summary

Description: Retrieves an AI-generated summary of a specific module or directory, explaining its purpose and key components.

Parameters:

Example Usage:

{
  "module_path": "src/workers"
}

get_system_architecture_map

Description: Generates a high-level architectural map of the system, showing services, layers, and major components.

Parameters: None

Example Usage:

{}

🔎 Specialized Analysis

get_api_endpoints

Description: Lists all detected REST API endpoints, including HTTP methods, routes, and associated handlers.

Parameters:

Example Usage:

{}

explore_service

Description: Provides a guided exploration of a specific service, listing its entry points, data models, and dependencies.

Parameters:

Example Usage:

{
  "service_name": "UserAPI"
}

get_ef_entities

Description: Lists Entity Framework Core entities and their database mappings (tables, keys).

Parameters:

Example Usage:

{
  "context_name": "AppDbContext"
}