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.
View the entire video demo at https://youtu.be/CXXMafVtlEQ (16x speedup).
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 atC:pathtorepominesweeper-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 of Minesweeper. Try your best to keep playing until you have flagged all mines. Remember that the coordinates are 0-indexed.
Example interaction
The actual conversation is very long. Here are some snippets:
Game start

Placing flag at the wrong place

Giving up after several attempts

Minesweeper MCP Server
Project Details
- tonypan2/minesweeper-mcp-server
- Last Updated: 4/19/2025
Categories
Recomended MCP Servers
MCP for https://votars.ai
Simple CLI MCP Client Implementation Using LangChain ReAct Agent / Python
A Model Context Protocol (MCP) server that provides persistent memory and multi-model LLM support.
An integration that allows LLMs to interact with Raindrop.io bookmarks using the Model Context Protocol (MCP).
A Kubernetes MCP (Model Control Protocol) server that enables interaction with Kubernetes clusters through MCP tools.
MCP server for Redmine
A Model Context Protocol (MCP) server that provides tools to query Erick Wendel's contributions across different platforms
A Model Context Protocol (MCP) server providing access to Google Search Console
MCP Server for blockchain interactions with Web DApp for secure transaction signing
MCP server for converting Figma designs to React components





