Public
Like
mcp-mythic
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.
Viewing readonly version of main branch: v41View latest version
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.
| Tool | Description |
|---|---|
check_scene | Roll d10 vs Chaos Factor: Normal (as planned), Altered (with a twist), or Interrupted (different scene). Auto-rolls Event Focus on Interrupt. |
event_focus | Roll on the Event Focus table. Auto-rolls Characters/Threads list when relevant, plus a Meaning Table roll (Actions or Descriptions) for inspiration. |
roll_fate | Ask 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_chaos | Get current Chaos Factor (1-9). |
set_chaos | Set Chaos Factor to a specific value. |
adjust_chaos | Increment or decrement Chaos Factor by 1. |
characters | Manage NPCs: add, remove, list, roll. Can add same name up to 3x for weighting. |
threads | Manage plot threads: add, remove, list, roll. Can add same name up to 3x for weighting. |
meaning | Roll on any of 47 Meaning Tables for random inspiration. |
meaning_tables | List all available Meaning Tables. |
When Event Focus is rolled (via event_focus, scene Interrupt, or Fate Random Event), it automatically:
- Rolls the Event Focus table to determine what type of event occurs
- Rolls on Characters/Threads list if the focus involves NPCs or plot threads
- 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)
| Roll | Focus | Auto-rolls |
|---|---|---|
| 1-5 | Remote Event | Actions |
| 6-10 | Ambiguous Event | Actions |
| 11-20 | New NPC | Descriptions |
| 21-40 | NPC Action | Characters + Actions |
| 41-45 | NPC Negative | Characters + Actions |
| 46-50 | NPC Positive | Characters + Actions |
| 51-55 | Move Toward Thread | Threads + Actions |
| 56-65 | Move Away From Thread | Threads + Actions |
| 66-70 | Close Thread | Threads + Actions |
| 71-80 | PC Negative | Actions |
| 81-85 | PC Positive | Actions |
| 86-100 | Current Context | Actions |
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
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.
All tools require a game_id parameter. Use any unique string to identify your game session (e.g., "my-dnd-campaign", "solo-ironsworn-2024").
- Setup: Add characters and threads to your lists
- Start Scene: Call
check_sceneto see if it plays out as expected - Ask Questions: Use
roll_fatewith appropriate odds when you need the oracle - Interpret Results: Use the auto-rolled Meaning Table words to inspire what happens
- End Scene: Call
adjust_chaosbased on whether the PCs were in control (down) or not (up) - Repeat!
POST https://dcm31-mcp-mythic.web.val.run
Configure your MCP client to connect to this endpoint.