MCP UI: Breaking the text wall with interactive components
MCP UI extends the Model Context Protocol so servers can return interactive UI components, such as product selectors, galleries and cart flows, as embedded ui:// resources alongside JSON data. Components can be delivered three ways: inline HTML via srcDoc in a sandboxed iframe, remote resources loaded in a sandboxed iframe, or Remote DOM for direct client-side rendering. Components never modify state directly. They emit intents like view_details, checkout, notify and ui-size-change, which the agent interprets, so the agent stays in control. Hosts can pass CSS through render data to match their branding, and Shopify argues this beats having agents generate commerce UI with variants, bundles, subscriptions and live inventory.
Related posts
- Introducing the Safari MCP server for web developers
WebKit mediumAdeptSafari 27 and Safari Technology Preview 247 ship a Model Context Protocol server, exposed via safaridriver --mcp, that lets any MCP-compatible coding agent drive a local Safari window. Its 17 tools cover tabs, navigation, DOM interactions, JavaScript evaluation, console logs, network request details, screenshots, viewport sizing and media emulation. Agents can use these to debug rendering, cross-browser compatibility, performance and accessibility issues without the developer relaying screenshots and descriptions. Setup requires enabling developer features and remote automation in Safari settings, then registering the server with Claude, Codex or an mcp.json entry. The server runs locally, makes no network calls of its own, and has no access to AutoFill or browsing history.
- What’s MCP all about? Comparing MCP with LLM function calling
Neon mediumAdept
The Model Context Protocol (MCP) builds on LLM function calling by moving tool definitions and execution out of individual LLM applications into standalone servers that any MCP-compatible client can discover and invoke. A Home Assistant light-control function is implemented both ways. The first version uses OpenAI tool definitions in JSON, with the app parsing tool_calls and executing them itself. The second is an MCP server built with the TypeScript SDK, a Zod schema and stdio transport, registered in Cursor. The takeaway is that function calling leaves discovery and execution to each app, while MCP standardizes them so tools can be reused across agents like Cursor, Windsurf and Claude Desktop.
- Building the Universal Commerce Protocol
Shopify Engineering mediumAdeptUniversal Commerce Protocol (UCP), co-developed by Shopify and Google, is an open standard for AI agents to discover merchant capabilities and complete transactions. It layers a core shopping service (checkout sessions, line items, totals) under independently versioned capabilities (Checkout, Orders, Catalog) and composable extensions namespaced by reverse-domain names, so anyone owning a domain can define extensions without a central registry. Merchants publish profiles at /.well-known/ucp, agents pass their own profile URL, and the merchant computes the intersection of supported capabilities and payment handlers, similar to HTTP content negotiation. A checkout state machine (incomplete, requires_escalation, ready_for_complete) plus a continue_url and the JSON-RPC-based Embedded Checkout Protocol handle handoff to a human buyer when the agent cannot finish.
- Remote rendering: Shopify’s take on extensible UI
Shopify Engineering mediumAdeptShopify lets third-party extensions add native-feeling UI to its checkout and admin through remote rendering: untrusted extension code defines a UI tree inside a sandbox and sends it to a first-party host over a MessageChannel, and the host renders it with its own components. The open-source remote-ui library supplies the building blocks. These are an RPC layer that can pass functions and callbacks across postMessage using Promises, Proxies and automatic memory management, a DOM-like RemoteRoot that serializes tree updates as JSON, and receivers that rebuild the tree as DOM or React components. The production sandbox runs in web workers, Android web views or iOS JavaScriptCore, served from a separate domain, with dangerous globals like importScripts removed and fetch restricted to specific domains. The library has since evolved into Remote DOM, which uses the full browser DOM API inside the sandbox.
- Tiny Agents: an MCP-powered agent in 50 lines of code
Hugging Face mediumAdeptAn LLM agent built on the Model Context Protocol reduces to a simple while loop around an MCP-aware inference client: connect to MCP servers, convert their tools into OpenAI-style function definitions, pass them to the chat-completion call, execute returned tool calls via the MCP SDK, and feed results back. The TypeScript implementation in huggingface.js extends InferenceClient into an McpClient that holds one session per server and maps tool names to sessions. An Agent class adds a system prompt plus two control-flow tools (task_complete, ask_question). The loop alternates tool calls and results until an exit tool is called, the model answers twice without tools, or a turn limit is reached. The default setup uses Qwen2.5-72B on Nebius, and the model, provider and MCP servers can be swapped.