プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説 ログイン

Bot Arena

作者:ai-automation-toolsバージョン 0.2.1i★ 0iパソコンで動く公式サイト ↗
レジストリ名io.github.ai-automation-tools/bot-arena

インストール方法

できること

A local arena where AI agents play rule-checked chess, tic-tac-toe and Connect Four.

作者による原文

  • 接続方法 パソコンで動く
  • アカウントまたはキー キー不要
  • カテゴリ ゲーム・スポーツ・料理・学習

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気0/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア12/100

品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

Bot Arena をインストールして。https://mcp.popnx.com/i/ai-automation-tools-bot-arena.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月19日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server Bot Arena を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "bot-arena": { "command": "npx", "args": [ "-y", "@ai-automation-tools/bot-arena", "--port", "9002" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Bot Arena のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "bot-arena": {
          "command": "npx",
          "args": [
            "-y",
            "@ai-automation-tools/bot-arena",
            "--port",
            "9002"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    Bot Arena を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Bot Arena を使っていると言うか、回答に Bot Arena のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Bot Arena につなげません

Bot Arena はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · Bot Arena につなげるアプリを使う

  • 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)

B · ゲーム・スポーツ・料理・学習 の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server Bot Arena を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user bot-arena -- npx -y @ai-automation-tools/bot-arena --port 9002 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Bot Arena のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user bot-arena -- npx -y @ai-automation-tools/bot-arena --port 9002
  4. Claude Code で /mcp と入力

    Bot Arena が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    Bot Arena を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Bot Arena を使っていると言うか、回答に Bot Arena のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server Bot Arena を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "bot-arena": { "command": "npx", "args": [ "-y", "@ai-automation-tools/bot-arena", "--port", "9002" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Bot Arena のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    Bot Arena を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Bot Arena を使っていると言うか、回答に Bot Arena のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server Bot Arena を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "bot-arena": { "type": "stdio", "command": "npx", "args": [ "-y", "@ai-automation-tools/bot-arena", "--port", "9002" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Bot Arena のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    Bot Arena を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Bot Arena を使っていると言うか、回答に Bot Arena のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?Bot Arena を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user bot-arena -- npx -y @ai-automation-tools/bot-arena --port 9002

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "bot-arena": {
      "command": "npx",
      "args": [
        "-y",
        "@ai-automation-tools/bot-arena",
        "--port",
        "9002"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "bot-arena": {
      "command": "npx",
      "args": [
        "-y",
        "@ai-automation-tools/bot-arena",
        "--port",
        "9002"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "bot-arena": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ai-automation-tools/bot-arena",
        "--port",
        "9002"
      ]
    }
  }
}

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
npm/PyPIにない
接続方法
パソコンで動く
トランスポート
streamable-http
最新バージョンi
0.2.1
レジストリ公開日i
2026年11月19日
コードの最終更新i
2026年11月19日
作者
ai-automation-tools
パッケージ
npm: @ai-automation-tools/bot-arena
oci: ghcr.io/ai-automation-tools/bot-arena:0.2.1
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月20日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント ai-automation-tools で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:昨日

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

公開済みの脆弱性(OSV.dev)

まだ確認していません

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/ai-automation-tools-bot-arena.svg)](https://mcp.popnx.com/en/servers/ai-automation-tools-bot-arena)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

ゲーム・スポーツ・料理・学習のほかのサーバーとの比較i

  • このカテゴリのほかの1683件のうち0%よりスターが多い
  • このカテゴリのほかの1683件のうち93%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1683件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Bot Arenaは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は昨日、最新バージョン(0.2.1)がレジストリに届いたのは昨日です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.js, Dockerも必要です。

代わりに使えるものは?

同じカテゴリには:LearnHouse, Anime Garden, WilmAI, Lumify Sports Intelligence, Savecraft

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

LearnHouse

Build, edit and run courses, learning paths and communities in your LearnHouse academy.

作者:learnhouse広く使われている★ 2482昨日更新

クラウドで動く✓ 提供元 · learnhouse.app

WilmAI

Finland's Wilma school system for parents and students: schedule, homework, exams and messages.

作者:aikarjal成長中↓ 1399/週★ 89 リポジトリ全体のスター11 日前更新

パソコンで動く✓ 提供元 · wilm.ai

Savecraft

Savecraft serves real save game data and expert game knowledge to AI assistants.

作者:joshsymonds初期★ 137 か月前更新

クラウドで動くリポジトリはアーカイブ済み✓ 提供元 · savecraft.gg
似たものと比べる
これ
Bot Arena
LearnHouseAnime GardenWilmAILumify Sports IntelligenceSavecraft
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえはいいいえ
Claude で + から追加いいえいいえいいえいいえいいえいいえ
基本チェック3/35/54/43/34/43/4
ライセンスMITAGPL-3.0AGPL-3.0MITMITApache-2.0
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Bot Arena

A local arena where your own AI agents play each other in rule-checked chess, Connect Four and tic-tac-toe. Connect them over MCP, a REST API, a webhook, or as JavaScript, then watch and scrub every game.

Run it locally » · Connect an agent » · Watch a replay »


Bot Arena is a web app you run on your own machine. Pick a game, put an agent in each seat, and the arena referees it: legal moves only, a clock per move, and a forfeit for running out of time or crashing. Every game is saved and replays move by move.

GameRules the arena enforcesGood for
ChessFull rules: checkmate, stalemate, repetition, the fifty-move rule, insufficient materialA real test of an agent's reasoning
Connect FourFour in a row across, up or diagonally wins, a full board drawsA step up: traps two moves deep, against a bot that looks 8 plies ahead
Tic-tac-toeThree in a row wins, a full board drawsWiring up and testing an agent in seconds
  • Your agents, any way you like. An MCP client (Claude Code, Cursor, your own), a script in any language over REST, an HTTP server the arena calls each turn, or a JavaScript function you paste in.
  • Agent against agent, or against the house. Built-in bots give your agent something to beat: a random mover in every game, two search engines each in chess and Connect Four, and a perfect minimax in tic-tac-toe.
  • Teach your agent in one line. npx skills add ai-automation-tools/bot-arena installs a skill with the whole play loop into Claude Code, Codex, Cursor and more.
  • Nothing to sign up for. No accounts, keys or database. Games are JSON files on disk (~/.bot-arena with npx, .arena/ in a clone): a game in progress picks up where it left off after a restart, and every finished one has a match report with each seat's move times, timeouts and rejected moves.

[!NOTE]

The live demo is a static build: it replays games the

house bots played, and you can play tic-tac-toe against the house bots

in your browser. To play your own agents, run the arena yourself.

🚀 Run it locally

Needs Node.js 20 or newer. The quickest start, no clone:

npx @ai-automation-tools/bot-arena     # http://localhost:9002; games are saved in ~/.bot-arena

--port and --data change those; npx @ai-automation-tools/bot-arena --help lists the options. To work on the code instead, clone it:

git clone https://github.com/ai-automation-tools/bot-arena.git

cd bot-arena npm ci npm run dev # http://localhost:9002 (or: npm run build && npm start)

Then open New Match, pick a game, set a seat to Agent (MCP or REST), and start. The page gives that seat a token and the exact commands to connect. For Claude Code:

claude mcp add --transport http bot-arena http://localhost:9002/api/mcp

and ask it to *"use the bot-arena tools to play match with seat token "*. With the skill installed, *"play tic-tac-toe in bot arena against the house bot"* is enough: the agent starts the match itself. Ready-made example agents (Python over REST, a Node webhook, a Claude Code command) are a good start for your own. The connection guide covers every client, the REST API, webhooks, code bots, the turn object and the error codes.

You want toPut in the seat
Play an MCP agentAgent, then connect it to /api/mcp
Play a script or service in any languageAgent, then long-poll /api/matches/:id/turn and POST /api/matches/:id/move
Have the arena call your agent's HTTP endpointWebhook with its URL
Try a quick idea in JavaScriptCode bot: paste a function; chess.js is available
Play it yourselfThe Play Tic-Tac-Toe page, against a house bot
Give your agent an opponentHouse bot: Strong Engine, Search Engine or Random Mover in chess; Deep Minimax, Minimax or Random Mover in Connect Four; Minimax or Random Mover in tic-tac-toe
🐳 With Docker
docker compose up -d     # builds the image, serves http://localhost:9002

Or run the published image without cloning (it's also how the MCP registry lists Bot Arena):

docker run -d -p 127.0.0.1:9002:9002 -v bot-arena-data:/data ghcr.io/ai-automation-tools/bot-arena

Games live in the arena-data volume, so they survive docker compose down and upgrades (docker compose down -v deletes them). The port is published on 127.0.0.1 only; ARENA_PORT=9100 docker compose up -d moves it. A webhook agent running on your machine is http://host.docker.internal: /... from inside the container (on Linux, start the example webhook with HOST=0.0.0.0).

🔒 Running it safely

The arena runs your agents and plays moves without asking anyone to log in. That's right for a tool on your own machine, and it's why the server only answers this machine:

  • npx @ai-automation-tools/bot-arena, npm run dev and npm start listen on 127.0.0.1, not your network.
  • Every API and MCP request must name localhost or 127.0.0.1 as its host, and a browser request from another site is refused. That stops a web page you visit from reaching the arena through your browser (DNS rebinding and cross-site requests).
  • Code bots run with full access, the same as any script you run yourself. Only paste code you trust.

To use it from other machines (a home server, a shared box, a container on another host):

  1. Set an access key: ARENA_API_KEY=$(openssl rand -hex 24) in .env.local or the compose environment. Every page and API call then needs it. Agents send it as the X-Arena-Key header (the seat token stays the Bearer), and a browser enters it once at /unlock. The Connect page's snippets add the header for you.
  2. List the host names people will use in ARENA_ALLOWED_HOSTS, and listen on the network (-H 0.0.0.0, or change the compose port mapping). Those names only work with a key: with ARENA_ALLOWED_HOSTS set and no ARENA_API_KEY, the arena still refuses them (HOST_NOT_ALLOWED) and logs why on the first API call.
  3. Serve it over HTTPS (a reverse proxy, or a private network like Tailscale) so the key isn't sent in the clear.

📦 What's in here

FolderWhat's in it
📚 docs/The connection guide, roadmap, changelog, and the history of the rebuild
🧩 src/The Next.js app: pages and the API in app/, the arena (seats, agents, the match loop, the game registry in games.ts) in lib/arena/, each game's rules in lib/protocols/, UI in components/
🎓 skills/The bot-arena agent skill: how to connect, start a match, play the loop and play well
🤖 examples/Example agents: Python over REST, a Node webhook, and a Claude Code command over MCP
🛠️ scripts/generate-demo-matches.ts rewrites the demo-match fixtures; build-pages.mjs builds the static demo; examples-test.mjs plays the example agents (npm run examples:test); pack-externals.mjs runs when the npm package is packed
📦 bin/, server.jsonThe launcher behind npx @ai-automation-tools/bot-arena, and the MCP registry entry (npm package and Docker image)
🐳 Dockerfile, compose.yamlThe container image (Next standalone output, games in /data) and the one-command setup
⚙️ .github/workflows/ci.yml (lint, types, build, tests, the example agents, the npm package and a Docker build on every PR), pages.yml (builds the demo on every PR, deploys it from main) and release.yml (on a v* tag: the GHCR image, the npm package and the MCP registry entry)
🧪 src/\_\_tests\_\_/The request-guard test (proxy.test.ts); every other test sits beside the code it tests

🛠️ Develop

npm run lint && npx tsc --noEmit && npx jest --ci && npx next build   # what CI runs

npm run demo:matches # replay the house-bot demo matches into src/data/demo-matches/ npm run build:pages # static export of the replay demo into out/

🔁 How work lands

Changes ship through pull requests into main. A weekly roadmap routine takes the next open item from the roadmap, builds it on a roadmap/auto- branch and opens a PR; the org PR sweep reviews and merges those. The Pages workflow rebuilds the replay demo from main. A release is a version bump in package.json and server.json, then a vX.Y.Z tag: release.yml publishes the Docker image, the npm package (trusted publishing, no token) and the MCP registry entry.

( back to top )


Part of ai-automation-tools.dev · Roadmap · Changelog