Show HN: I built a MCP server so Claude can play Minesweeper
Published on: 2025-10-11 22:58:57
Minesweeper MCP Server
This is an Model Context Protocol server that allows an MCP client agents to play a game of Minesweeper. It is intended to be run alongside the Minesweeper game server.
Getting started
Follow the instructions 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), 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:
Example prompt
Start a new game
... Read full article.