• 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: v39
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 relevant, plus a Meaning Table roll (Actions or Descriptions) for inspiration.
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.
meaningRoll on any of 47 Meaning Tables for random inspiration.
meaning_tablesList all available Meaning Tables.

Event Focus + Meaning Tables

When Event Focus is rolled (via event_focus, scene Interrupt, or Fate Random Event), it automatically:

  1. Rolls the Event Focus table to determine what type of event occurs
  2. Rolls on Characters/Threads list if the focus involves NPCs or plot threads
  3. Rolls on a Meaning Table to provide two-word inspiration:
    • New NPC β†’ Descriptions table (two adjectives describing appearance/vibe)
    • All other focuses β†’ Actions table (verb + noun combo for what happens)

Event Focus Table

RollFocusAuto-rolls
1-5Remote EventActions
6-10Ambiguous EventActions
11-20New NPCDescriptions
21-40NPC ActionCharacters + Actions
41-45NPC NegativeCharacters + Actions
46-50NPC PositiveCharacters + Actions
51-55Move Toward ThreadThreads + Actions
56-65Move Away From ThreadThreads + Actions
66-70Close ThreadThreads + Actions
71-80PC NegativeActions
81-85PC PositiveActions
86-100Current ContextActions

Example Output

PC Negative event:

πŸ’” **PC Negative**
Roll: 73

Something bad happens to your character directly.

⚑ **Action:** Befriend + Pain

Scene Interrupted with Remote Event:

⚑ **Scene Interrupted**
Roll: 7 vs Chaos 7

Completely different scene! Something else happens instead.

---

**🎲 Event Focus**
🌍 **Remote Event**
Roll: 2

Something important happens elsewhere, away from the current scene.

⚑ **Action:** Usurp + Disadvantage

Meaning Tables

The meaning tool lets you roll on any of 47 thematic tables for inspiration:

  • Core: actions, descriptions
  • Character: character_actions_general, character_actions_combat, character_appearance, character_background, character_conversations, character_descriptors, character_identity, character_motivations, character_personality, character_skills, character_traits_flaws, characters
  • Location: locations, city_descriptors, cavern_descriptors, domicile_descriptors, dungeon_descriptors, forest_descriptors, terrain_descriptors
  • Creatures: creature_abilities, creature_descriptors, animal_actions, alien_species_descriptors, undead_descriptors
  • Story: plot_twists, adventure_tone, cryptic_message, legends, visions_dreams
  • Fantasy: gods, curses, magic_item_descriptors, powers, spell_effects, noble_house
  • Objects: objects, scavenging_results, dungeon_traps
  • Senses: smells, sounds
  • Sci-Fi: starship_descriptors, mutation_descriptors, army_descriptors, civilization_descriptors
  • Misc: names

Use meaning_tables to see the full list with entry counts.

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. Interpret Results: Use the auto-rolled Meaning Table words to inspire what happens
  5. End Scene: Call adjust_chaos based on whether the PCs were in control (down) or not (up)
  6. Repeat!

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.