Playing D&D with ChatGPT, Claude, or whatever is fun. But sometime you want more control over how it behaves and what it does. Check out this video for a quick tutorial on creating an oracle plugin for Claude. This "plugin" is a Model Context Protocol Server written in Java using Spring AI. Once you create the MCP Server, you can hook the oracle into Claude which will use it while you play as a simple yes/no oracle. This is a simple example that will show you how to get everything setup with Java and Spring AI to start making MCP Server tools. Keep an eye out for the rest in the series where I'll make much more complex and fun tools.
💾 Code for this project: https://github.com/cote/EasyChatDM
📹 More videos on D&D with MCP: https://www.youtube.com/playlist?list=PLk_5VqpWEtiWA4NtTC_QwTofEpd34fRFx