the-mcp-server-game
Verified Safeby nullchimp
Overview
This server acts as a Model Context Protocol (MCP) bridge, enabling AI agents to interact with a Dungeon Crawler Game API using standardized tools.
Installation
./start.shEnvironment Variables
- MCP_PORT
- GAME_API_URL
- PORT
- NODE_ENV
Security Notes
The server demonstrates good security practices for its intended use case. Input validation is in place for API routes, preventing common injection vulnerabilities. Error handling suppresses detailed messages in production. No 'eval()' or direct, unsecured arbitrary code execution patterns were found. Database interactions via SQLite are handled using prepared statements (implicitly by the `sqlite3` library's `db.run` and `db.get` with parameters), mitigating SQL injection risks. Configuration variables are externalized through environment variables, avoiding hardcoded secrets. While CORS is enabled, for a local AI agent interaction, this is acceptable. The use of shell scripts for starting/stopping servers (which use `lsof` and `kill`) is for system management and not exposed to arbitrary external input, thus not a security concern for the Node.js application itself.
Similar Servers
rpg-mcp-servers
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.
mcp-server-nodejs-api-docs
Provides up-to-date Node.js API documentation and release schedule information as a service via the Model Context Protocol.
ellymud
A Multi-User Dungeon (MUD) game server with support for Telnet, WebSocket, and a Model Context Protocol (MCP) for AI agent integration and programmatic control.
juleson
An AI-powered coding agent and automation toolkit that integrates with Google's Jules AI via CLI and MCP for comprehensive software development workflows.