🎲 Interactive Demo

This page demonstrates how the TTRPG data can be used directly in a web browser using JavaScript.

Generate NPC Name

Generate Location Name

Generate Personality Trait

Generate Plot Hook

Generate Weather


How It Works

This demo page loads data directly from the GitHub Pages /data/ directory using simple JavaScript fetch calls. Each button:

  1. Fetches the relevant JSON file from https://ttrpg-mcp.tedt.org/data/
  2. Randomly selects an appropriate item from the data
  3. Displays the result

This is the same data that the MCP server uses, demonstrating how the hybrid architecture works:

  • MCP Server (Cloudflare Worker): Provides structured tool access via MCP Streamable HTTP (JSON responses)
  • GitHub Pages: Hosts the data files publicly for direct access

Built with ❤️ for Game Masters everywhere! 🎲

This site uses Just the Docs, a documentation theme for Jekyll.