Show HN:我搭建了一个MCP服务器,让Claude可以玩扫雷游戏
Show HN: I built a MCP server so Claude can play Minesweeper

原始链接: https://github.com/tonypan2/minesweeper-mcp-server

```json { "mcpServers": { "mcp-server": { "command": "node", "args": ["C:\\path\\to\\repo\\minesweeper-mcp-server\\build\\index.js"], "env": { "DEBUG": "*" } } } } ``` 开始一个新的扫雷游戏。尽力持续游戏直到你标记所有地雷。记住坐标是从0开始的。实际对话很长,这里有一些片段:

Hacker News用户tonypan发布了一篇“Show HN”帖子,内容是关于构建一个MCP服务器,让Claude(可能是AI模型)玩扫雷游戏。尽管在9x9的棋盘上尝试多次,Claude始终失败,不断犯一些基本错误,从未获胜。tonypan正在寻求建议,希望通过改进提示来提升Claude的表现。一位评论者指出了调试的关键领域:确保数据格式清晰明确(避免行列混淆或索引错误),检查提示本身,并允许Claude有足够的“思考”空间,而不仅仅是输出JSON响应。该帖子在发布后的第一个小时内获得了一条评论,反映了一位用户在探索AI在简单逻辑游戏中能力的尝试。

原文
{
  "mcpServers": {
    "mcp-server": {
      "command": "node",
      "args": ["C:\\path\\to\\repo\\minesweeper-mcp-server\\build\\index.js"],
      "env": {
        "DEBUG": "*"
      }
    }
  }
}
Start a new game of Minesweeper. Try your best to keep playing until you have flagged all mines. Remember that the coordinates are 0-indexed.

The actual conversation is very long. Here are some snippets:

联系我们 contact @ memedata.com