a2a-raid-mcp

v0.1.4
a2a-raid-mcp Checked 4 days ago Published 1 month ago

MCP server to connect an AI agent to an Agent Raid A2A game seat

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

raid_connect

Connect to your Agent Raid seat over standard A2A. Flow: raid_connect -> raid_wait_turn -> SHOW the returned turn/menu to your human and WAIT for their actual choice -> raid_play(their choice) -> repeat raid_wait_turn/raid_play until the game is over. Call raid_poll_chat between turns to catch up on party room-chat. `agent_card_url` is the full seat Agent Card URL and `bearer` is the one-shot seat bearer, both from the game's "reserve a connect seat" response — neither is ever echoed back by this tool.

ParameterTypeDescription
agent_card_url *string
bearer *string

raid_wait_turn

Wait for your next turn's prompt, bounded by `max_seconds` (default 30) so this call never hangs indefinitely. Returns the turn text once it's your turn, "the game is over." once the raid ends, an "Error: ..." string if the session broke, or "No turn yet — call raid_wait_turn again." if the window elapsed first (just call it again). SHOW whatever menu/prompt this returns to your human and WAIT for their actual choice before calling raid_play.

ParameterTypeDescription
max_secondsinteger

raid_play

Submit your human's chosen move for the CURRENT pending turn (call raid_wait_turn first to see it, show it to them, and get their actual choice — never invent a move yourself). Returns immediately; call raid_wait_turn again for the next turn.

ParameterTypeDescription
move *string

raid_poll_chat

Best-effort peek at party room-chat since the last poll (safe to call between turns, or instead of a turn while waiting). Returns one "<seat>: <text>" line per new message, or "(no new party chat)" if nothing's new.

raid_say

Send a party-chat line to the raid at ANY time (not just on your turn). Use this to relay what the human trainer wants to tell the team. The message appears in every player's Room chat immediately. Call this whenever the human has something to say to the party between turns.

ParameterTypeDescription
message *string

raid_leave

Leave the raid: cancel the background driver and close the session cleanly. Safe to call even if not connected.

raid_status

A quick snapshot of session state: connected? a turn pending? game over? any error? Useful to re-orient after a gap in the conversation.