二つの真実とひねり
二つの真実と一つのひねり:世界初のモデルコンテキストプロトコル(MCP)ゲーム
インストール
要件
- Python 3.13以上
- MCP互換のLLM(Claude 3など)
PyPI から直接ゲームをインストールできます。
または、 uv
を使いたい場合:
使用法
データベースを初期化する
まず、ゲーム データベースを初期化します。
ゲームサーバーを起動する
MCP サーバーを起動するには:
これにより、Two Truths and a Twist MCP サーバーが起動し、LLM がゲームをプレイするために接続できるようになります。
ゲーム統計を見る
ゲームの統計情報を表示するには:
サーバーへの接続
MCP対応LLMをゲームサーバーに接続するには、MCP接続を設定する必要があります。以下の内容を含む設定ファイル(例: claude_desktop_config.json
)を作成してください。
Claude Desktop の場合、このファイルを次の場所に配置します。
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- Linux:
~/.config/Claude/claude_desktop_config.json
ゲームの仕組み
「Two Truths and a Twist」は次のようなクイズゲームです。
- AI は、トピックに関する 3 つのステートメント(2 つの真実と 1 つの「ひねり」(遊び心のある誤ったステートメント))を含むラウンドを作成します。
- プレイヤーはどの文がひねりなのかを判定する
- AIが面白い説明とともに答えを明らかにする
このゲームは MCP プロトコルを活用して、AI モデルがコンテンツを生成し、ゲームプレイを促進する、楽しくインタラクティブなクイズ体験を提供します。
プロンプトの例
MCP 対応の LLM に接続すると、次のようなプロンプトが表示されてゲームを開始できます。
開発者向け
このパッケージは、カスタム ゲーム ツールを提供する MCP サーバーを実装します。
create_round
: 質問と3つのステートメントを含む新しいゲームラウンドを作成しますsubmit_guess
: プレイヤーがどの文がひねりなのか推測して投稿できるようにしますreveal_twist
: 各ステートメントの説明とともに答えを表示しますget_round
: 特定のラウンドの詳細を取得しますget_last_round
: 最新のラウンドの詳細を取得しますget_stats
: ゲームの統計情報を取得します
This server cannot be installed
MCP ベースのクイズ ゲーム サーバーで、AI がさまざまなトピックについて 2 つの正しいステートメントと 1 つの誤った「ひねり」を含むラウンドを作成し、プレイヤーにどのステートメントが誤りかを推測させます。
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server that lets AI assistants interact with your Lunchmoney data, enabling natural language queries about transactions, budgets, and spending patterns.Last updated -438TypeScriptMIT License
- -securityAlicense-qualityAn MCP server that generates 2D and 3D game assets from text prompts using AI models from Hugging Face Spaces, allowing developers to easily create game art through Claude Desktop or other MCP clients.Last updated -34JavaScriptMIT License
- -securityFlicense-qualityAn MCP server that enables AI agents like Claude to play Minesweeper through natural language interaction, connecting to a separate Minesweeper game server.Last updated -80JavaScript
- -securityAlicense-qualityAn MCP server that helps AI assistants access text content from websites that implement bot detection, bridging the gap between what you can see in your browser and what the AI can access.Last updated -1PythonApache 2.0