theEngine speaks native Model Context Protocol (MCP) so AI Game Masters, IDE agents, and autonomous aiPC squad companions never hallucinate d100 math, armor soak, or anatomical trauma tables. Try the instant, zero-auth Carakuss Dawn public endpoint right now, or run the full 23-tool mcp-combat server locally.
Try the Free Public MCP Demo: Carakuss Dawn
Connect any AI client to https://genesisrpg.com/mcp to run deterministic d100 combat from Carakuss Dawn (The Rising Sun epilogue) — or test a live server turn right here in your browser with zero setup.
https://genesisrpg.com/mcp
Inspect Deterministic mathAudit & Raw MCP JSON
See Why AI Game Masters Need Deterministic Math
Pre-dawn mist hangs at 8°C over Carakuss as Vaughn sights her Fusion Rifle 5.5m from Nixole’s thermal camp. Your AI GM sets the scene — then hands the dice math to https://genesisrpg.com/mcp instead of guessing percentages.
mathAudit Returned by theEngine61Marksmanship →78% - 15% = 63%Net To-Hit (Tables#3.1.2)- Roll
35Placed Hit → Right Shoulder:27 DP / 22 DP = 123%(Disabled) - Table
#3.3.1Organ Trauma:308%circulatory,246%respiratory,185%nervous
2-Step Client Setup & Starter Prompt
Choose your AI client below, copy the config, then paste the Starter Prompt to launch the ambush at Procedure Level 3 (you can step down live to Procedure 1 or 2 mid-fight):
{
"mcpServers": {
"theEngine-carakuss-demo": {
"url": "https://genesisrpg.com/mcp"
}
}
}
gemini mcp add --scope user --transport http theEngine-carakuss https://genesisrpg.com/mcp
claude mcp add --transport http theEngine-carakuss https://genesisrpg.com/mcp
{
"mcpServers": {
"theEngine-carakuss-demo": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://genesisrpg.com/mcp"]
}
}
}
{
"mcpServers": {
"theEngine-carakuss-demo": {
"url": "https://genesisrpg.com/mcp"
}
}
}
{
"mcpServers": {
"theEngine-carakuss-demo": {
"type": "streamable-http",
"url": "https://genesisrpg.com/mcp"
}
}
}
Use theEngine-carakuss-demo (prompt: play_carakuss_dawn) to run the Carakuss Dawn ambush with me playing Nixole at Procedure Level 3. Start the encounter, show the tactical situation at 5.5m range, and ask whether I want to roll physical d100 dice or let theEngine roll!
Google Antigravity & Gemini Notes: In Google Antigravity, you can also inspect or add servers via Additional Options (...) → MCP Servers. If editing ~/.gemini/settings.json manually for Gemini CLI, use "httpUrl": "https://genesisrpg.com/mcp" (rather than "url") and run /mcp to verify. Consumer gemini.google.com web chat does not attach custom MCP URLs directly—use Google Antigravity, Gemini CLI, or the Google GenAI SDK (@google/genai).
Public Demo Surface (theEngine-carakuss-demo)
carakuss_start_encounter— Initialize the pre-built 3-combatant Carakuss Dawn encounter (playerRole: "nixole" | "vaughn" | "ktchk",procedureLevel: 1 | 2 | 3,mode: "live_dice" | "rulebook_benchmark") and receive your initial HMAC-signedstateToken.carakuss_resolve_surprise_and_initiative— Execute Step 1 Surprise (including sleeping Aracnian K’tchk’s81%wake threshold fromPR: 172) and Step 2 Primary Attack / Initiative (>30margin lockouts in Procedure 3).carakuss_execute_action— Spend Action Points on attacks, movement, cover, stance changes, triage (including the Human/Eebek Grim Reaper xenobiology gate vs. the camp ship’s Low Kaa-calibrated medical unit), and turn progression. Reproduces 100% of the printed rulebook benchmark (61Marksmanship →78% - 15% = 63%Net To-Hit → roll35Placed Hit on Right Shoulder →27 DP/22 DP = 123%→ Table#3.3.1Organ Systems308%circulatory,246%respiratory,185%nervous/endocrine,123%digestive/excretory).carakuss_switch_procedure— Switch live mid-encounter between Procedure 1 (Narrative Quick), Procedure 2 (Standard Tactical), and Procedure 3 (Full Simulation) without losing wound or AP state.- Resource & Prompt: Read
genesis://demo/carakuss-dawnfor scene lore and 5-step combat rules, or invokeplay_carakuss_dawnfor a complete Living World GM + autonomous opponentaiPCconductor prompt.
Core Guarantees
- Zero LLM Math +
mathAudit: Every percentile target, table lookup, armor soak, and state transition runs in deterministic TypeScript and returns a structuredmathAudittrace (rollsUsed,rollSource,tablesConsulted,modifiers,formulas,effectiveTarget). - Hybrid Tabletop Dice (
manualRolls&rngSeed): Pass physical d100 rolls from your table viamanualRolls, passrngSeedfor reproducible PRNG sequences, or omit both for live server rolls. - Dual-Mode State (Stateless HMAC Tokens or Full Local / Firestore Suite): The public
/mcpdemo uses stateless HMAC-SHA256stateTokens (zero login, zero database writes, 24h TTL). Self-hostingmcp-combat/unlocks all 23 tools with local JSON persistence or optional livefirestore_syncinto/machina/.
Full 23-Tool Self-Hosted Suite (mcp-combat/)
Ready to generate custom operatives across all 11 alien species, run multi-session campaigns, and calculate High-DWarp starflight? Clone the monorepo from GitLab (theengine-public/interesting-octopus) and build the full 23-tool server:
git clone https://gitlab.com/theengine-public/interesting-octopus.git
cd interesting-octopus/mcp-combat
npm install
npm run build
1. Local stdio Transport (Claude Desktop, Cursor, Antigravity)
Register the compiled stdio entrypoint in your MCP client configuration (see mcp-combat/mcp-config.json in the repository):
{
"mcpServers": {
"theEngine": {
"command": "node",
"args": ["/ABS/PATH/TO/interesting-octopus/mcp-combat/dist/stdio.js"]
}
}
}
2. Self-Hosted Streamable HTTP & OpenAPI 3.1.0 Transport
Launch the local HTTP service for multi-agent aiPC orchestrators or ChatGPT Custom Actions:
cd mcp-combat
PORT=8787 npm run start:http
POST /mcp(plusGET /mcp,DELETE /mcp) — MCP Streamable HTTP endpoint.GET /openapi.json— Full OpenAPI 3.1.0 schema for importing into agent frameworks and Custom Actions.POST /api/tools/:toolName— Direct JSON REST execution for any of the 23 tools (accepts optionalAuthorization: Bearer <firebase-id-token>).GET /api/resources— JSON snapshot of all 12 canonicalmachina://*andgenesis://*rule tables and catalogs.GET /llms.txt&GET /health— Service discovery summary and session health check.
Connecting aiPC Companions to theEngine
External agents can pilot aiPC Squad Companions alongside human players in three steps:
- Generate or Load an
aiPCOperative: Callchargen_create_characterwithcontrolMode: "aiPC", one of the five canonical Tactical Doctrines (balanced,medic_support,cautious_recon,vanguard,bodyguard), and an optionalaiPersonadirective—or register an existing sheet in a squad viasquad_manage_state. - Run Adventure & Survival Loops: Initialize a canonical or custom module with
adventure_initialize_session, resolve environmental checks viacharacter_life_*tools, and advance milestones withadventure_advance_milestone. - Escalate & Sync Tactical Combat: Call
adventure_escalate_to_combat(mode: "escalate") to launch a 5-stepmachina_*encounter, resolve turns deterministically from Step 1 Surprise through Step 5 Segment Trauma, and sync wounds, ammo, and Performance Points back to the squad viamode: "sync_outcome"(with optionalfirestore_syncfor live browser visibility in/machina/combatand/machina/teams).
Full Deterministic Tool Inventory (23 Local Tools + 4 Public Demo Tools)
Character Generation & Star Travel (2 Tools)
chargen_create_character— Full Chapter 1 Steps 1–15 character creation (rolledorracial_average, Table#1.4Appearance, CO-scaled Table#1.5Damage Points, Encultured skills with Krane sex split, Table#1.8I.G.A.L. courses, Xeno-Disciplines check, andaiPCdoctrine).flight_calculate_transit— 3D Euclidean star-system distance, DeltaRatio drive tuning, DWarp transit duration, G-dampener acceleration/deceleration, and Micro-Singularity Crunch Hazard alert (> 1.39e-8).
Character Life & Progression (6 Tools)
character_life_attribute_check— Single or opposed Attribute checks, Encumbrance Efficiency, Limb Ability Percentage (AP), and+1 ATTRPerformance Point ticks.character_life_skill_check— Procedures 1 (Simple), 2 (Table#2.1), and 3 (Xeno-Disciplines + mandatory Focus roll), turn durations, heat/AP modifiers, and strict Category PP ticks.character_life_encumbrance_and_travel— Carried gear mass vs. endurance limits, NewtonianD = V × Tmarch solver, and inverse proportional Efficiency (Table#2.9).character_life_wounds_and_healing— Tables#3-25-25.1healing and attribute recovery, Pharmaceuticals (endbleed,bioxin,instacast, and Human/Eebek-gatedgrim_reaper), shock, and unconsciousness thresholds.character_life_performance_points— Inspect, award, or spend Performance Points at1:1Category Experience,5:1Skill Aptitude, and10:1Attribute with strict category isolation.character_life_aging— Table#2.8species lifespan brackets, aging attribute deltas, and CO disease resistance checks.
Adventure Setup & Squad / aiPC Management (6 Tools)
adventure_initialize_session— Initialize Formula Approach scenarios (andromedian-rose,sedna-rendezvous,carakuss-frontier, or custom).adventure_get_state— Read active milestones, Disclosures/Epiphany progress, and environmental hydration/efficiency clocks.adventure_advance_milestone— Complete Little Accomplishments, deduct Table#2.10perceived-heat water, update Table#2.9efficiency, and unlock Disclosures.adventure_escalate_to_combat— Escalate milestone scenes intoEncounterStorecombat (Type I Static / Type II Dynamic NPCs) or sync combat outcomes back to Character Life.adventure_trigger_pacing_event— Keep the Action Alive: advances hazard clock, narrows choices to two tactical options, and steps down Procedure (3 → 2 → 1).squad_manage_state— Create, inspect, and update Squad rosters,pc/aiPCcontrol modes, Tactical Doctrines,aiPersona, and combat loadouts.
5-Step Tactical Combat State Machine (9 Tools)
machina_create_encounter— Launch Carakuss Dawn Ambush, Andromedian Rose, or custom multi-faction combat encounters.machina_get_encounter_state— Inspect live round/turn order, Action/Agility Points, stances, ammunition, and anatomical wound penalties.machina_step1_surprise— Resolve Step 1 Surprise and sleeping operative wake checks.machina_step2_primary_attack— Resolve Step 2 Initiative and Procedure 3>30margin lockouts.machina_step3_action_ap— Spend Action/Agility Points on movement (including Silent stealth), stance/cover transitions, weapon swaps, and reloads.machina_step4_preview_to_hit— Preview deterministic Marksmanship, Table#3.1Range, Table#3.2Adversity, Net To-Hit%, and Lore Guardrails before committing an attack.machina_step4_and_5_resolve_attack— Execute To-Hit roll, Placed vs. Random Hit Location (enforcing sightless Wrist Laser rules), Table#3.3/#3.3.1Tissue & Organ System DP, KAR / Prism Suit laser reflection, and Segment Trauma.machina_apply_triage— Apply Field Medkit (-8DP) or Grim Reaper (-14DP, Human/Eebek xenobiology gated unless calibrated unit present) stabilization.machina_advance_turn_or_round— Advance to the next active combatant or replenish round AP.
Canonical Resources, Prompts & Discovery Endpoints
- Public Demo Resource & Prompt (
https://genesisrpg.com/mcp):genesis://demo/carakuss-dawnandplay_carakuss_dawn. - 12 Full-Suite MCP Resources:
machina://rules/procedures,machina://tables/weapons,machina://tables/armors,machina://tables/species-combat,machina://presets/encounters,genesis://tables/character-life,genesis://tables/medical-and-healing,genesis://tables/chargen,genesis://tables/star-travel,genesis://species/catalog,genesis://equipment/catalog, andgenesis://adventures/catalog. - 3 Full-Suite GM Prompts:
genesis_living_world_narrator,genesis-gm-conductor, andexplain-procedure-tiers. - Site-Wide Machine-Readable Indexes:
https://genesisrpg.com/llms.txt(concise LLM index),https://genesisrpg.com/llms-full.txt(full-text rulebook & lore corpus), andhttps://genesisrpg.com/search-index.json(structured JSON archive).
