Back to Home
Mnehmos icon

rpg-mcp-servers

Verified Safe

by Mnehmos

Overview

This server suite provides advanced D&D 5e combat and game state management functionalities for AI-powered Dungeon Master experiences, including 3D spatial combat, character and inventory management, quest tracking, and dynamic spell creation.

Installation

Run Command
node game-state-server/dist/index.js & node combat-engine-server/dist/index.js

Environment Variables

  • DATABASE_PATH
  • PORT

Security Notes

The server suite is designed for local or controlled environments. Input validation for dice notation is implemented using regular expressions, mitigating arbitrary code execution through dice strings. MCP tool definitions enforce schema validation, reducing risks from malformed input. SQLite is used for local persistence. No hardcoded external secrets are exposed in the provided code. Running two separate Node.js processes locally (game-state-server and combat-engine-server) limits direct external exposure, assuming proper firewall configurations. The use of 'better-sqlite3' with prepared statements typically protects against SQL injection. However, a comprehensive audit would be needed for all database interaction points and the full MCP SDK.

Similar Servers

Stats

Interest Score42
Security Score8
Cost ClassHigh
Avg Tokens500
Stars25
Forks2
Last Update2025-12-06

Tags

D&D 5eRPGAI-powered DMGame StateCombat EngineModel Context ProtocolNode.jsSQLite