When Model Context Protocol (MCP) can render HTML inside AI chat app
Aurelijus Banelis · NoTrollAllowed · 2026-07-31
Lead Software Engineer
aurelijus.banelis.lt
aurelijus@banelis.lt
Terminology
AI: Artificial Intelligence
MCP: Model Context Protocol
MCP Apps is part of MCP specification
UI: User Interface
Agenda
Part 01
DEMO time: How it looks from a non-technical user
| Client | Platform | MCP Apps support |
|---|---|---|
| Claude | desktop | HTTP / stdio |
| GitHub Copilot | VS Code | HTTP / stdio |
| Claude | mobile / web | HTTP |
| ChatGPT | mobile / web | HTTP |
| Claude | CLI / VS Code | no support |
| Codex | CLI / VS Code | no support |
Microsoft Office Copilot also support, but it can cost ~2500k€/year.
Claude Haiku does not render MCP Apps, need at least Sonnet model.
Part 02
Behind the SDK
Request · my demo server
curl -sS https://mcp-prioritization.netlify.app/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-H 'MCP-Protocol-Version: 2026-07-28' \
-H 'Mcp-Method: tools/list' \
-d '{"jsonrpc":"2.0","id":1,
"method":"tools/list",
"params":{"_meta":{
"io.modelcontextprotocol/protocolVersion":
"2026-07-28",
"io.modelcontextprotocol/clientCapabilities":
{}}}}' | jq
Response
{ "tools": [ {
"name": "human_prioritization",
"inputSchema": { ... },
"_meta": {
"ui": {
"resourceUri": "ui://prioritization/list.html",
"visibility": [ "model", "app" ]
}
}
} ] }
JSON-RPC over Stateless HTTP.
The UI is already declared in tools/list, before anything is called.
Every message, in either direction, crosses one channel: window.parent.postMessage.
Part 03
Usages in the real world
| Host | Name |
|---|---|
| Claude | Claude Connector or Claude App that ships UI |
| ChatGPT | ChatGPT App build on MCP with some OpenAI-only features |
| VS Code | Microsoft's curated MCP gallery |
| Goose | Goose extensions |
| Cursor | Cursor marketplace |
| PulseMCP | The cross-host MCP server directory |
| ... | ... |
Potential
Biggest MCP Apps potential is still for technical people.
Human review on low level code will become a bottleneck.
Visualization and interaction is like a high level programming language.
MCP Apps: UI in AI
Aurelijus Banelis · aurelijus.banelis.lt