codeant-ai-for-open-source[bot] commented on PR #38562:
URL: https://github.com/apache/superset/pull/38562#issuecomment-4054186217

   ## **Sequence Diagram**
   
   This PR changes MCP startup and discovery so clients no longer receive the 
full tool catalog on connect. Instead, the server exposes pinned tools plus 
search and proxy tools, then returns compact search results with input schemas 
only before executing the selected real tool.
   
   ```mermaid
   sequenceDiagram
       participant Client
       participant MCP Server
       participant Search Transform
       participant Tool Registry
   
       MCP Server->>Search Transform: Enable tool search transform with pinned 
tools
       Client->>MCP Server: Connect and request available tools
       MCP Server-->>Client: Return health check instance info search tools 
call tool
   
       Client->>MCP Server: Call search tools with natural language query
       MCP Server->>Search Transform: Rank tools and strip output schema from 
results
       Search Transform-->>Client: Return top matching tool definitions
   
       Client->>MCP Server: Call call tool with selected tool and arguments
       MCP Server->>Tool Registry: Execute selected real tool
       Tool Registry-->>Client: Return tool response
   ```
   
   ---
   *Generated by [CodeAnt AI](https://codeant.ai)*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to