@codewithdan/ai-repo-adventure-mcp
Version:
MCP server for AI-powered code repository exploration through interactive storytelling
35 lines • 1.49 kB
JavaScript
/**
* MCP Repo Adventure Tools - Main Entry Point
*
* These tools provide an interactive, gamified way to explore and understand codebases.
* The typical flow is:
* 1. start_adventure - Analyzes the codebase and presents theme options
* 2. choose_theme - Generates a custom story and quests based on the selected theme
* 3. explore_quest - Explores individual quests (can be called multiple times)
* 4. view_progress - Check completion status and see remaining quests
*
* Each tool has detailed descriptions to help MCP clients understand when to use them
* rather than relying on their base LLM for responses.
*
* Tools are now organized in separate files for better maintainability.
*/
import { adventureManager } from '@ai-repo-adventures/core/adventure';
import { startAdventure } from './tools/start-adventure.js';
import { chooseTheme } from './tools/choose-theme.js';
import { exploreQuest } from './tools/explore-quest.js';
import { viewProgress } from './tools/view-progress.js';
// Export the shared adventure manager for tools that need it
export { adventureManager };
// Re-export tools with MCP naming convention
export const start_adventure = startAdventure;
export const choose_theme = chooseTheme;
export const explore_quest = exploreQuest;
export const view_progress = viewProgress;
// Export all tools for easy registration
export const tools = {
start_adventure,
choose_theme,
explore_quest,
view_progress
};
//# sourceMappingURL=tools.js.map