Skip to main content
Glama

MCP Chess Server

by jiayao

MCP チェスサーバー

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

インストール

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

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

使用法

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

数歩後

ゲーム分析のために 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"です。
-
security - not tested
A
license - permissive license
-
quality - not tested

盤面を視覚化し、標準表記法で動きを決め、PGN ファイルからポジションを分析する機能を備え、ユーザーが任意の LLM とチェスをプレイできるようにするサーバーです。

  1. インストール
    1. 使用法
      1. 利用可能なツール

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          A server that enables LLMs to programmatically interact with Logseq knowledge graphs, allowing creation and management of pages and blocks.
          Last updated -
          10
          22
          Python
          MIT License
        • A
          security
          A
          license
          A
          quality
          An MCP server that enables natural language interaction with the Lichess chess platform, allowing users to play games, analyze positions, manage their account, and participate in tournaments through Claude.
          Last updated -
          90
          6
          JavaScript
          MIT License
          • Apple
          • Linux
        • A
          security
          A
          license
          A
          quality
          Provides access to Chess.com player data, game records, and public information through standardized MCP interfaces, allowing AI assistants to search and analyze chess information.
          Last updated -
          10
          45
          Python
          MIT License
          • Linux
          • Apple
        • A
          security
          A
          license
          A
          quality
          A server that connects to PostgreSQL databases and provides tools for safely exploring schemas, running read-only SQL queries, and performing data analysis with pre-built templates.
          Last updated -
          5
          728
          1
          JavaScript
          MIT License

        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/jiayao/mcp-chess'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server