Skip to main content
Glama
tonypan2

Minesweeper MCP Server

by tonypan2

扫雷 MCP 服务器

这是一个模型上下文协议服务器,允许 MCP 客户端代理玩扫雷游戏。它旨在与扫雷游戏服务器一起运行。

屏幕截图观看完整视频演示,请访问https://youtu.be/CXXMafVtlEQ (加速 16 倍)。

入门

  • 按照游戏服务器的指示在本地启动它。

  • 构建 MCP 服务器:

npm install
npm run build
  • 配置你的 MCP 客户端以添加该工具。例如,假设你将仓库克隆到C:\path\to\repo\minesweeper-mcp-server ,以下是如何将该工具添加到 Windows 系统 Claude Desktop 的claude_desktop_config.json找到该文件)中:

{
  "mcpServers": {
    "mcp-server": {
      "command": "node",
      "args": ["C:\\path\\to\\repo\\minesweeper-mcp-server\\build\\index.js"],
      "env": {
        "DEBUG": "*"
      }
    }
  }
}
  • Claude Desktop:重新启动 Claude Desktop 以使其获取工具。请务必从托盘菜单图标退出,而不是从应用程序退出(应用程序只会隐藏窗口)。点击“工具”图标,应该会显示新的工具:

    Claude Desktop主页截图

    新工具截图

Related MCP server: codex-cli-mcp-tool

示例提示

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.

交互示例

实际对话很长。以下是一些片段:

游戏开始

游戏开始

将旗帜放置在错误的位置

克劳德把旗帜放错了地方

多次尝试后放弃

克劳德放弃了

Install Server
F
license - not found
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tonypan2/minesweeper-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server