codeant-ai-for-open-source[bot] commented on PR #38562:
URL: https://github.com/apache/superset/pull/38562#issuecomment-4054510063
## **Sequence Diagram**
This PR changes MCP startup so the server exposes a compact search interface
instead of the full tool catalog. Clients now discover tools on demand through
search results that omit heavy schema fields, then execute selected tools
through a proxy call.
```mermaid
sequenceDiagram
participant Operator
participant MCP Server
participant Search Transform
participant LLM Client
participant Tool Runtime
Operator->>MCP Server: Start MCP service
MCP Server->>Search Transform: Enable configured tool search transform
Search Transform-->>MCP Server: Register pinned tools plus search and
call proxy
LLM Client->>MCP Server: Request available tools
MCP Server-->>LLM Client: Return compact initial tool list
LLM Client->>MCP Server: Run search query for needed capability
MCP Server->>Search Transform: Rank tools and serialize input schemas
only
Search Transform-->>LLM Client: Return compact matching tool definitions
LLM Client->>MCP Server: Invoke proxy call for selected tool
MCP Server->>Tool Runtime: Execute underlying Superset tool
Tool Runtime-->>LLM Client: Return tool 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]