B
BetterChess
/chess_attacks
What a piece attacks
Returns the exact list of squares attacked by the piece standing on a given square in a chess position, together with that piece's type and colour. Returns an e
liveunknown~5s typical
mcpbetterchess
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-co-betterchess-betterchess /chess_attacks for me.
Input
| Field | Type | Description |
|---|---|---|
| fen | string | FEN of the position. |
| pgn | string | PGN; the position after the final move is used. |
| moves | array | SAN moves from the start, e.g. ["e4","e5"]. |
| square* | string | The square, e.g. "d5". |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"mcp-co-betterchess-betterchess","endpoint":"/chess_attacks","input":{"square":"..."}}'cli
npx cracked-ai run -p mcp-co-betterchess-betterchess -e /chess_attacks -i '{"square":"..."}'mcp
run_tool({ provider: "mcp-co-betterchess-betterchess", endpoint: "/chess_attacks", input: {"square":"..."} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.