Skip to content
Back to search

minesweeper-mcp-server

An MCP server for playing Minesweeper

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/tonypan2--minesweeper-mcp-server/badge.svg)](/listings/tonypan2--minesweeper-mcp-server)

HTML

<a href="/listings/tonypan2--minesweeper-mcp-server"><img src="/api/listings/tonypan2--minesweeper-mcp-server/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

- Follow the [instructions](https://github.com/tonypan2/minesweeper-server) of the game server to start it locally.

* Build the MCP server:

npm install
npm run build

- Configure your MCP client to add the tool. For example, here is how to add the tool to Claude Desktop on Windows's `claude_desktop_config.json` ([locating the file](https://gist.github.com/feveromo/7a340d7795fca1ccd535a5802b976e1f#3-configure-claude-desktop)), assuming you cloned the repo at `C:\path\to\repo\minesweeper-mcp-server`:

{
  "mcpServers": {
    "mcp-server": {
      "command": "node",
      "args": ["C:\\path\\to\\repo\\minesweeper-mcp-server\\build\\index.js"],
      "env": {
        "DEBUG": "*"
      }
    }
  }
}

- Claude Desktop : Restart Claude Desktop to let it pick up the tools. Be sure to quit from the tray menu icon, not from the app (which simply hides the window). If you click the Tools icon, it should show the new tools:

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 62 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Minesweeper MCP Server
  2. This is an [Model Context Protocol server](https://github.com/modelcontextprotocol/servers) that allows an MCP client agents to play a game of [Minesweeper](<https://en.wikipedia.org/wiki/Minesweeper_(video_game)>). It is intended to be run alongside the [Minesweeper game server](https://github.com/tonypan2/minesweeper-server).
  3. ![Screen capture](static/screen_recording.gif?raw=true)
  4. View the entire video demo at https://youtu.be/CXXMafVtlEQ (16x speedup).
  5. ## Getting started
  6. - Follow the [instructions](https://github.com/tonypan2/minesweeper-server) of the game server to start it locally.
  7. * Build the MCP server:
  8. ```bash
  9. npm install
  10. npm run build
  11. ```
  12. - Configure your MCP client to add the tool. For example, here is how to add the tool to Claude Desktop on Windows's `claude_desktop_config.json` ([locating the file](https://gist.github.com/feveromo/7a340d7795fca1ccd535a5802b976e1f#3-configure-claude-desktop)), assuming you cloned the repo at `C:\path\to\repo\minesweeper-mcp-server`:
  13. ```JSON
  14. {
  15. "mcpServers": {
  16. "mcp-server": {
  17. "command": "node",
  18. "args": ["C:\\path\\to\\repo\\minesweeper-mcp-server\\build\\index.js"],
  19. "env": {
  20. "DEBUG": "*"
  21. }
  22. }
  23. }
  24. }
  25. ```
  26. - Claude Desktop : Restart Claude Desktop to let it pick up the tools. Be sure to quit from the tray menu icon, not from the app (which simply hides the window). If you click the Tools icon, it should show the new tools:
  27. ![Screenshot of Claude Desktop homepage](static/claude_home.png?raw=true)
  28. ![Screenshot of new tools](static/claude_tools.png?raw=true)
  29. ## Example prompt
  30. ```
  31. 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.
  32. ```
  33. ## Example interaction
  34. The actual conversation is very long. Here are some snippets:
  35. ## Game start
  36. ![Game starts](static/game-start.png)
  37. ## Placing flag at the wrong place
  38. ![Claude places flag at the wrong place](static/wrong-flag.png)
  39. ## Giving up after several attempts
  40. ![Claude gives up](static/gave-up.png)

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.