HeadlinesBriefing favicon HeadlinesBriefing.com

DOOM Runs in ChatGPT via MCP

Hacker News •
×

A developer created a playable DOOM game that runs inline within AI clients like ChatGPT and Claude through the Model Context Protocol app framework. The project demonstrates how classic games can be adapted to modern AI interfaces, with a dual-mode approach that works both within MCP hosts and as a fallback browser URL.

The implementation leverages TypeScript for the MCP server and cloudflare/doom-wasm for browser compatibility. The architecture faced challenges with nested iframes and content security policies across different hosts, leading to a simplified design that renders the DOOM canvas directly within the host iframe.

The project represents an innovative use of MCP beyond its intended purpose of structured tool interactions. By focusing on simplicity and self-containment through signed token authentication, the creator delivered a working demonstration that maintains the playful spirit of DOOM while respecting technical constraints of different AI platforms.