Add Codebase Semantic Search as an MCP tool

What does this MR do and why?

#569624 (closed)

This MR will address step1:

Step 1: Add CodebaseSearch as an MCP tool

Add a new MCP tool definition for CodebaseSemanticSearch

Codebase Semantic Search invocation

Note: the feasibility of the above approaches are still under discussion. There are a few concerns including security. Please refer to the discussions in SPIKE: Discuss API tool design for MCP tool (#569206)

References

!205297 (comment 2755986998)

Set up and test

!205297 (comment 2756113040)

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Tian Gao

Merge request reports

Loading