Developer Embeds Playable Arcade Game Inside Claude Using MCP UI Extension
A developer has built a playable arcade game that runs directly inside Anthropic's Claude AI interface by leveraging the Model Context Protocol (MCP) UI extension. The MCP Apps feature allows servers to declare HTML resources that Claude's host renders as live, sandboxed iframes within the conversation window. The developer used this capability to embed a one-button arcade game from their pixel art portal, Pixelden, rather than the dashboards and forms most builders are creating with the tool. When a player crashes, the iframe sends gameplay data back to the server, which independently replays and scores the run so the AI model itself never handles the score calculation. The project highlights an unconventional use of MCP's officially documented UI extension, which supports two-way communication between the iframe and server via JSON-RPC.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in