io.modelcontextprotocol/ui) through the show tool so chat hosts such as Claude and ChatGPT can render rich, self-contained HTML cards inline for an AI answer or a logged piece of work.
When show is listed
Theshow tool is listed in tools/list only when both conditions hold:
- The session is authenticated via OAuth sign-in (never listed to workspace keys or logged-out callers).
- The client declared the MCP Apps extension with MIME type
text/html;profile=mcp-appin itsinitializecapabilities:
show directly still receives the structured data of the underlying read (read_item for an answer or list_work for a work item), even if its client does not render HTML views.
What show renders
Pass a single typed ID toshow:
Example call:
Resource addressing and sandboxing
For hosts that declare MCP Apps support,tools/list attaches both the standard MCP Apps resource URI and the OpenAI/ChatGPT output template alias:
- Content-hashed URIs: The 12-hex suffix is the SHA-256 prefix of the view HTML document, so host caches stay valid across server deploys and invalidate automatically only when the view document itself changes.
- Resource reads: Clients fetch the document through
resources/listandresources/readwith MIME typetext/html;profile=mcp-appand_meta.ui.prefersBorder: false. - Zero external network calls: The view document is completely self-contained and declares no outbound CSP allowlist; it renders solely from the structured view block returned in the tool result’s
_meta. - Untrusted text isolation: Third-party answer and page text rendered inside the card remains data, never executable instructions.
Related
MCP reference
endpoint (
https://agent.parse.gl/mcp), OAuth sign-in, and all 16 core tools.Clients, skills & plugins
which chat and editor clients support panels vs. text prompts.