> Markdown version of [/videos/100688-shipping-mcp-to-real-users-scaling-auth-and-the-pii-leak-you-didn-t-see-coming?t=1656](https://www.wearedevelopers.com/videos/100688-shipping-mcp-to-real-users-scaling-auth-and-the-pii-leak-you-didn-t-see-coming?t=1656). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # Shipping MCP to Real Users: Scaling, Auth, and the PII Leak You Didn't See Coming Are your MCP UI widgets silently leaking PII into the LLM context? Learn how to sync state across humans and models, bypass aggressive host caching, and secure production deployments. - **Speakers:** [Hadar Geva](https://www.wearedevelopers.com/@hadar-geva) - **Event:** Conference India 2026 - **Published:** November 26, 2026 - **Duration:** 31:20 - **URL:** https://www.wearedevelopers.com/videos/100688-shipping-mcp-to-real-users-scaling-auth-and-the-pii-leak-you-didn-t-see-coming - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/9a47ca9b3e38abf9f4f1c41fd1fba38c/thumbnails/thumbnail.jpg?time=30000ms ## Summary As user interactions shift from websites to AI chats, standard text-based Model Context Protocol (MCP) responses often strip away rich UX. Hadar Geva (CTO & Co-founder, Myop) explores how the MCP Apps protocol brings interactive UI components directly into hosts like ChatGPT, Claude, and Gemini. However, serving two simultaneous users—the LLM and the human—introduces complex state synchronization challenges, as interactive widget updates are not automatically exposed back to the model. Because standard protocol methods like `updateModelContext` frequently fail, Geva demonstrates how to enforce synchronization on the server—"the one only thing that we control." By passing a version parameter akin to an HTTP ETag and returning `isError: true` with plain-English instructions when a mismatch occurs, the server forces the LLM to refresh its stale context before acting. Running MCP Apps in production also requires navigating undocumented host constraints and security landmines. Developers must hash release URLs to bypass aggressive widget caching, use `.strict` schema definitions to prevent silent parameter failures, and implement explicit OAuth user pickers since hosts manage token storage. Crucially, because models read the `structuredContent` JSON meant for UI rendering, developers must fetch sensitive PII via app-only tools to prevent data leaks across conversations, while adopting stateless JSON transports to scale horizontally behind load balancers. **Keywords:** model context protocol, mcp apps in production, interactive chat ui widgets, llm context synchronization, preventing pii leaks in llm, stateless mcp transports, agressive host widget caching, strict tool schema validation, app-only mcp tools, cross-host compatibility matrix, oauth user picker flows, etag version checking for llms, claude and chatgpt integrations, horizontal scaling for mcp servers ## Chapters 1. **Bringing interactive UI into chat with MCP apps** (00:15) — Standard text-based chat interfaces degrade rich web user experiences, which MCP apps solve by splitting tool responses into text content for the model and structured JSON props for rendering interactive UI components. 1. **Synchronizing widget state changes with the model context** (06:33) — User interactions inside a UI widget do not automatically update the AI model's memory, requiring server-side version validation akin to HTTP ETags that forces the model to refresh stale data via descriptive error messages. 1. **Handling host transport caching and schema validation failures** (13:07) — Because AI hosts aggressively cache widget URLs, blacklist offline servers, and silently drop mismatched tool parameters in production, developers must deploy with zero downtime, hash release URLs, and enforce strict schema definitions. 1. **Managing authentication flows and cross-host capability differences** (19:18) — Opaque token storage and inconsistent browser capabilities across AI hosts require explicit user account pickers during sign-in and continuous testing of CSP rules, network parallelism, and iframe permissions. 1. **Preventing PII leaks and scaling stateless MCP servers** (23:44) — AI models can read sensitive PII passed in structured widget content and in-memory sessions break load balancers, making it essential to fetch private data via app-only tools and migrate to stateless JSON transports. 1. **Adapting full-stack architecture and deciding when to build** (27:36) — Building for AI hosts shifts state management and truth entirely to the server while requiring adaptive design tokens, making MCP apps ideal for actionable user workflows rather than simple text responses. ## Related Moments - [Integrating Model Context Protocol for non-technical users](https://www.wearedevelopers.com/videos/100091-3-ways-to-rebuild-the-data-stack-for-agents) (from "3 Ways to Rebuild the Data Stack for Agents") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/7b3d15a8892fc8e27cd43e9349d4d31a/thumbnails/thumbnail.jpg?time=146080ms - [Core concepts and advantages of the Model Context Protocol](https://www.wearedevelopers.com/videos/100305-api-mcp-or-mcp-app-choosing-the-right-surface-for-ai-agents) (from "API, MCP or MCP App? Choosing the right surface for AI agents") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/ac896e8d6e6c4a60793b5fd352249fe2/thumbnails/thumbnail.jpg?time=36800ms - [Introduction to MCP apps and dynamic UI elements](https://www.wearedevelopers.com/videos/1981-from-zero-to-mcp-ui-hero-building-context-aware-ai-apps-that-actually-work) (from "From Zero to MCP UI Hero: Building Context-Aware AI Apps That Actually Work") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/9c62f5ba1c318c4586a36276997df175/thumbnails/thumbnail.jpg?time=111200ms - [Optimizing large file processing and MCP server integrations](https://www.wearedevelopers.com/videos/100672-building-intelligent-agentic-applications-in-a-real-time-world) (from "Building Intelligent Agentic Applications in a Real-Time World") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/57857a4b902b3a4159bb81493bab579a/thumbnails/thumbnail.jpg?time=30000ms - [Contextualizing LLMs with the model context protocol](https://www.wearedevelopers.com/videos/2084-your-infrastructure-is-not-a-playground-ai-agents-for-infra-done-right) (from "Your Infrastructure Is Not a Playground: AI Agents for Infra Done Right") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/e501980dcd6567de4bf068c84d0b760c/thumbnails/thumbnail.jpg?time=189440ms - [Integrating the local MCP server with Claude AI](https://www.wearedevelopers.com/videos/1981-from-zero-to-mcp-ui-hero-building-context-aware-ai-apps-that-actually-work) (from "From Zero to MCP UI Hero: Building Context-Aware AI Apps That Actually Work") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/9c62f5ba1c318c4586a36276997df175/thumbnails/thumbnail.jpg?time=111200ms ## Related Articles - [Everything a Developer Needs to Know About MCP with Neo4j](https://www.wearedevelopers.com/magazine/604-everything-a-developer-needs-to-know-about-mcp-with-neo4j) - [Dev Digest 170: All things MCP, huge login data leaks and web privacy](https://www.wearedevelopers.com/magazine/591-dev-digest-170-all-things-mcp-huge-login-data-leaks-and-web-privacy) - [WebMCP: Empowering Agents as First-Class Citizens of the Web](https://www.wearedevelopers.com/magazine/696-webmcp-empowering-agents-as-first-class-citizens-of-the-web) - [Dev Digest 210: AI Agents Are Go! Is MCP Dead? LLMs Crack Anonymity](https://www.wearedevelopers.com/magazine/709-dev-digest-210-ai-agents-are-go-is-mcp-dead-llms-crack-anonymity) ## Related Jobs - [Tech Lead Java/Spring](https://www.wearedevelopers.com/jobs/ext/4814922-tech-lead-java-spring) at **Neo4J** - [Principal Software Engineer, Copilot Code Review](https://www.wearedevelopers.com/jobs/ext/4667602-principal-software-engineer-copilot-code-review) at **GitHub** - [Senior Engineer, Google Cloud](https://www.wearedevelopers.com/jobs/ext/4558422-senior-engineer-google-cloud) at **PwC** - [Lead Engineer, Google Cloud](https://www.wearedevelopers.com/jobs/ext/4747258-lead-engineer-google-cloud) at **PwC** - [Senior Engineer, Google Cloud](https://www.wearedevelopers.com/jobs/ext/4568955-senior-engineer-google-cloud) at **PwC** - [Staff Software Engineer, Copilot Code Review](https://www.wearedevelopers.com/jobs/ext/4743636-staff-software-engineer-copilot-code-review) at **GitHub**