Build an MCP server so Claude can play a game
Built an MCP server that lets clients play Minesweeper and tested Claude on it.
Source
tonypan on Hacker News · 2025-03-20 · Project link
Written in our own words. Credit to the original author. Link checked 2026-10-14.
What they did
Built an MCP server that lets clients play Minesweeper and tested Claude on it.
Result (as claimed)
Claude made obvious mistakes and never won a 9x9 game.
Tools they used
Cost: Pricing depends on the tools you pick; check each official pricing page.
Set it up
Write a one-page brief
Describe the app in plain words: who it is for, the 3 core screens or actions, and what "done" looks like.
Start the project with your agent
Open Claude and paste the brief. Ask it to propose a stack and a file plan before writing code.
Build one slice at a time
Ship the smallest working flow first, run it, then add features one by one. Commit after each working step.
Test it like a user
Click through on desktop and phone. Ask the agent to add basic tests and fix anything that breaks.
Check security and ship
Keep keys in environment variables, check auth and database rules, then deploy and share the link.
Copy the full setup prompt
Paste into your agent and it will walk you through the setup, asking before anything that sends, posts or spends.
You are helping me set up this AI use case end to end in Claude Code. Goal: Build an MCP server so Claude can play a game What the original author did: Built an MCP server that lets clients play Minesweeper and tested Claude on it. Reported result (as claimed by the author): Claude made obvious mistakes and never won a 9x9 game. Source: https://news.ycombinator.com/item?id=43420678 Tools they used: Claude Category: Vibe coding & apps Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Codex. Goal: Build an MCP server so Claude can play a game What the original author did: Built an MCP server that lets clients play Minesweeper and tested Claude on it. Reported result (as claimed by the author): Claude made obvious mistakes and never won a 9x9 game. Source: https://news.ycombinator.com/item?id=43420678 Tools they used: Claude Category: Vibe coding & apps Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Grok Bot. Goal: Build an MCP server so Claude can play a game What the original author did: Built an MCP server that lets clients play Minesweeper and tested Claude on it. Reported result (as claimed by the author): Claude made obvious mistakes and never won a 9x9 game. Source: https://news.ycombinator.com/item?id=43420678 Tools they used: Claude Category: Vibe coding & apps Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
Related use cases
Let AI agents play SimCity through an API
A weekend project wrapped the open-source Micropolis in a REST API so AI agents can play SimCity.
Turn text descriptions into game-ready 3D assets
A developer gave a headless coding agent control of Blender so it outputs models with rig, animations and colliders from a text prompt.
Build a self-running space economy simulation
Built with Claude a space economy sim in Rust and Bevy where hundreds of autonomous ships each run their own logic.
Make a vibe-coded SaaS feel designed, not generated
Refused default AI styling: picked a SaaS product she liked and had Claude in Chrome analyze it to build a design foundation first.