iflow-mcp_xray

v0.6.2
iflow-mcp_xray Checked 3 days ago Published 1 year ago

XRAY: Progressive code intelligence for AI assistants - Map, Find, Impact

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

explore_repo Explore Repo

🗺️ STEP 1: Map the codebase structure - start simple, then zoom in! PROGRESSIVE DISCOVERY WORKFLOW: 1. First call: explore_repo("/path/to/project") - See directory structure only 2. Zoom in: explore_repo("/path/to/project", focus_dirs=["src"], include_symbols=True) 3. Go deeper: explore_repo("/path/to/project", max_depth=3, include_symbols=True) INPUTS: - root_path: The ABSOLUTE path to the project (e.g., "/Users/john/myproject") NOT relative paths like "./myproject" or "~/myproject" - max_depth: How deep to traverse directories (None = unlimited, accepts int or string) - i…

ParameterTypeDescription
root_path *string
focus_dirs
include_symbols
max_depth
max_symbols_per_file

find_symbol Find Symbol

🔍 STEP 2: Find specific functions, classes, or methods in the codebase. USE THIS AFTER explore_repo() when you need to locate a specific piece of code. Uses fuzzy matching - you don't need the exact name! INPUTS: - root_path: Same ABSOLUTE path used in explore_repo - query: What you're looking for (fuzzy search works!) Examples: "auth", "user service", "validate", "parseJSON" EXAMPLE INPUTS: find_symbol("/Users/john/awesome-project", "authenticate") find_symbol("/Users/john/awesome-project", "user model") # Fuzzy matches "UserModel" EXAMPLE OUTPUT: [ { "name": "aut…

ParameterTypeDescription
query *string
root_path *string

what_breaks What Breaks

💥 STEP 3: See what code might break if you change this symbol. USE THIS AFTER find_symbol() to understand the impact of changing a function/class. Shows you every place in the codebase where this symbol name appears. INPUT: - exact_symbol: Pass THE ENTIRE SYMBOL OBJECT from find_symbol(), not just the name! Must be a dictionary with AT LEAST 'name' and 'path' keys. EXAMPLE INPUT: # First, get a symbol from find_symbol(): symbols = find_symbol("/Users/john/project", "authenticate") symbol = symbols[0] # Pick the first result # Then pass THE WHOLE SYMBOL OBJECT: what_break…

ParameterTypeDescription
exact_symbol *object