// CHOOSE_YOUR_PATH
Two ways to play Quest Keeper AI:
- Desktop App - Full Tauri application with 3D battlemap, character sheets, and built-in chat
- MCP Backend - Use with Claude Desktop, RooCode, KiloCode, or any MCP client
🖥️ Quest Keeper AI Desktop App
The complete experience with visual interface, 3D battlemap, and multi-LLM support.
Best for: Solo play, visual feedback, integrated experience
⚙️ rpg-mcp Backend Only
Use the MCP server with your preferred AI client for text-based adventures.
Best for: Existing MCP workflows, Claude Desktop users, developers
// DESKTOP_APP_SETUP
Prerequisites
- Node.js 18+ - Download here
- Rust - Required for Tauri (Install via rustup)
- Git - Download here
- LLM API Key - OpenAI, Anthropic, Gemini, or OpenRouter
1 Clone the Repositories
2 Build the Unified Server
📦 Output: This creates platform-specific binaries in bin/:
dnd-mcp-server-win.exe(Windows)dnd-mcp-server-macos(macOS)dnd-mcp-server-linux(Linux)
3 Copy Binary to Frontend
4 Install & Run Frontend
5 Configure API Keys
Click the ⚙️ Settings button in the app and add your LLM API key(s).
🎮 You're ready! Start chatting with the AI to create characters and begin your adventure.
// MCP_BACKEND_ONLY
Use rpg-mcp with any MCP-compatible client:
1 Clone & Build
2 Configure MCP Client
Add to your MCP settings file:
Config location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Config location: %APPDATA%\Code\User\globalStorage\rooveterinaryinc.roo-cline\settings\mcp_settings.json
⚠️ Important: Replace PATH_TO_REPO with the actual path to your cloned repository!
3 Restart & Play
Restart your MCP client and start playing!
// CONFIGURATION
Database Location
rpg-mcp uses SQLite for persistence. The database (rpg.db) is created in the working directory.
Pre-populated Content
The bundled database includes Fellowship of the Ring content ready to play:
- 9 Fellowship characters with full stats
- Signature items (Sting, Glamdring, etc.)
- Starting quests and locations
Environment Variables
// YOUR_FIRST_GAME
Test the Connection
In the desktop app, type /test to list all available MCP tools.
Example Commands
- "List all characters" - See pre-loaded Fellowship
- "Create a level 3 dwarf fighter named Thorin" - New character
- "Give Thorin a battleaxe" - Add items
- "Start combat with 3 goblins" - Begin encounter
- "Roll 2d6+3 for damage" - Dice rolling
- "Create a quest to find the lost ring" - Quest system
Available Tool Categories
- CRUD: create_character, get_character, list_characters, update_character, delete_character
- Inventory: create_item_template, give_item, remove_item, equip_item, get_inventory
- Combat: create_encounter, execute_combat_action, advance_turn, end_encounter
- Quests: create_quest, assign_quest, update_objective, complete_quest, get_quest_log
- World: generate_world, get_world_state, apply_map_patch
- Math: dice_roll, probability_calculate
- Secrets: create_secret, reveal_secret, check_reveal_conditions
- Strategy: create_nation, propose_alliance, resolve_turn
// TROUBLESHOOTING
MCP Server Not Starting
- Check that Node.js 18+ is installed:
node --version - Ensure the path in your MCP config is correct
- Try running
node dist/index.jsdirectly to see errors
Desktop App Build Errors
- Ensure Rust is installed:
rustc --version - Run
npm run tauri infoto check dependencies - On Windows, install Visual Studio Build Tools
Database Issues
- Delete
rpg.dbto reset to clean state - Check file permissions in the working directory
- Ensure only one instance is running (SQLite locking)
Need Help?
- Backend Issues: GitHub Issues (rpg-mcp)
- Frontend Issues: GitHub Issues (Frontend)