Skip to main content
Glama

Two Truths and a Twist

by ErgodicLabs

二つの真実とひねり

二つの真実と一つのひねり:世界初のモデルコンテキストプロトコル(MCP)ゲーム

ゲームデザインドキュメント

インストール

要件

  • Python 3.13以上
  • MCP互換のLLM(Claude 3など)

PyPI から直接ゲームをインストールできます。

pip install ttaat

または、 uvを使いたい場合:

uv pip install ttaat

使用法

データベースを初期化する

まず、ゲーム データベースを初期化します。

ttaat db upgrade

ゲームサーバーを起動する

MCP サーバーを起動するには:

ttaat serve

これにより、Two Truths and a Twist MCP サーバーが起動し、LLM がゲームをプレイするために接続できるようになります。

ゲーム統計を見る

ゲームの統計情報を表示するには:

ttaat db stats

サーバーへの接続

MCP対応LLMをゲームサーバーに接続するには、MCP接続を設定する必要があります。以下の内容を含む設定ファイル(例: claude_desktop_config.json )を作成してください。

{ "mcpServers": { "TwoTruthsAndATwist": { "command": "ttaat", "args": ["serve"] } } }

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」は次のようなクイズゲームです。

  1. AI は、トピックに関する 3 つのステートメント(2 つの真実と 1 つの「ひねり」(遊び心のある誤ったステートメント))を含むラウンドを作成します。
  2. プレイヤーはどの文がひねりなのかを判定する
  3. AIが面白い説明とともに答えを明らかにする

このゲームは MCP プロトコルを活用して、AI モデルがコンテンツを生成し、ゲームプレイを促進する、楽しくインタラクティブなクイズ体験を提供します。

プロンプトの例

MCP 対応の LLM に接続すると、次のようなプロンプトが表示されてゲームを開始できます。

Let's play Two Truths and a Twist! Create a round about space exploration.
Create a game round about ancient civilizations.

開発者向け

このパッケージは、カスタム ゲーム ツールを提供する MCP サーバーを実装します。

  • create_round : 質問と3つのステートメントを含む新しいゲームラウンドを作成します
  • submit_guess : プレイヤーがどの文がひねりなのか推測して投稿できるようにします
  • reveal_twist : 各ステートメントの説明とともに答えを表示します
  • get_round : 特定のラウンドの詳細を取得します
  • get_last_round : 最新のラウンドの詳細を取得します
  • get_stats : ゲームの統計情報を取得します
-
security - not tested
A
license - permissive license
-
quality - not tested

MCP ベースのクイズ ゲーム サーバーで、AI がさまざまなトピックについて 2 つの正しいステートメントと 1 つの誤った「ひねり」を含むラウンドを作成し、プレイヤーにどのステートメントが誤りかを推測させます。

  1. インストール
    1. 要件
  2. 使用法
    1. データベースを初期化する
    2. ゲームサーバーを起動する
    3. ゲーム統計を見る
  3. サーバーへの接続
    1. ゲームの仕組み
      1. プロンプトの例
        1. 開発者向け

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            This MCP server performs multi-topic searches in business, news, finance, and politics using the Tavily API, providing high-quality sources and intelligent summaries.
            Last updated -
            1
            1
            Python
            MIT License
            • Apple
            • Linux
          • A
            security
            A
            license
            A
            quality
            This is a MCP server that implements an unreasonable thinking system. It helps generate unconventional solutions: Generating unreasonable thoughts that challenge conventional wisdom. Creating branches of thinking in different directions
            Last updated -
            3
            17
            JavaScript
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            An MCP server that enables coordination of agents through shared finite state machines (puzzles) where clients can create, monitor, and trigger state transitions of stateful resources.
            Last updated -
            17
            TypeScript
            MIT License
          • -
            security
            F
            license
            -
            quality
            An advanced MCP server that implements sophisticated sequential thinking using a coordinated team of specialized AI agents (Planner, Researcher, Analyzer, Critic, Synthesizer) to deeply analyze problems and provide high-quality, structured reasoning.
            Last updated -
            224
            Python
            • Linux
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/ErgodicLabs/TwoTruthsAndATwist'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server