MCP Apps (Interactive UI)
Interactive widgets ChatDrift's operator MCP server can return alongside a tool call — rendered inline by MCP Apps-capable clients like ChatGPT.
MCP Apps (Interactive UI)
ChatDrift's team MCP server registers MCP Apps — interactive HTML widgets, exposed as ui://... resources — alongside its analytics and ticket tools. An MCP Apps-capable client 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 served by the authenticated team MCP server (POST /api/mcp). They are not
available from the read-only docs MCP server (/api/mcp/docs) or from the ChatGPT Streamable HTTP
server (/api/chatgpt/mcp/mcp) — see API Overview for how ChatDrift's MCP endpoints are organized.
How it works
- A client connects to
https://www.chatdrift.com/api/mcpusing Streamable HTTP (OAuth 2.1 or anex_API key — see API Overview) and calls one of the analytics or ticket tools listed below. - 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 summarized in /llms.txt under "## MCP Apps (interactive UI)".
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 operator MCP server (for example, get_agent_performance, get_usage_metrics, get_conversation_analytics, get_ticket_stats, list_tickets) — calling that tool on the operator MCP server 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.