A developer building a workout scheduling tool for athletes demonstrates how to create interactive UIs inside MCP Apps using hypermedia techniques instead of React. The architecture combines FastMCP with Django template partials and the Fixi library to render server-side HTML fragments inside an MCP App iframe. Fixi's hackability allows routing tool calls through the MCP App Bridge, enabling form interactions, dynamic select updates, and loading indicators without client-side state management. The key insight is that MCP App constraints (no direct server communication from the iframe) actually favor server-rendered hypermedia over client-side frameworks, making the system simpler and less error-prone.

15m read timeFrom htmx.org
Post cover image
Table of contents
Model Context Protocol (MCP) and MCP AppsDemoConclusion

Sort: