MCP cover image
See in Github
2025-03-04

用于下棋的MCP服务器

1

Github Watches

4

Github Forks

5

Github Stars

MCP Chess

A Model Context Protocol (MCP) server that provides chess functionality for Claude AI Assistant.

https://github.com/user-attachments/assets/324ed381-35f3-45b7-b877-127ef27fd97d

Features

This server implements tools that extend Claude's capabilities to:

  • Generate chess board images from a Forsyth-Edwards Notation (FEN) string
  • Suggest the next move in a chess game
  • Check if a move is legal

Installation for Claude Desktop

  1. Download the latest binary from the Releases page:

    • For Windows: mcp-chess-windows.exe
    • For macOS: mcp-chess-darwin
    • For Linux: mcp-chess-linux
  2. Make the file executable (macOS/Linux only):

    chmod +x mcp-chess-darwin   # for macOS
    chmod +x mcp-chess-linux    # for Linux
    
  3. For macOS users - Bypassing Security Warnings:

    When you first try to run the application, macOS may display a security warning because the application is not signed by an identified developer. To bypass this:

    • Right-click (or Control-click) on the mcp-chess-darwin file
    • Select "Open" from the context menu
    • Click "Open" in the dialog box that appears

    Alternatively, you can use Terminal:

    xattr -d com.apple.quarantine /path/to/mcp-chess-darwin
    

    This only needs to be done once.

  4. Configure Claude Desktop:

    • Open Claude Desktop
    • Select "Settings", and click on the "Developer" tab
    • Click "Edit Config"
    • Add the MCP server configuration
    • Save the file
    • Restart Claude Desktop

Here's an example for the MCP server configuration:

{
  "mcpServers": {
    "mcp-chess": {
      "command": "/path/to/mcp-chess-binary"
    }
  }
}

Using with Claude

Once properly configured, you can ask Claude to perform various chess-related tasks:

Show me the starting position of a chess game.
Let's play a chess game. Check that each move is legal. Suggest the best move to play.
Is Nf3 a legal move from the starting position?
What's a good move for white in this position: "rnbqkbnr/pppp1ppp/8/4p3/4P3/8/PPPP1PPP/RNBQKBNR w KQkq - 0 2"?

Technical Details

Development

This project is built with:

  • Spring Boot
  • Spring AI (MCP server implementation)
  • Java 21
  • GraalVM native compilation

Building from Source

# Clone the repository
git clone https://github.com/alexandreroman/mcp-chess.git
cd mcp-chess

# Build with Maven
./mvnw clean package

# Build a native executable
./mvnw -Pnative native:compile

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Credits

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • https://jgadvisorycpa.com
  • This GPT assists in finding a top-rated business CPA - local or virtual. We account for their qualifications, experience, testimonials and reviews. Business operators provide a short description of your business, services wanted, and city or state.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • modelcontextprotocol
  • 模型上下文协议服务器

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

    Reviews

    5 (1)
    Avatar
    user_AIOAAbfq
    2025-04-15

    As a loyal user of R-Server MCP, I highly recommend this server for anyone looking for a robust and efficient R programming environment. Created by gdbelvin, this product has significantly enhanced my data analysis workflows and ensures smooth execution of R scripts. Check out more details here: https://mcp.so/server/rlang-mcp-server/gdbelvin.