EasyChatDM - Demonstrates creating a simple MCP Server tools
@cote
关于 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.
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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.
其他 分类下的更多 MCP 服务器
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.
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Awesome Mlops
visengerA curated list of references for MLOps
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
🚀 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,
评论