Skip to main content
Glama

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主页截图新工具截图

示例提示

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
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

MCP 服务器使 Claude 等 AI 代理能够通过自然语言交互玩扫雷游戏,并连接到单独的扫雷游戏服务器。

  1. 入门
    1. 示例提示
      1. 交互示例
        1. 游戏开始
          1. 将旗帜放置在错误的位置
            1. 多次尝试后放弃

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                An MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.
                Last updated -
                229
                Python
                MIT License
                • Apple
                • Linux
              • -
                security
                F
                license
                -
                quality
                An MCP server that allows AI assistants like Claude to execute terminal commands on the user's computer and return the output, functioning like a terminal through AI.
                Last updated -
                47
                Python
                • Apple
              • A
                security
                A
                license
                A
                quality
                A Minecraft MCP Server powered by Mineflayer API. It allows to control a Minecraft character in real-time, allowing AI assistants to build structures, explore the world, and interact with the game environment through natural language instruction
                Last updated -
                14
                174
                TypeScript
                Apache 2.0
                • Apple
              • A
                security
                F
                license
                A
                quality
                An MCP server that allows Claude to interact with Discord by providing tools for sending/reading messages and managing server resources through Discord's API.
                Last updated -
                19
                20
                JavaScript

              View all related MCP servers

              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