MCP Chess - 模型上下文协议国际象棋服务器

MCP Chess - 模型上下文协议国际象棋服务器

一个基于 MCP 协议的国际象棋服务器,支持生成棋盘图像、建议下一步走法等功能。

快速入门

  1. Releases 页面下载对应平台的最新二进制文件。

    • Windows: mcp-chess-windows.exe
    • macOS: mcp-chess-darwin
    • Linux: mcp-chess-linux
  2. (仅限 macOS/Linux)设置可执行权限: chmod +x mcp-chess-darwin

  3. 配置 Claude Desktop:

    • 打开设置,进入“开发者”选项卡
    • 点击“编辑配置”并添加以下内容: { "mcpServers": { "mcp-chess": { "command": "/path/to/mcp-chess-binary" } } }
    • 保存并重启应用。
  4. 使用示例指令与 Claude 交互:

    • 显示初始棋盘:Show me the starting position of a chess game.
    • 检查合法性或推荐走法:Is Nf3 a legal move from the starting position?