chrisreddington/my-first-mcp-server
If you are the rightful owner of my-first-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This document provides a structured overview of a Model Context Protocol (MCP) server, highlighting its features, tools, resources, usage, and frequently asked questions.
š° Rubber Ducking Adventure MCP Server
Transform your debugging sessions into epic fantasy quests! This MCP server gamifies the rubber ducking debugging technique, turning you into a heroic code warrior on a quest to vanquish villainous bugs.
š® What is This?
The Rubber Ducking Adventure MCP server is a unique debugging companion that:
- Gamifies debugging - Turn frustrating bug hunts into engaging fantasy adventures
- Guides without solving - Helps you think through problems using the Socratic method
- Provides motivation - Epic fantasy themes make debugging more enjoyable
- Tracks progress - Watch your hero level up as you conquer more challenging bugs
- Encourages systematic thinking - Structured quest phases guide your debugging approach
š Bug Classifications
Different types of bugs become different fantasy creatures:
- š§ Goblins - Minor bugs, typos, simple logic errors
- āļø Orcs - Moderate bugs, integration issues
- š¹ Trolls - Complex bugs, performance issues
- š Dragons - Critical bugs, system-breaking issues
- š Hydras - Multi-faceted bugs with multiple root causes
š”ļø Quest Types
Your debugging adventures are categorized into different quest types:
- Logic Quest - Algorithm and logic bugs
- Performance Quest - Optimization and speed issues
- Integration Quest - API and service integration problems
- UI Quest - User interface and styling challenges
- Data Quest - Database and data handling issues
- Architecture Quest - System design and structure problems
š Available Tools
start_quest
Begin a new debugging adventure by describing your bug. The system will:
- Classify your bug severity (goblin to dragon)
- Determine the quest type
- Set up an adventure narrative
- Provide initial guiding questions
Parameters:
description
- What bug are you facing?techStack
(optional) - Technologies involvedurgency
(optional) - How critical is this issue?
continue_quest
Progress through your quest by sharing discoveries and findings.
Parameters:
finding
- What you discovered, tried, or learnedsignificance
(optional) - How important is this finding?
get_quest_status
View your current quest progress, hero stats, and debugging journey.
seek_wisdom
Ask for specific guidance on debugging approaches, testing strategies, or investigation techniques.
Parameters:
helpType
- Type of guidance needed (e.g., "approach", "testing", "investigation")
complete_quest
Celebrate your victory when you've solved the bug!
Parameters:
solutionSummary
(optional) - How you solved the issue
š Adventure Tone Consistency
adventure-tone-guide
Prompt
This server includes a special prompt that provides automatic tone consistency guidance to any AI assistant connecting to it. When an AI client accesses the adventure-tone-guide
prompt, it receives comprehensive instructions to maintain the fantasy adventure theme throughout all debugging interactions.
What it provides:
- āļø Required language patterns (bugs as "goblins," "dragons," etc.)
- š° Fantasy terminology guidelines
- šÆ Communication style requirements
- ⨠Example phrases and emojis to use
- š§āāļø Wise mentor persona guidance
This ensures that every debugging session feels like an epic adventure, regardless of which kingdom (repository) the server is deployed in!
šÆ Philosophy
This server follows core rubber ducking principles:
- Never provides direct solutions - Guides you to discover answers yourself
- Asks thoughtful questions - Helps you think systematically about problems
- Encourages exploration - Supports different approaches and perspectives
- Celebrates progress - Acknowledges breakthroughs and learning moments
- Makes debugging fun - Fantasy themes reduce frustration and increase engagement
š ļø Setup
Prerequisites
- Node.js 18+
- npm or yarn
Installation
- Clone the repository:
git clone https://github.com/chrisreddington/my-first-mcp-server.git
cd my-first-mcp-server
- Install dependencies:
npm install
- Build the project:
npm run build
Running
npm run start
Integration with Claude Desktop
Add this configuration to your claude_desktop_config.json
:
{
"mcpServers": {
"rubber-ducking-adventure": {
"command": "node",
"args": ["/absolute/path/to/my-first-mcp-server/build/index.js"]
}
}
}
Configuration file locations:
- macOS/Linux:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
VS Code Debugging
This project includes VS Code configuration for debugging:
- Open the project in VS Code
- Go to Run and Debug panel (Ctrl/Cmd + Shift + D)
- Run the "Build and Run MCP Server" task
š® Usage Example
-
Start a quest:
Tool: start_quest Description: "My React component isn't re-rendering when state changes" Tech Stack: ["React", "TypeScript", "Vite"] Urgency: "moderate"
-
Continue with findings:
Tool: continue_quest Finding: "I added console.logs and the state is definitely updating" Significance: "moderate"
-
Seek specific guidance:
Tool: seek_wisdom Help Type: "testing"
-
Complete the quest:
Tool: complete_quest Solution Summary: "The issue was a missing key prop causing React to not recognize the component should re-render"
š Hero Progression
- Gain experience points (XP) by completing quests
- Level up your debugging hero
- Track your quest completion history
- Build confidence through systematic success
š ļø Development
Project Structure
rubber-ducking-adventure-mcp/
āāā src/
ā āāā index.ts # Main server implementation
ā āāā adventureEngine.ts # Core quest and adventure logic
ā āāā questTypes.ts # TypeScript interfaces and enums
ā āāā mentorResponses.ts # Response templates and guidance
āāā build/ # Compiled JavaScript (generated)
āāā .vscode/
ā āāā mcp.json # MCP server configuration
ā āāā tasks.json # VS Code tasks
āāā package.json
āāā tsconfig.json
āāā README.md
Available Scripts
npm run build
- Compile TypeScript to JavaScriptnpm run start
- Build and run the servernpm run dev
- Development mode (same as start)
Technical Details
- Built with the @modelcontextprotocol/sdk
- Uses Zod for runtime type validation
- Implements stdio transport for communication
- TypeScript for type safety and developer experience
š The Adventure Continues
Each debugging session becomes part of your heroic journey. The more quests you complete, the stronger your debugging skills become, and the more confident you'll feel facing future challenges.
Remember: Every master debugger was once a beginner who never gave up!
š¤ Contributing
This is a learning project demonstrating gamified debugging and MCP server development. Feel free to fork and experiment!
š License
ISC License - see LICENSE file for details.
š Acknowledgments
- Model Context Protocol for the specification
- MCP SDK for the development framework
- The rubber ducking debugging technique for inspiring systematic problem-solving
- Fantasy RPG games for the adventure and progression mechanics
Ready to embark on your debugging adventure? The digital realm awaits your heroic efforts! āļøš