codeant-ai-for-open-source[bot] commented on PR #38405:
URL: https://github.com/apache/superset/pull/38405#issuecomment-4030144342
## **Sequence Diagram**
This PR updates the MCP chart serialization so that chart responses include
a human-readable chart_type_display_name derived from internal viz_type
identifiers, and MCP instructions are updated to reference these display names.
```mermaid
sequenceDiagram
participant Client
participant MCPServer
participant SupersetAPI
participant ChartTypeNames
Client->>MCPServer: Request list_charts with chart_type_display_name
MCPServer->>SupersetAPI: Query charts from backend
SupersetAPI->>SupersetAPI: Serialize chart object
SupersetAPI->>ChartTypeNames: Lookup display name by viz_type
ChartTypeNames-->>SupersetAPI: Return display name or fallback
SupersetAPI-->>Client: Charts with viz_type and chart_type_display_name
```
---
*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]