WebMCP

MediaWebMCP verified

react-chess WebMCP tools

Chess game with exposed tools for board state, moves, and game management

5 tools1 methodspolyfill API surface

What can an agent do with react-chess WebMCP tools?

Chess game with exposed tools for board state, moves, and game management This page documents every listed tool, the action or answer it provides, its installation command, and the input fields an agent should send.

WebMCP tools on react-chess

Tool 1 of 5WebMCPAnswer

get-board-state

Retrieves the current state of the chess board including piece positions, current turn, total moves, and game status.

How to install

Open the react-chess website and ask your browser agent to use get-board-state

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the get-board-state tool on react-chess. Return the structured result and cite the source page.

Input contract

    Open the source definition

    Tool 2 of 5WebMCPAction

    make-move

    Makes a chess move. Provide the move as "from:to" (e.g., "e2:e4").

    How to install

    Open the react-chess website and ask your browser agent to use make-move

    Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

    Run with an agent

    Use the make-move tool on react-chess with move: <string>. Return the structured result and cite the source page.

    Input contract

    • move string Move in format "from:to" (e.g., "e2:e4")

    Open the source definition

    Tool 3 of 5WebMCPAnswer

    get-possible-moves

    Gets all legal moves for a piece at a position (x: 0-7, y: 0-7).

    How to install

    Open the react-chess website and ask your browser agent to use get-possible-moves

    Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

    Run with an agent

    Use the get-possible-moves tool on react-chess with position: <object>. Return the structured result and cite the source page.

    Input contract

    • position object

    Open the source definition

    Tool 4 of 5WebMCPAction

    restart-game

    Restarts the chess game to initial position.

    How to install

    Open the react-chess website and ask your browser agent to use restart-game

    Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

    Run with an agent

    Use the restart-game tool on react-chess. Return the structured result and cite the source page.

    Input contract

      Open the source definition

      Tool 5 of 5WebMCPAction

      promote-pawn

      Promotes a pawn to queen, rook, bishop, or knight.

      How to install

      Open the react-chess website and ask your browser agent to use promote-pawn

      Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

      Run with an agent

      Use the promote-pawn tool on react-chess with pieceType: <string>. Return the structured result and cite the source page.

      Input contract

      • pieceType string Piece type to promote to.

      Open the source definition