MCP 国际象棋服务器
这个 MCP 让您可以与任何 LLM 下棋。
安装
要使用此国际象棋服务器,请将以下配置添加到您的 MCP 配置中:
用法
玩游戏:
在 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 字符串中第一个符合条件(例如“象在 a3 上”)的棋盘位置,并返回该棋盘状态的图像。条件格式为“棋子类型在方格名称上”。有效的棋子类型包括“兵”、“马”、“象”、“车”、“后”、“王”。
This server cannot be installed
该服务器使用户能够与任何 LLM 下棋,具有棋盘可视化、以标准符号移动和从 PGN 文件分析位置的功能。
Related MCP Servers
- AsecurityAlicenseAqualityA server that enables LLMs to programmatically interact with Logseq knowledge graphs, allowing creation and management of pages and blocks.Last updated -1024MIT License
- AsecurityAlicenseAqualityAn 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 -909MIT License
- AsecurityAlicenseAqualityProvides 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 -1051MIT License
- -securityFlicense-qualityAn enterprise-grade Chess.com MCP server built with MXCP, featuring caching, analytics, audit trails, and advanced data analysis capabilities. https://mxcp.dev/Last updated -