Live data from Hacker News

Show HN: I built a MCP server so Claude can play Minesweeper

github.com

21–30 of 39 posts

Re: Show HN: I built a MCP server so Claude can play Minesweeper

#21
post #20
post #3

Maybe tell it it's a champion Minesweeper player and that loss is not an option :)

Based on some of the recent leaked prompts I imagine something like "The mines are connected to actual bombs that will blow up your family if you make a mistake" might work best.

Realize this must be somewhat tic, but curious about a link to example leaked related prompt?

Re: Show HN: I built a MCP server so Claude can play Minesweeper

#22
post #21
post #20

Earlier quoted context omitted.

Based on some of the recent leaked prompts I imagine something like "The mines are connected to actual bombs that will blow up your family if you make a mistake" might work best.

Realize this must be somewhat tic, but curious about a link to example leaked related prompt?

https://simonwillison.net/2025/Feb/25/leaked-windsurf-prompt...

Re: Show HN: I built a MCP server so Claude can play Minesweeper

#23
post #17

Yea Claude sucks at minesweeper (and many spatial reasoning tasks), but isn’t an idea of MCPs is that Claude should be able to ask an MCP what the next best move is rather than figuring it out itself? Like offload hard thinking/reasoning to purpose-built solvers because they are deterministic? Though I guess you’d expect a reasoning model to be able to come up with its own solvers on the fly, especially for well-know…

MCP is analogous to REST. It doesn’t define what behavior should be where in a given app, just how to communicate what that behavior is and how to invoke it.

RPC, not REST

Re: Show HN: I built a MCP server so Claude can play Minesweeper

#25
post #2

Key things for debugging: * What is the data format it gets? Does it unambiguously correspond to output (i.e. without mistaking rows for cols, or indexes starting at 0 or 1)? * What is the prompt? * Is the model allowed to think? (If it is just JSON response, I expect it to suck, as tokens are units of thinking.)

I noticed that Claude often tries to click out of bounds even though in the prompt I tell it that the index is zero based.

Re: Show HN: I built a MCP server so Claude can play Minesweeper

#26
post #7
post #6

By just looking at the README from the repo (Would look more deeply into this later) you're replying with an image of the current status? If you expect Claude to interpret the image corretly may be you're asking for too much. Besides the image (Gotta say I didn't know you could fed Claude images in MCP that's incredible cool) I'd rather / also return some json payload that informs Claude which positions has "cleared"…

An interesting exercise here would be to make the MCP server show the actual state in a window and return to Claude just the json payload with the status.

Good idea! I've updated the game server so a human can watch the game in real-time. Updated the README with a screen recording: https://github.com/tonypan2/minesweeper-mcp-server

Re: Show HN: I built a MCP server so Claude can play Minesweeper

#27
It feels nuts to me that there is a push away from strict APIs to conversational interfaces for products and then the actual technology itself under the hood is translating that into a strict set of API calls in order to understand something. Would it not be better to seek interoperability with fairly well scripted natural language handshake. I feel like MCP is built for understanding language and Syntax to a greater degree but not random tools and APIs.

Re: Show HN: I built a MCP server so Claude can play Minesweeper

#29

Yea Claude sucks at minesweeper (and many spatial reasoning tasks), but isn’t an idea of MCPs is that Claude should be able to ask an MCP what the next best move is rather than figuring it out itself? Like offload hard thinking/reasoning to purpose-built solvers because they are deterministic? Though I guess you’d expect a reasoning model to be able to come up with its own solvers on the fly, especially for well-know…

This seems like intended usage? The server actually executes the moves and interacts with the environment, the core orchestration or reasoning is offloaded to claude?

Re: Show HN: I built a MCP server so Claude can play Minesweeper

#30
post #17

Earlier quoted context omitted.

MCP is analogous to REST. It doesn’t define what behavior should be where in a given app, just how to communicate what that behavior is and how to invoke it.

RPC, not REST

Like neither one.

RPC and REST are architectural patterns/philosophies, not protocols.

SOAP and HTTP are protocols, like MCP.

Post reply on HN