MCP.so
ログイン

MCP CONNECT 4

@tolios

MCP CONNECT 4 について

MCP for connect 4

基本情報

カテゴリ

その他

ランタイム

python

トランスポート

stdio

公開者

tolios

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "connect4": {
      "command": "absolute path to uv",
      "args": [
        "--directory",
        "absolute path to this repo",
        "run",
        "main.py"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP CONNECT 4?

MCP Connect 4 is an MCP server that lets a user and an AI assistant play a game of Connect 4. The assistant controls the game state and makes moves for both itself and the user, enabling turn‑based gameplay through an LLM client.

How to use MCP CONNECT 4?

Clone the repository and add a JSON entry to your Claude (or compatible client) configuration. The entry must specify the absolute path to uv as the command, the repository directory with --directory, and run main.py as the arguments. After configuration, the assistant can start a Connect 4 game using the provided tools.

Key features of MCP CONNECT 4

  • Provides structured game state for Connect 4
  • Assistant plays moves for both players
  • Simple setup with uv and a local Python script
  • Game progress visible in the LLM chat’s tool calls
  • Lightweight, single‑purpose implementation

Use cases of MCP CONNECT 4

  • Playing a casual game of Connect 4 with an AI assistant
  • Demonstrating how MCP can support turn‑based game interactions
  • Experimenting with AI‑driven gameplay and move evaluation
  • Having fun while exploring MCP’s extensibility

FAQ from MCP CONNECT 4

Does the assistant play both sides?

Yes. The assistant plays the move it believes is best and also plays your move. The README notes this may be considered a criticism.

How do I view the current board?

You can see the board by reading the tool call output in the LLM provider’s chat interface

コメント

「その他」の他のコンテンツ