Super Mario

1 min read Original article ↗

// How this demo works

Super Mario Scenes
— how it works

You

Type what you want. "Add a goomba after the pipe." That's it. Your AI Pal handles the rest.

AI Pal

An LLM (GPT-4o or Claude) reads your message and decides which browser tools to call, in what order, to make it happen.

WebMCP

This demo registers tools via navigator.modelContext.registerTool() — the new W3C browser standard. No screenshots. No pixel-clicking. Real JavaScript functions called directly.

Credits

Each tool call hits a real LLM. You get 1 free credit ($1). When it runs out, buy more credits at app.leanmcp.com/billing. Credits are used at cost — roughly $0.04–$0.15 per session.

Gateway

All calls flow through the LeanMCP AI Gateway — every call logged, every cost tracked. The same gateway you can use to monitor your own AI tools (Cursor, Cline, OpenClaw).