Minesweeper MCP Server

扫雷 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 以使其获取工具。请务必从托盘菜单图标退出,而不是从应用程序退出(应用程序只会隐藏窗口)。点击“工具”图标,应该会显示新的工具:

示例提示

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.

交互示例

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

游戏开始

将旗帜放置在错误的位置

多次尝试后放弃

-
security - not tested
F
license - not found
-
quality - not tested

local-only server

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

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

  1. Getting started
    1. Example prompt
      1. Example interaction
        1. Game start
          1. Placing flag at the wrong place
            1. Giving up after several attempts

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                An MCP server that generates 2D and 3D game assets from text prompts using AI models from Hugging Face Spaces, allowing developers to easily create game art through Claude Desktop or other MCP clients.
                Last updated -
                34
                JavaScript
                MIT License
                • Apple
                • Linux
              • -
                security
                A
                license
                -
                quality
                An MCP server that helps AI assistants access text content from websites that implement bot detection, bridging the gap between what you can see in your browser and what the AI can access.
                Last updated -
                1
                Python
                Apache 2.0
              • 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
                47
                TypeScript
                Apache 2.0
                • Apple
              • -
                security
                -
                license
                -
                quality
                A specialized MCP server that enables AI agents to interact with Reddit, including reading posts, creating content, and managing subreddit configurations.
                Last updated -
                31
                1
                TypeScript

              View all related MCP servers

              ID: 9vz18vyg8u