Beyond “list my worlds”
Once your AI is connected via MCP, it can read and write your world data. That alone is useful – but the real power comes from giving your LLM context and workflows that turn it into a proper DM assistant.
This guide covers techniques for getting more out of your BYOAI setup, regardless of which LLM you’re using.
Give your LLM a persona
Your AI works better when it knows its role. Instead of treating it as a generic assistant, tell it what it is:
“You are my DM assistant for a dark fantasy campaign set in Thornwick. You have access to TxTavern via MCP. Use it to look up lore, NPCs, and session history before answering questions about the world.”
Most MCP clients let you set system prompts or project instructions. Put your persona there so it persists across conversations.
Session prep pipeline
The highest-value workflow is structured session prep. Rather than asking your AI to “help me prep,” give it a pipeline:
- Read the latest session recap – ask it to fetch your most recent session and summarise what happened
- Check active plot threads – have it list articles tagged with active storylines or unresolved hooks
- Review the party – pull character sheets, inventory, and current state
- Look up rules – if you’re planning a specific encounter type, have it fetch relevant game elements from your ruleset
- Generate prep notes – ask it to create an article (kind:
session) with encounter outlines, NPC motivations, and decision points
Each step uses MCP tools your AI already has access to. The trick is chaining them into a deliberate sequence rather than asking for everything at once.
Consistent image prompts
If you use image generation (Midjourney, DALL-E, PixelLab, etc.), your AI can generate prompts that stay consistent with your world’s visual identity.
Ask your AI to:
- Read your world description and relevant location/NPC articles from TxTavern
- Build a style reference block (art style, colour palette, mood, recurring motifs)
- Generate prompts that include both the specific subject and the style reference
For example:
“Read the article for the Gilded Threshold tavern and my world’s description. Generate a PixelLab prompt for an isometric tile of this tavern that matches the visual style we’ve established.”
Because your AI can pull the actual lore, the prompts reference real details – the cracked obsidian bar, the enchanted chandelier, the symbol above the door – instead of generic fantasy tavern descriptions.
Magic item workshop
Creating items that feel like they belong in your world is a perfect LLM task:
- Have your AI read your campaign’s ruleset and existing magic items
- Describe the situation – who’s giving the item, why, what power level
- Ask it to generate the item with stats that fit your game system
- Review it, then have the AI create the article in TxTavern
The AI already knows your game elements (attributes, skills, mechanics) through MCP, so it can reference the actual rules rather than guessing.
NPC depth on demand
Mid-session, a player talks to someone you didn’t prep. Ask your AI:
“The party is in the Driftmarket. They’re talking to a potion seller. Create an NPC that fits this location. Check existing Driftmarket articles for context.”
Your AI reads the location article, checks for existing NPCs in that area, and generates someone consistent with what’s already established – not a random name generator, but a character grounded in your world.
World consistency checks
As your world grows, contradictions creep in. Ask your AI to audit:
“Read all articles tagged with the Ironveil Compact faction. Check for contradictions in their history, membership, and goals. Flag anything that doesn’t line up.”
This is grunt work that LLMs excel at – cross-referencing dozens of articles that you wrote months apart.
Tips for any LLM
- Be specific about which MCP tools to use. “Search for articles about dragons” is better than “tell me about dragons in my world.” The first uses the search tool; the second might hallucinate.
- Chain reads before writes. Always have your AI read existing content before creating new content. This prevents contradictions.
- Use article kinds. When creating content, specify the kind (npc, location, item, lore, encounter). This keeps your world organised and searchable.
- Set status explicitly. Tell your AI whether something is
canon,draft, oridea. If you’re brainstorming, say so – you don’t want half-baked ideas filed as established fact. - Review before committing. Your AI can draft articles, but you should review them before they become part of your world. Use
status: draftfor AI-generated content until you’ve confirmed it.
What’s coming
We’re working on making these workflows available as built-in plugins through the MCP server itself – so instead of teaching each LLM the session prep pipeline from scratch, it can discover and run pre-built workflows directly. Watch the handbook for updates.