| Hi HN, I built XRAY MCP after discovering that AI assistants were scanning my projects with plain grep and guessing. I tried direct tree-sitter integration and language servers; both felt heavy for a lightweight tool. ast-grep hit a sweet spot: syntax-aware search in a single binary. XRAY MCP wraps it behind three endpoints—map, find, impact—so a model (or human) can answer questions like “what breaks if I change this function?” on demand. It’s stateless, supports Python/JS/TS/Go, and installs quickly. Repo: https://github.com/srijanshukla18/xray Would love to know your thoughts! |
Providing access to something like this via mcp might help these coding agents plan better and limit or atleast understand the blast radius for refactors.
Will try.