Minecraft Model Context Protocol
STDIOMCP server for controlling Minecraft bots through standardized JSON-RPC interface.
MCP server for controlling Minecraft bots through standardized JSON-RPC interface.
A Model Context Protocol (MCP) server for interacting with Minecraft via Mineflayer. This package enables AI agents to control Minecraft bots through a standardized JSON-RPC interface.
# Using npm npm install @gerred/mcpmc # Using yarn yarn add @gerred/mcpmc # Using bun bun add @gerred/mcpmc
# Start the MCP server mcpmc
The server communicates via stdin/stdout using the Model Context Protocol. For detailed API documentation, use the MCP inspector:
bun run inspector
# Install dependencies bun install # Run tests bun test # Build the project bun run build # Watch mode during development bun run watch # Run MCP inspector bun run inspector
Contributions are welcome! Please follow these steps:
Please make sure to update tests as appropriate and adhere to the existing coding style.
MIT License
Copyright (c) 2024 Gerred Dillon
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.