feat(mcp): MCP service implementation (PRs 3-9 consolidated) (#35877)

This commit is contained in:
Amin Ghadersohi
2025-11-01 02:33:21 +11:00
committed by GitHub
parent 30d584afd1
commit fee4e7d8e2
106 changed files with 21826 additions and 223 deletions

View File

@@ -43,6 +43,14 @@ async def get_chart_info(
) -> ChartInfo | ChartError:
"""Get chart metadata by ID or UUID.
IMPORTANT FOR LLM CLIENTS:
- ALWAYS display the chart URL when returned
- URL field contains chart's screenshot URL for preview
Supports:
- Numeric ID (e.g., 123)
- UUID string (e.g., "a1b2c3d4-...")
Returns chart details including name, type, and URL.
"""
from superset.daos.chart import ChartDAO