About
An MCP server for playing Minesweeper
README
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

Installing Minesweeper
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/tonypan2/minesweeper-mcp-serverFAQ
Is Minesweeper MCP free?
Yes, Minesweeper MCP is free — one-click install via Unyly at no cost.
Does Minesweeper need an API key?
No, Minesweeper runs without API keys or environment variables.
Is Minesweeper hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Minesweeper in Claude Desktop, Claude Code or Cursor?
Open Minesweeper on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Minesweeper with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
