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

   ## **Sequence Diagram**
   
   This PR configures the MCP server to apply a FastMCP search transform (BM25 
by default) that hides the full tool catalog, exposing only search and call 
proxy tools plus pinned tools, so clients discover other tools on-demand.
   
   ```mermaid
   sequenceDiagram
       participant Client
       participant MCPServer
       participant Config
       participant FastMCP
   
       MCPServer->>Config: Read MCP tool search settings
       Config-->>MCPServer: Enabled flag, strategy, options
       MCPServer->>FastMCP: Initialize BM25 or regex search transform
       FastMCP-->>MCPServer: Return transform and attach to MCP app
   
       Client->>MCPServer: Connect and request available tools
       MCPServer-->>Client: List search_tools, call_tool, pinned tools
       Client->>MCPServer: search_tools query for desired capability
       MCPServer-->>Client: Matching tools with full schemas
       Client->>MCPServer: call_tool with selected tool and arguments
       MCPServer-->>Client: Tool execution result
   ```
   
   ---
   *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