Minesweeper MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Minesweeper MCP Server start a new game on a 10x10 grid with 15 mines"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 buildConfigure 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

Available Tools
4 toolsclickC
Click at a cell on the Minesweeper board
Inputs: row (required), col (required).
flagC
Place a flag at a cell on the Minesweeper board
Inputs: row (required), col (required).
start_gameB
Start a new game of Minesweeper
Inputs: no named parameters.
unflagC
Remove the flag at a cell on the Minesweeper board
Inputs: row (required), col (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: start_game initiates a new game, click uncovers cells, flag marks potential mines, and unflag removes those marks. There is no overlap or ambiguity between these actions, making tool selection straightforward for an agent.
All tool names follow a consistent verb-based pattern (click, flag, start_game, unflag) using snake_case throughout. The naming is simple, predictable, and aligns well with the actions they perform in the Minesweeper domain.
With 4 tools, this server is well-scoped for Minesweeper gameplay. It covers the essential actions needed to play the game (starting, clicking, flagging, and unflagging) without being overly sparse or bloated, making each tool earn its place.
The tool set provides complete coverage for the Minesweeper domain, including game initiation (start_game), core gameplay actions (click, flag, unflag), and no obvious gaps. Agents can perform all necessary operations to play a full game without dead ends.
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Connect AI agents to Flato's editable canvas runtime through a hosted MCP server.
Make games with AI: one MCP server that connects your agent to Unity, Unreal and Godot editors.
Skills, agents and memory in the cloud, plus a gateway to your other MCP servers.