About Minesweeper MCP Server
Minesweeper MCP Server is an MCP server that lets MCP client agents play a game of Minesweeper. It is meant to run alongside a separate Minesweeper game server. It suits users who want to observe an agent playing a turn-based game.
Key features
- 01Starts new Minesweeper games for agents
- 02Places flags using 0-indexed coordinates
- 03Runs alongside a separate Minesweeper game server
Use cases
- 01Observing how an agent plays a turn-based game
- 02Demonstrating MCP tools driving a game loop
MCP support
This project is an MCP server that exposes Minesweeper gameplay to MCP clients. The README shows configuration with Claude Desktop.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMinesweeper 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:\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 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

Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.