《DOOM 在 ChatGPT 和 Claude 中运行》
A playable DOOM MCP app

原始链接: https://chrisnager.com/blog/doom-runs-in-chatgpt-and-claude/

## DOOM 在 AI 客户端上运行:摘要 开发者 MCPI 成功地将 DOOM 移植到 ChatGPT 和 Claude 等 AI 客户端中直接运行,使用了他们新的 MCP(消息内容协议)应用框架。该项目专注于精简的实现:一个启动 DOOM 会话的工具,一个回退到标准启动 URL 的机制,以及一个位于 `/doom/play` 的浏览器路由,所有这些都通过签名令牌进行保护。 核心挑战并非 *在* 浏览器中运行 DOOM——这已经通过 cloudflare/doom-wasm 和 Freedoom 得到证实——而是让单个会话在具有不同安全限制(iframe、CSP)的不同客户端上一致地工作。解决方案涉及一个简化的架构:一个小的 MCP 服务器,基于浏览器的 DOOM shell,以及直接在宿主 iframe *内* 渲染 DOOM 画布,从而避免了复杂的嵌入问题。 该项目托管在 Netlify 上,优先考虑有趣的用户体验。它避免了服务器端会话持久化,保持启动过程自包含。虽然最初包含更复杂的功能,如存档,但它被简化为专注于核心功能。结果是一个令人惊讶的实用且引人入胜的体验,展示了 MCP 应用作为 AI 环境中交互式表面的潜力。

对不起。
相关文章

原文

Apr 17, 2026

AIGame developmentCreationMCP

I made a playable DOOM MCP app that can launch inline inside compatible AI clients like ChatGPT and Claude, and falls back to a browser URL everywhere else.

DOOM running on Claude web DOOM running on Claude web

MCP apps are "interactive UI applications that render inside MCP hosts like Claude Desktop."

The final version is intentionally lean:

  • one MCP tool to create a DOOM session inline
  • one MCP tool to return a plain launch URL
  • one browser route at /doom/play
  • one signed-token flow that works in both places

There’s something delightful about taking a protocol designed for tools and structured interactions, and asking: “can it run DOOM?

联系我们 contact @ memedata.com