Two Truths and a Twist logo

Two Truths and a Twist

Organization
ErgodicLabs

Two Truths and a Twist: The world's first Model Context Protocol game

PublisherErgodicLabs
RepositoryTwoTruthsAndATwist
LanguagePython
Forks
4
Stars
5
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Two Truths and a Twist exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    5 stars and 4 forks from the linked repository.

TwoTruthsAndATwist

Two Truths and a Twist: The world's first Model Context Protocol (MCP) game

smithery badge

Game design document

Installation

Installing via Smithery

To install twotruthsandatwist for Claude Desktop automatically via Smithery:

bash
npx -y @smithery/cli install @ErgodicLabs/twotruthsandatwist --client claude

Requirements

  • Python 3.13 or higher
  • MCP-compatible LLM (like Claude 3)

You can install the game directly from PyPI:

bash
pip install ttaat

Or if you prefer using uv:

bash
uv pip install ttaat

Usage

Initialize the Database

First, initialize the game database:

bash
ttaat db upgrade

Start the Game Server

To start the MCP server:

bash
ttaat serve

This will start the Two Truths and a Twist MCP server, which LLMs can connect to for playing the game.

View Game Statistics

To see game statistics:

bash
ttaat db stats

Connecting to the Server

To connect an MCP-compatible LLM to the game server, you'll need to configure the MCP connection. Create a configuration file (e.g., claude_desktop_config.json) with the following content:

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

For Claude Desktop, place this file in:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Game Mechanics

Two Truths and a Twist is a trivia game where:

  1. The AI creates a round with three statements about a topic - two truths and one "twist" (a playful, false statement)
  2. Players try to identify which statement is the twist
  3. The AI reveals the answer with entertaining explanations

The game leverages the MCP protocol to provide a fun, interactive trivia experience where AI models both generate the content and facilitate gameplay.

Example Prompts

Once connected to an MCP-enabled LLM, you can start a game with prompts like:

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

For Developers

This package implements an MCP server that provides custom game tools:

  • create_round: Creates a new game round with a question and three statements
  • submit_guess: Lets players submit their guess for which statement is the twist
  • reveal_twist: Reveals the answer with explanations for each statement
  • get_round: Retrieves details for a specific round
  • get_last_round: Gets details of the most recent round
  • get_stats: Retrieves game statistics

Installation

TypingMind
Prerequisites:

Node.js 18+

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

Use Two Truths and a Twist MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Two Truths and a Twist is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Two Truths and a Twist as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Two Truths and a Twist MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "two-truths-and-a-twist": {
      "command": "npx",
      "args": [
        "-y",
        "ttaat"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Two Truths and a Twist MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Two Truths and a Twist MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Two Truths and a Twist to help me with this task?
Two Truths and a Twist
Sure. I read it.
Here is what I found using Two Truths and a Twist.

Frequently asked questions

What is the Two Truths and a Twist MCP server used for?

Two Truths and a Twist is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Two Truths and a Twist MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Two Truths and a Twist with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Two Truths and a Twist MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Two Truths and a Twist connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Two Truths and a Twist MCP to TypingMind?

Two Truths and a Twist runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Two Truths and a Twist MCP provide in TypingMind?

Two Truths and a Twist exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Two Truths and a Twist MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Two Truths and a Twist requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇