feat: structured get_lineage + MCP-app UI resource (#842)