SuperAPIAI Directory

mcp-chess

github.com · AI developer platforms

Chess opponent that plays against LLMs.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

mcp-chess is an MCP server whose purpose is to let users play chess against any LLM. The project is hosted on GitHub (https://github.com/jiayao/mcp-chess)。

Usage: To use this chess server, the corresponding configuration needs to be added to the MCP configuration. The repository page shows a place where configuration is to be filled in, but the material does not provide the specific configuration content, so it is not provided for now.

Available tools: The server provides the following tools:

get_board_visualization(): Provides the current board state as an image. The board orientation is automatically flipped according to the color assigned to the user. get_turn(): Indicates whose turn it currently is ('white' or 'black'). get_valid_moves(): Lists all legal moves for the current player in UCI notation (e.g. 'e2e4', 'g1f3'). If the game is over, returns an empty list. make_move(move_san: str): Makes a move on the board using Standard Algebraic Notation (SAN) (e.g. 'e4', 'Nf3', 'Bxe5'). Returns the move in SAN and UCI notation, the new board FEN, and the game status. new_game(user_plays_white: bool = True): Starts a new game and resets the board. By default the user plays white. Sets the user's color to determine the board orientation. Returns a confirmation message. find_position_in_pgn(pgn_string: str, condition: str): Finds the first board position in the PGN string that matches the condition (e.g. "bishop on a3"), and returns an image of that board state. The condition format is "piece_type on square_name". Valid piece types are "pawn", "knight", "bishop", "rook", "queen", "king".

Applicable scenarios: Combined with the above tools, chess games can be played in an LLM environment that supports MCP, board images can be viewed, legal moves and game status can be queried, and positions can be searched in a PGN by condition (game analysis).

Limitations: The material does not explain the scope of platform support, installation commands, dependency requirements, pricing, or performance, so these are not provided for now.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools