• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
dcm31

dcm31

mcp-mythic

Mythic GME MCP - Fate Chart roller and Chaos Factor tracker
Public
Like
mcp-mythic
Home
Code
4
README.md
H
main.ts
setup-meaning-tables.ts
test.ts
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
…
Viewing readonly version of main branch: v33
View latest version
README.md

Mythic GME MCP Server

A Mythic Game Master Emulator 2nd Edition implementation for solo/GM-less RPGs, exposed as an MCP server.

Multi-tenant: Supply a game_id to namespace your game's state. Each game has its own Chaos Factor, Characters list, and Threads list.

Tools

ToolDescription
check_sceneRoll d10 vs Chaos Factor: Normal (as planned), Altered (with a twist), or Interrupted (different scene). Auto-rolls Event Focus on Interrupt.
event_focusRoll on the Event Focus table. Auto-rolls Characters/Threads list when the focus involves NPCs or plot threads.
roll_fateAsk the oracle a yes/no question. Returns Yes/No (possibly Exceptional) based on odds and Chaos Factor. Auto-rolls Event Focus on Random Event (doubles).
get_chaosGet current Chaos Factor (1-9).
set_chaosSet Chaos Factor to a specific value.
adjust_chaosIncrement or decrement Chaos Factor by 1.
charactersManage NPCs: add, remove, list, roll. Can add same name up to 3x for weighting.
threadsManage plot threads: add, remove, list, roll. Can add same name up to 3x for weighting.

Event Focus Table

When a scene is Interrupted or a Fate roll triggers a Random Event, the Event Focus table determines what happens:

RollFocusAuto-rolls
1-5Remote Event—
6-10Ambiguous Event—
11-20New NPC—
21-40NPC ActionCharacters list
41-45NPC NegativeCharacters list
46-50NPC PositiveCharacters list
51-55Move Toward ThreadThreads list
56-65Move Away From ThreadThreads list
66-70Close ThreadThreads list
71-80PC Negative—
81-85PC Positive—
86-100Current Context—

Usage

All tools require a game_id parameter. Use any unique string to identify your game session (e.g., "my-dnd-campaign", "solo-ironsworn-2024").

Example Flow

  1. Setup: Add characters and threads to your lists
  2. Start Scene: Call check_scene to see if it plays out as expected
  3. Ask Questions: Use roll_fate with appropriate odds when you need the oracle
  4. End Scene: Call adjust_chaos based on whether the PCs were in control (down) or not (up)
  5. Repeat!

Example Output

Scene Interrupted with NPC Action:

⚡ **Scene Interrupted**
Roll: 5 vs Chaos 9

Completely different scene! Something else happens instead.

---

**🎲 Event Focus**
🎭 **NPC Action**
Roll: 32

An existing NPC does something significant.

🎯 Character: **Princess Aria** (slot 2)

MCP Endpoint

POST https://dcm31-mcp-mythic.web.val.run

Configure your MCP client to connect to this endpoint.

FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.