fake-store-mcp-server
by railsstudent
Overview
This server simulates a fake store within a Minecraft server, allowing external applications to browse items, purchase them via bot commands, and check the bot's status.
Installation
npm install && npm startEnvironment Variables
- PORT
- MC_HOST
- MC_PORT
- MC_USERNAME
- MC_PASSWORD
Security Notes
The `POST /buy` endpoint directly uses user-provided `itemId` and `quantity` to construct a Minecraft chat command (`bot.chat`). This pattern could be vulnerable to command injection if the target Minecraft server or its plugins interpret special characters or commands within chat messages. The use of `cors()` without specific origin restrictions also broadens the potential attack surface. Sensitive information like `MC_PASSWORD` is correctly handled via environment variables.
Similar Servers
lumino-mcp-server
Provides an AI assistant with specialized tools to monitor, analyze, troubleshoot, predict, and simulate changes in Kubernetes, OpenShift, and Tekton environments for SREs and DevOps.
7134-easy-mcp-server
This project provides an easy-to-setup server solution designed to bridge or interact with Minecraft servers, simplifying their management or extending their functionalities.
mcp-server-test
Unable to determine the specific use case due to the complete absence of provided source code. The repository name 'mcp-server-test' suggests it might be a test server related to the Minecraft Protocol (MCP).
general-mcp-server
This server acts as a Multi-Capability Protocol (MCP) server, integrating custom tools and orchestrating their use with an AI assistant.