Loading video...

Video Failed to Load

Go Home

Should agentic UI be controlled by the server or the host? 🤔 In mcp-ui, servers can now define the UI layout and effects, and hosts can render it with their own look and feel! Supports React and Web Components with Shopify's remote-dom. Hit us up with use cases (+Liad Yosef)

25,037 views • 1 year ago •via X (Twitter)

11 Comments

Ido Salomon's profile picture
Ido Salomon1 year ago

Check it out: The good-looking example uses the awesome @radix_ui. Can't wait to share the incredible apps and hosts that are working on mcp-ui support!

Angie Jones's profile picture
Angie Jones1 year ago

@Shopify @liadyosef lfg!!!

Sean Roberts's profile picture
Sean Roberts1 year ago

@Shopify @liadyosef @idosal1 love it. What's the latest on general interest to group this into the MCP spec? Is there anything I can do to help support from the Netlify side of things? Happy to help dig into any gaps

Ido Salomon's profile picture
Ido Salomon1 year ago

Great question. Currently, mcp-ui works on top of the existing spec, but we still need to tackle whether the UI protocol itself should be part of the spec (and if anything new is required). There's a similar question to other content types. It'd be amazing to have you in the CWG ( We're going to accelerate the process in the next few days!

נעם לב's profile picture
נעם לב1 year ago

@Shopify @liadyosef You guys are amazing

llmindset's profile picture
llmindset1 year ago

@Shopify @liadyosef looking very good @idosal1 ❤️

Wilhelm Klopp's profile picture
Wilhelm Klopp1 year ago

@Shopify @liadyosef @mattzcarey adding this to the agenda for tomorrow

Jean Lucas Lima's profile picture
Jean Lucas Lima1 year ago

@Shopify @liadyosef Should agentic UI be controlled by the server or the host? 🤔 Wouldn't this open up several security issues? One idea of server controlling this is the security side

Ido Salomon's profile picture
Ido Salomon1 year ago

@Shopify @liadyosef All JS from the server is executed in a completely sandboxed iframe. The host renders its components based on JSON messages between the host and iframe (courtesy of remote-dom).

Alex Grama's profile picture
Alex Grama1 year ago

@Shopify @liadyosef interesting move, especially for apps that need tight control over branding while keeping UI flexible. server-driven layouts can cut down dev cycles but watch out for latency spikes with complex effects

Ido Salomon's profile picture
Ido Salomon1 year ago

@Shopify @liadyosef That's exactly the use case. Please note that while the script comes from the server it's actually rendered locally inside a sandboxed iframe. There's no network latency

Related Videos