Skip to main content
Glama

Dad Joke Visualizer

by rudedoggg
SETUP_COMPLETE.md•2.63 kB
# šŸŽ­ Dad Joke Visualizer MCP Server - Quick Setup Guide ## āœ… What's Been Created Your Dad Joke Visualizer MCP Server is now complete! Here's what was built: ### šŸ“ Project Structure ``` DadJokeVisualizer/ ā”œā”€ā”€ src/ │ ā”œā”€ā”€ index.ts # Main MCP server │ └── tools/ │ ā”œā”€ā”€ jokeGenerator.ts # OpenAI integration │ ā”œā”€ā”€ imageGenerator.ts # Nano-banana integration │ └── webPageCreator.ts # Web server & page generation ā”œā”€ā”€ web/ │ └── index.html # Beautiful web interface ā”œā”€ā”€ dist/ # Compiled JavaScript ā”œā”€ā”€ package.json # Dependencies & scripts ā”œā”€ā”€ tsconfig.json # TypeScript config ā”œā”€ā”€ .env.example # Environment variables template ā”œā”€ā”€ cursor-mcp-config.json # Cursor MCP configuration ā”œā”€ā”€ test.js # Test script └── README.md # Full documentation ``` ### šŸš€ Next Steps 1. **Set up your API keys:** ```bash cp .env.example .env # Edit .env and add your OpenAI API key ``` 2. **Test the components:** ```bash npm run test ``` 3. **Configure Cursor:** - Copy the contents of `cursor-mcp-config.json` to your Cursor MCP settings - Update the API keys in the configuration 4. **Start using in Cursor:** - Use Auto feature with prompts like: - "Generate a Dad Joke about cats" - "Create a Dad Joke visualization" - "Make a Dad Joke about programming" ## šŸŽÆ How It Works 1. **You prompt Cursor** → "Generate a Dad Joke about programming" 2. **MCP Server receives** → Calls OpenAI to generate PG-13 Dad Joke 3. **Image Generation** → Calls Nano-banana to visualize the joke 4. **Web Page Creation** → Creates beautiful page with joke + image 5. **Result Display** → Returns URL to view the complete result ## šŸ› ļø Available Commands - `npm run build` - Compile TypeScript - `npm run start` - Start MCP server - `npm run dev` - Development mode - `npm run test` - Test all components - `npm run type-check` - Check TypeScript ## 🌐 Web Interface The web server runs on `http://localhost:3000` and provides: - Beautiful, responsive design - Topic input for custom jokes - Real-time generation status - Direct links to generated joke pages ## šŸŽŖ Ready to Generate Dad Jokes! Your MCP server is ready to create hilarious, PG-13 Dad Jokes with AI-powered visualizations. Just configure your API keys and start using it in Cursor! --- **Made with ā¤ļø for Dad Joke enthusiasts everywhere!** šŸŽ­

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rudedoggg/DadJokeVisualizer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server