Connects to a local Minesweeper game server to let Claude play the classic puzzle game through MCP tools. Exposes operations for starting new games, revealing cells, placing flags, and checking game state. You'd reach for this when experimenting with AI game-playing capabilities or demonstrating how Claude can interact with external game APIs. Requires running the separate minesweeper-server locally first, then Claude can make moves by calling the MCP tools with coordinates. The readme shows Claude attempting strategy but ultimately struggling with the logical deduction required for successful play.
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.
View the entire video demo at https://youtu.be/CXXMafVtlEQ (16x speedup).
npm install
npm run build
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:


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:


