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: v26View 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 the focus involves NPCs or plot threads. |
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. |
When a scene is Interrupted or a Fate roll triggers a Random Event, the Event Focus table determines what happens:
| Roll | Focus | Auto-rolls |
|---|---|---|
| 1-5 | Remote Event | — |
| 6-10 | Ambiguous Event | — |
| 11-20 | New NPC | — |
| 21-40 | NPC Action | Characters list |
| 41-45 | NPC Negative | Characters list |
| 46-50 | NPC Positive | Characters list |
| 51-55 | Move Toward Thread | Threads list |
| 56-65 | Move Away From Thread | Threads list |
| 66-70 | Close Thread | Threads list |
| 71-80 | PC Negative | — |
| 81-85 | PC Positive | — |
| 86-100 | Current Context | — |
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 - End Scene: Call
adjust_chaosbased on whether the PCs were in control (down) or not (up) - Repeat!
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)
POST https://dcm31-mcp-mythic.web.val.run
Configure your MCP client to connect to this endpoint.