MCP Apps (Interactive UI)
Interactive widgets ChatDrift's product MCP server can return alongside a tool call — rendered inline by MCP Apps-capable clients like ChatGPT.
MCP Apps (Interactive UI)
ChatDrift's ChatGPT Streamable HTTP MCP server registers MCP Apps — interactive HTML widgets, exposed as ui://... resources — alongside its regular data tools. An MCP Apps-capable client (currently ChatGPT) can render one of these widgets inline in the conversation instead of, or in addition to, a plain text/JSON tool result.
Note
MCP Apps widgets are only served by the authenticated product MCP server (/api/chatgpt/mcp/mcp). They are
not available from the read-only docs MCP server (/api/mcp/docs) or the SSE operator MCP server — see
API Overview for how ChatDrift's MCP endpoints are organized.
How it works
- A client connects to
https://www.chatdrift.com/api/chatgpt/mcp/mcp(Streamable HTTP, OAuth 2.1 — see API Overview) and calls one of the analytics/ticket tools listed in the MCP server card. - For tools that have an associated widget, the tool result's
_metareferences aui://resource URI. - An MCP Apps-capable client resolves that resource via
resources/readand renders the returned HTML inline, alongside the tool's structured data.
The widget resources are declared in the MCP server card under capabilities.apps: true and _meta.apps.resources, and summarized in /llms.txt under "## MCP Apps (interactive UI)" — both reflect the exact same registration the server uses, so what's documented here can't drift from what the server actually returns.
Available widgets
| Resource URI | Widget | Description |
|---|---|---|
ui://widget/agent-performance-v3 | Agent Performance Dashboard | Displays agent performance metrics including session volume, online status, and user engagement statistics. |
ui://widget/usage-metrics-v3 | Usage Metrics Dashboard | Shows current billing period usage metrics including resource consumption, limits, and overage status. |
ui://widget/conversation-analytics-v3 | Conversation Analytics Dashboard | Displays conversation and message analytics for a specified time window. |
ui://widget/ticket-stats-v3 | Ticket Statistics Dashboard | Shows summary statistics for support tickets including total count, open/closed breakdown, and counts by status. |
ui://widget/list-tickets-v3 | Support Tickets List | Displays a paginated table of support tickets with filtering options. |
Each widget corresponds to one of the analytics/ticket tools on the product MCP server (for example, get_agent_performance, get_usage_metrics, get_conversation_analytics, get_ticket_stats, list_tickets) — calling that tool is what triggers the widget.
Discovering widgets programmatically
curl -s https://www.chatdrift.com/.well-known/mcp/server-card.json | jq '.capabilities, ._meta.apps.resources'
This returns {"apps": true} for capabilities and the same widget list as the table above under _meta.apps.resources, each with its uri, short name, and description.