Build an Interactive MCP App with a Sandboxed Tool UI

Design an MCP tool that serves an interactive UI resource, receives structured results, and stays safe across hosts with different extension support.