MCP ExplorerExplorer

Easychatdm

@coteon 10 months ago
8 MIT
FreeCommunity
AI Systems
Example MCP Server tools for playing D&D with generative AIs. This project is for educational purposes so little attention is given to good code design.

Overview

What is Easychatdm

EasyChatDM is a set of example tools designed for use with MCP Servers to enhance Dungeons & Dragons (D&D) gameplay by incorporating generative AI. These tools serve as oracles for generating random responses, descriptions, events, and NPCs, introducing elements of uncertainty and randomness into the game.

Use cases

Use cases for EasyChatDM include generating random plot twists during gameplay, creating unique NPCs for players to interact with, and providing spontaneous event descriptions to enrich storytelling.

How to use

To use EasyChatDM, you can integrate it with Claude desktop and other MCP Clients. The tools are built using Spring AI MCP, and the project is structured to provide a step-by-step guide for creating similar tools, making it accessible for educational purposes.

Key features

Key features of EasyChatDM include the ability to generate random yes/no answers, descriptions, events, and NPCs. It functions as a random table that adds unpredictability to gameplay, enhancing the overall experience.

Where to use

EasyChatDM can be used in tabletop role-playing games, particularly in Dungeons & Dragons sessions, where it can assist game masters and players in generating content and scenarios on the fly.

Content

EasyChatDM - Demonstrates creating a simple MCP Server tools

Example MCP Server tools for playing D&D with generative AIs. These tools
are oracles that are used to determine
random yes/no questions but also descriptions, events, NPCs, etc. They are "
random tables" to use when you want to
introduce some uncertainty, twists and turns, and randomness to your gaming.
This project is for educational
purposes so little attention is given to good code design.

These tools are MCP Server tools that will work with Claude desktop and other
MCP Clients. They’re written in
Spring AI MCP. This project is for education, so no consideration is given to
good design. Instesd, the code is
written to make it easy to follow step-by-step how to create tools.

Running it

You should copy over the contents of contents of
src/main/easychatdmdir/prompts/ to ~/.easychatdm.
These are files for prompts, oracles, etc. uses.

Acknowledgements

More

See the ChatDM project for a more
complex, feature-ful somewhat better designed version of this EasyChatDM.

Here
are some videos
going over the project:

  1. Part one of a video series
    where I build a very simple MCP too-land.
  2. In part two of the video series where I build a file-based oracle
    and go over how to use the logs Claude makes and start doing your own logging.
  3. In part three, I build an MCP Resource to serve as a DM Journal to
    persist game information between play sessions.
  4. Finally, I get around to making an MCP Promopt, which is really exciting.
    This is the first glimpse at something that feels “agentic.”

Keep an eye on
the playlist
for the rest of the videos
as they come out.

References

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers