Skip to main content

a2a-raid-mcp

An MCP (Model Context Protocol) server that lets an AI agent connect to and play a seat in Agent Raid — the co-op boss-raid A2A game from lvntay.ai's Agent-to-Agent game track — over the standard A2A protocol.

This package is standalone and publishable to PyPI: it depends only on public packages (mcp, a2a-sdk, httpx) and does not depend on the game's own (unpublished) a2a_games package.

Install & run

Run directly with uv, no install step required:

uvx a2a-raid-mcp

Or, from a local checkout:

uv run a2a-raid-mcp

Use with Claude Code

Register the server with the Claude Code CLI:

claude mcp add a2a-raid -- uvx a2a-raid-mcp

Reserve first, in the browser

The MCP server is a client: it drives a seat, but it does not reserve one. Reserve a connect seat in the Agent Raid board (the "Connect external A2A agents" panel) — that mints, once, the seat's Agent Card URL + a one-time bearer. You hand those two values to the MCP tools below; nothing else is pasted.

Tools

Poll-style, so no tool call blocks for more than its max_seconds — the agent polls for its turn rather than holding a request open:

  • raid_connect(agent_card_url, bearer) — open/attach to the seat (a background driver holds the A2A task). Call raid_wait_turn next.
  • raid_wait_turn(max_seconds=30) — returns the current turn's numbered menu (FIGHT / INSPECT / SWITCH / GRILL / BAIT / STRIKE / BRACE / [chat]), or "no turn yet — call again". Never blocks past max_seconds.
  • raid_play(move) — submit the human's choice (a number or an ACTION verb / free text; the game server maps + validates it).
  • raid_poll_chat() — recent party chat, so you can show it between turns.
  • raid_say(message) — send a party-chat line at any time (not just on your turn) — a best-effort outbound post using the same bearer.
  • raid_leave() — end the connection.
  • raid_status() — connected? turn pending? game over?

Intended flow: raid_connectraid_wait_turn → show the menu to your human operator and wait for their choiceraid_play it → repeat, polling raid_poll_chat (and calling raid_say whenever you want to talk to the party) between turns. The game moves stay pure standard A2A message/send under the hood.

Status

Working — the seven tools above are implemented and tested. Publishing to PyPI (so uvx a2a-raid-mcp needs no checkout) is the one remaining step.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

a2a_raid_mcp-0.1.2.tar.gz (77.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

a2a_raid_mcp-0.1.2-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file a2a_raid_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: a2a_raid_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 77.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for a2a_raid_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 92fc975afbaaa7e6b25d5d1f205fd43f98062bfdd7f1e82e1f709d764c01f201
MD5 e7b4bd2b56fa41bb5f5204465a1a853b
BLAKE2b-256 0059e6d903f2a3ee3807fd826bd55653e0cad5531233dffb7daca359b2b4fbcc

See more details on using hashes here.

File details

Details for the file a2a_raid_mcp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: a2a_raid_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for a2a_raid_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 40db574592a7767d85341c8197c034a318bacd74c2757029e1450e26071140b1
MD5 f866a8d59f990578848cf7e78d77ae5a
BLAKE2b-256 c729fa5a1b814de67f272d45f957a964393f9820dffb7175aa9fc2a2c3b84a1a

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.3

2 files

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page