feat(mcp): add file context to search codebase tool

What does this MR do and why?

  • Renames the search_codebase tool to be more specific: search_codebase_definitions
  • Allows the LLM to specify wether it wants to return the context around a definition (work around until signatures are supported) or it's full body.
  • Make the Java test pipeline re-usable for MCP.

Resolves #195 (closed)

Testing

Locally with postman and through integration tests.

Performance Analysis

  • This merge request does not introduce any performance regression. If a performance regression is expected, explain why.
Edited by Jean-Gabriel Doyon

Merge request reports

Loading
Loading