JI

Jupiter Industries

Industrial Solutions & Advanced Technologies for 2d6 sci-fi tabletop roleplaying campaigns. A comprehensive 2d6 TTRPG companion — built for game masters running sci-fi campaigns.

AI-Powered TTRPG

2d6 MCP Server

A system-agnostic Model Context Protocol server that brings 2d6 dice mechanics, rules lookup, and character parsing directly into your AI-powered TTRPG workflow.

🎲

Dice Engine

2d6, d66, and custom notation with effect margins

📖

Rules Database

Cepheus Engine SRD by Samardan Press under OGL 1.0a

📁

BYOD Indexing

Ingest your own PDF, text, and markdown files

🔍

Table Lookup

Reaction, encounter, and patron tables

Installation

1

Clone the repository

git clone https://github.com/crowterliam/2d6mcp.git
2

Install dependencies & build

cd 2d6mcp && npm install && npm run build
3

Configure your MCP client

Add the server to your MCP client configuration. Works with Claude Desktop, Cline, Continue, and any other MCP-compatible client.

{
  "mcpServers": {
    "2d6mcp": {
      "command": "node",
      "args": ["/path/to/2d6mcp/dist/index.js"],
      "env": {
        "AGREE_NON_COMMERCIAL_USE": "true",
        "BYOD_PATH": "/path/to/your/rpg/files"
      }
    }
  }
}
4

Add your own rulebooks (BYOD)

Set BYOD_PATH to a directory containing your TTRPG PDFs, text files, or markdown. The server indexes them locally for AI-assisted rules lookup. Supports PDF, TXT, and MD formats.

export BYOD_PATH="/Users/you/Documents/ttrpg-books"
View on GitHubOffline-first · No network calls · No telemetry

Rules database powered by the Cepheus Engine SRD © 2016 Samardan Press (Jason "Flynn" Kemp), used under OGL 1.0a. Neither the 2d6mcp server nor Jupiter Industries is affiliated with Samardan Press.

Platform

Built for Game Masters

Every tool is built around the 2d6 resolution system. Draggable, resizable windows let you arrange your workspace exactly how you need it.

  • Multi-window draggable interface
  • Light and dark adaptive themes
  • 2d6 dice resolution engine with effect margins
  • Offline-capable with localStorage persistence
  • Modular d66 table system for encounters
JI