EasyChatDM - Demonstrates creating a simple MCP Server tools
@cote
About EasyChatDM - Demonstrates creating a simple MCP Server tools
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.
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is EasyChatDM?
EasyChatDM is an educational MCP (Model Context Protocol) server that provides oracle tools for tabletop role‑playing games like D&D. It generates random yes/no answers, descriptions, events, and NPCs to introduce uncertainty during play. Built with Spring AI MCP, it works with any MCP client such as Claude Desktop.
How to use EasyChatDM?
Install EasyChatDM and configure it in your MCP client. Before running, copy the contents of src/main/easychatdmdir/prompts/ to ~/.easychatdm. The server can be configured via system properties or environment variables to use SQLite (default) or PostgreSQL for persistent journal storage.
Key features of EasyChatDM
- Random oracles for D&D (yes/no, descriptions, events, NPCs)
- DM Journal resource that persists game state across sessions
- Database‑backed storage (SQLite or PostgreSQL)
- Journal mirroring to JSON/Markdown files
- Demonstrates step‑by‑step MCP tool creation with Spring AI
Use cases of EasyChatDM
- Adding randomness and unpredictability to generative‑AI‑led D&D sessions
- Logging and reviewing game history via the DM Journal
- Learning how to build MCP tools with Spring AI
FAQ from EasyChatDM
Can I use a different database?
Yes. Set the system property easychatdm.db.type to postgres and provide the required PostgreSQL connection details (URL, username, password) to switch from the default SQLite to PostgreSQL.
Where is the data stored?
By default, the DM Journal is stored in a SQLite database file at ~/.easychatdm/easychatdm.db. You can change the base directory with the easychatdm.dir property or override the database path entirely.
What runtime does it require?
EasyChatDM is written in Spring AI MCP and runs on Java. It works with any MCP client, such as Claude Desktop.
What is the purpose of this project?
This project is educational – it demonstrates step‑by‑step how to create MCP server tools in Spring AI, with little focus on production‑grade code design.
More Other MCP servers
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Codelf
unbugA search tool helps dev to solve the naming things problem.
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Comments