Skip to main content
Glama
jiayao

MCP Chess Server

by jiayao

MCP チェスサーバー

この MCP を使用すると、どの LLM ともチェスをプレイできます。

インストール

このチェス サーバーを使用するには、MCP 構成に次の構成を追加します。

{
  "mcpServers": {
    "chess": {
      "command": "uvx",
      "args": [
        "mcp-chess"
      ]
    }
  }
}

Related MCP server: Chess MCP Server

使用法

ゲームをプレイする: 黒の駒を使ったチェスの開始位置

数歩後

ゲーム分析のために PGN でポジションを見つける:

PGNでポジションを探す

利用可能なツール

サーバーは次のツールを提供します。

  • get_board_visualization() : チェス盤の現在の状態を画像として提供します。盤の向きは、ユーザーが指定した色に基づいて自動的に反転します。

  • get_turn() : 誰の番かを示します (「白」または「黒」)。

  • get_valid_moves() : 現在のプレイヤーの有効な手をすべてUCI記法でリストします(例:'e2e4'、'g1f3')。ゲームオーバーの場合は空のリストを返します。

  • make_move(move_san: str) : 標準代数記法(SAN)を用いて盤上で指し手を行います(例:'e4'、'Nf3'、'Bxe5')。指し手はSANとUCIで表され、新しい盤面のFENとゲームステータスが返されます。

  • new_game(user_plays_white: bool = True) : 盤面をリセットし、新しいゲームを開始します。デフォルトでは、ユーザーは白でプレイします。盤面の向きに応じてユーザーの色を設定します。確認メッセージを返します。

  • find_position_in_pgn(pgn_string: str, condition: str) : PGN文字列から条件(例:"bishop on a3")に一致する最初の盤面の位置を検索し、その盤面の画像を返します。条件の形式は"piece_type on square_name"です。有効な駒の種類は"pawn"、"knight"、"bishop"、"rook"、"queen"、"king"です。

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

Related MCP Servers

  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    A Model Context Protocol server that enables LLM agents and humans to play chess games together with comprehensive game management capabilities including move validation, draw detection, and game state tracking.
    -
  • A
    license
    A
    quality
    A
    maintenance
    Enables Large Language Models to play chess agentically with real-time HTML board visualization and a hybrid AI engine featuring ten difficulty levels. It supports interactive games between users and agents, including a web dashboard to monitor active matches.
    4
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A powerful chess engine and game server built with the Model Context Protocol (MCP). Play chess against AI, analyze positions, and integrate chess functionality into your AI applications.
    21
    1
    ISC