cd /news/developer-tools/can-we-play-a-game-on-pixelden-made-… · home topics developer-tools article
[ARTICLE · art-80916] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Can we play a game on pixelden? Made my pixel art game portal playable inside Claude via MCP

A developer hacked together a playable pixel art game inside Claude using the MCP UI extension, which renders a live HTML iframe in the conversation. The game runs a one-button arcade loop in the iframe, and on crash, the widget sends the seed and jump ticks to the server for score computation, keeping the model away from the numbers.

read1 min views2 publishedJul 30, 2026

I hacked the new MCP UI extension 😎

By which I mean I read the spec and used it exactly as documented, for a dumb little game. 😅

MCP Apps is the official MCP UI extension. Short version: your server declares an HTML resource under ui://, links it to a tool via _meta.ui.resourceUri, and the host renders that HTML in a sandboxed iframe right in the conversation. The iframe talks back over JSON-RPC, so it can call tools. Not a rendered screenshot, a live UI.

Everyone is shipping dashboards and forms with it. I put a game loop in there.

The tool starts a run, the iframe is a real one button arcade game. When you crash, the widget sends the seed and the ticks you jumped at back to the server, the server replays them through the engine and computes the score. The model never touches the number.

── more in #developer-tools 4 stories · sorted by recency
── more on @claude 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/can-we-play-a-game-o…] indexed:0 read:1min 2026-07-30 ·