branching-story-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
branching-story-mcp exposes Ouba Studio's deterministic branching-story-kit story-state kernel and the CC-BY-4.0 2026 Consumer AI Story Continuity Benchmark (doi:10.7910/DVN/YEBHQR). Use validate_story_graph before stepping, step_story_state for zero-drift state transitions, query_ai_story_benchmark for verified per-platform continuity results, and detect_state_drift to classify a transcript against the five-mode silent state drift taxonomy. Interactive explorer: https://www.ouba.art/tools/benchmark-explorer
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| validate_story_graphA | Validate a branching-story-kit JSON scene graph. Checks the schema, detects missing choice targets, unreachable scenes, dead-end loops and invalid guard predicates, and returns structured diagnostics with issue codes, stats and a pass/fail verdict. |
| step_story_stateA | Run the deterministic story-state reducer for one or more player choices. Evaluates |
| query_ai_story_benchmarkA | Query the verified Nov 15 2026 10-Platform Consumer AI Story Continuity Benchmark (doi:10.7910/DVN/YEBHQR): Ouba 20t verbatim PASS, Talkie 20t PASS, AI Dungeon 7t verbatim PASS, Character.AI 20t FAIL (silent state loss), Janitor AI / Talefy / Joyland / NovelAI right-censored, Chai / Galatea untestable. Optional |
| detect_state_driftB | Given a planted fact {key, expected_value, planted_turn} and a transcript of turns, check deterministic recall / contradiction / omission and classify the session against the five-mode silent state drift taxonomy (F1 silent state loss, F2 session non-persistence, F3 gating censoring, F4 transient service degradation, F5 platform delisting) from doi:10.5281/zenodo.24549412. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| 2026-10-platform-matrix | Full CC-BY-4.0 per-platform matrix (evaluation date 2026-11-15, doi:10.7910/DVN/YEBHQR): status, turns completed, turn-15 recall, TTFS, latency, ads, signup gate, failure mode and notes for all 10 platforms. |
| story-graph-v1 | Canonical JSON Schema for branching-story-kit scene graphs (scenes, startScene, initialState). |
TDQS
Scored across 4 tools
The three story-graph tools are separable by stage: validate_story_graph checks static structure, step_story_state advances state, and detect_state_drift audits external transcripts. The only soft overlap is thematic — step_story_state and detect_state_drift both revolve around 'silent state drift', so an agent could initially hesitate over which one answers a continuity question.
All four names use a uniform snake_case verb_noun pattern: validate_story_graph, step_story_state, query_ai_story_benchmark, detect_state_drift. The verbs are distinct and the nouns identify the target resource, so ordering and style are fully predictable.
Four tools is on the thin side for the domain, and one of them (query_ai_story_benchmark) reads as a research/citation artifact rather than a core story-graph operation, so it does not clearly earn its place alongside the other three. The remaining trio is well-scoped but leaves little room for the rest of the workflow.
Validation and forward stepping are covered, but there is no way to initialize or load state, enumerate scenes/choices, or produce the transcript that detect_state_drift consumes — agents must supply these out-of-band. The benchmark query is a read-only side channel that adds no lifecycle coverage, leaving the authoring/inspection side notably absent.