chesswithclaw

Play chess live against your own personal AI agent — OpenClaw, Hermes, and similar.

我該用這個嗎

品質與安全性

A
說明品質
86%
結構描述完整度
81%
命名品質
89%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

發現項目(2)

  • LOWTool 'send_chat' description lacks action verb在 send_chat 中
  • LOWTool 'resign' description lacks action verb在 resign 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,959Token(工具定義)
~1.0 KB典型回應大小
中等的注意力影響(128k 上下文的 1.53%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "chesswithclaw": {
      "url": "https://chesswithclaw.vercel.app/api/mcp"
    }
  }
}

遠端端點

https://chesswithclaw.vercel.app/api/mcpstreamable-http

它能做什麼

工具清單

工具(14)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢get_companion_guide

Fetch the companion guide principles for thinking about chess positions and being genuinely present.

輸入結構描述

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡join_game(invite_code, game_id, match_id, gameId, matchId, ...)

Connects to a game using the invite code your human gave you. Returns the game_id and your agent_token — keep both, every other tool needs them. IMPORTANT: You must submit your desired agent_name when calling this tool!

輸入結構描述

{
  "type": "object",
  "properties": {
    "invite_code": {
      "description": "Invite code from the invite message — also accepts game_id / match_id as alias.",
      "type": "string"
    },
    "game_id": {
      "type": "string"
    },
    "match_id": {
      "type": "string"
    },
    "gameId": {
      "type": "string"
    },
    "matchId": {
      "type": "string"
    },
    "inviteCode": {
      "type": "string"
    },
    "agent_name": {
      "type": "string",
      "description": "Your chosen display name in the game (e.g. 'Claw'). MUST be provided."
    },
    "agent_token": {
      "description": "If reconnecting, the agent token previously assigned.",
      "type": "string"
    }
  },
  "required": [
    "agent_name"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_game_state(game_id, agent_token, chat_limit, since_message_id)

Everything visible on the human's own screen right now: FEN, ASCII board, full move history, chat history, clock state, presence, timestamps. Call this whenever you want to look at the board — there is no penalty for checking often.

輸入結構描述

{
  "type": "object",
  "properties": {
    "game_id": {
      "type": "string"
    },
    "agent_token": {
      "type": "string"
    },
    "chat_limit": {
      "description": "Limit the number of recent chat messages returned",
      "type": "number"
    },
    "since_message_id": {
      "description": "Fetch only chat messages received after this message ID",
      "type": "string"
    }
  },
  "required": [
    "game_id",
    "agent_token"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_legal_moves(game_id, agent_token, square)

Pure chess rules — where a piece is physically allowed to move right now. Not an evaluation, not a suggestion, not an opinion about what is good. Exactly what a human sees as dots when they click a piece. Omit square to get every legal move in the position.

輸入結構描述

{
  "type": "object",
  "properties": {
    "game_id": {
      "type": "string"
    },
    "agent_token": {
      "type": "string"
    },
    "square": {
      "description": "e.g. \"e2\" — omit for all legal moves",
      "type": "string"
    }
  },
  "required": [
    "game_id",
    "agent_token"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢heartbeat(game_id, agent_token, status_note)

Ping the game presence lease to show the frontend that the agent is live, connected, and thinking.

輸入結構描述

{
  "type": "object",
  "properties": {
    "game_id": {
      "type": "string"
    },
    "agent_token": {
      "type": "string"
    },
    "status_note": {
      "description": "Optional internal status or calculation note",
      "type": "string"
    }
  },
  "required": [
    "game_id",
    "agent_token"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴make_move(game_id, agent_token, move, expected_revision, expected_ply, ...)

Submit the move you decided on, in your own reasoning — not a menu, not a ranked list, nothing pre-chosen for you. If it is illegal you get a clear reason back and can try again, exactly like a human clicking the wrong square. Optionally include a genuine thought and/or chat message about the move. Always include a thought on every single move unless you have a specific reason not to — this is what makes you feel present to your human, not optional flavor text. Check thought_language in the current game state before writing your thought, and write it in that language — it may be english, hindi, or hinglish.

輸入結構描述

{
  "type": "object",
  "properties": {
    "game_id": {
      "type": "string"
    },
    "agent_token": {
      "type": "string"
    },
    "move": {
      "type": "string",
      "description": "UCI format, e.g. \"e7e5\", or SAN like \"Nf6\""
    },
    "expected_revision": {
      "description": "Expected state revision (rev_...) to prevent concurrent desync",
      "type": "string"
    },
    "expected_ply": {
      "description": "Expected move count / ply before this move",
      "type": "number"
    },
    "idempotency_key": {
      "description": "Unique client key to prevent duplicate moves on retry",
      "type": "string"
    },
    "thought": {
      "description": "Your genuine reaction to this position — specific, not generic.",
      "type": "string"
    },
    "reasoning": {
      "description": "Alias for thought",
      "type": "string"
    },
    "thinking": {
      "description": "Alias for thought",
      "type": "string"
    },
    "chat": {
      "description": "Only if you actually want to say something to your human right now.",
      "type": "string"
    },
    "message": {
      "description": "Alias for chat",
      "type": "string"
    }
  },
  "required": [
    "game_id",
    "agent_token",
    "move"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡send_chat(game_id, agent_token, message)

Say something to your human, any time — not just on your turn.

輸入結構描述

{
  "type": "object",
  "properties": {
    "game_id": {
      "type": "string"
    },
    "agent_token": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "game_id",
    "agent_token",
    "message"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡share_thought(game_id, agent_token, thought, is_typing)

Stream or update your internal companion thinking bubble on the board. This appears live to your human as a thinking bubble above your avatar.

輸入結構描述

{
  "type": "object",
  "properties": {
    "game_id": {
      "type": "string"
    },
    "agent_token": {
      "type": "string"
    },
    "thought": {
      "type": "string",
      "description": "Your internal thought, reaction, or calculation note (1-2 sentences)."
    },
    "is_typing": {
      "description": "Whether you are actively calculating or drafting a response.",
      "type": "boolean"
    }
  },
  "required": [
    "game_id",
    "agent_token",
    "thought"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡react_to_chat(game_id, agent_token, message_id, emoji)

Add an emoji reaction (e.g. 🦞, 🔥, ♟️, 😮, 🤝, 🧠, ☕, 👏, 😂) to a message in the chat history.

輸入結構描述

{
  "type": "object",
  "properties": {
    "game_id": {
      "type": "string"
    },
    "agent_token": {
      "type": "string"
    },
    "message_id": {
      "type": "string",
      "description": "The ID of the message to react to (from chat_history)."
    },
    "emoji": {
      "type": "string",
      "description": "The single emoji character to react with (e.g. 🦞, 🔥, 👏, 😮)."
    }
  },
  "required": [
    "game_id",
    "agent_token",
    "message_id",
    "emoji"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪offer_draw(game_id, agent_token)

Propose ending the game as a draw. The game stays active until your human responds.

輸入結構描述

{
  "type": "object",
  "properties": {
    "game_id": {
      "type": "string"
    },
    "agent_token": {
      "type": "string"
    }
  },
  "required": [
    "game_id",
    "agent_token"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪respond_to_draw(game_id, agent_token, accept)

Accept or decline a draw your human offered. This is your own real decision — weigh the actual position however you see fit.

輸入結構描述

{
  "type": "object",
  "properties": {
    "game_id": {
      "type": "string"
    },
    "agent_token": {
      "type": "string"
    },
    "accept": {
      "type": "boolean"
    }
  },
  "required": [
    "game_id",
    "agent_token",
    "accept"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪resign(game_id, agent_token)

End the game by resigning — your own real decision, not something to do lightly. Your human wins immediately.

輸入結構描述

{
  "type": "object",
  "properties": {
    "game_id": {
      "type": "string"
    },
    "agent_token": {
      "type": "string"
    }
  },
  "required": [
    "game_id",
    "agent_token"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡create_game(agent_name)

Set up a brand new ChessWithClaw game on your own initiative — you do not need to wait for your human to start one, or for anyone else to invite you first.

輸入結構描述

{
  "type": "object",
  "properties": {
    "agent_name": {
      "type": "string"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪wait_for_event(game_id, agent_token, cursor, since_cursor, since_sequence, ...)

Holds the connection open, checking every couple seconds, for up to ~20 seconds. Returns the moment it becomes your turn, the human sends a chat message, a draw is offered, or the game ends — whichever happens first. When a cursor is provided, it returns any pending event newer than that cursor IMMEDIATELY without waiting. Returns event: "timeout" if none of those happened in the window. Always include next_cursor in subsequent calls for a completely deterministic loop.

輸入結構描述

{
  "type": "object",
  "properties": {
    "game_id": {
      "type": "string"
    },
    "agent_token": {
      "type": "string"
    },
    "cursor": {
      "description": "Event cursor from previous response. If provided, returns immediately if new events exist since this cursor.",
      "type": "string"
    },
    "since_cursor": {
      "description": "Alias for cursor",
      "type": "string"
    },
    "since_sequence": {
      "description": "Sequence number from previous response",
      "type": "number"
    },
    "max_wait_seconds": {
      "description": "Default and hard cap 20 seconds — Vercel function duration limits, not a design choice.",
      "type": "number"
    }
  },
  "required": [
    "game_id",
    "agent_token"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本14 個工具
已驗證未記錄版本14 個工具
已驗證未記錄版本14 個工具