
Minecraft Model Context Protocol
Model Context Protocol Minecraft Server
Installation
Installing for Claude Desktop
Option 1: One-Command Installation
npx mcpbar@latest install gerred/mcpmc -c claude
This command will automatically install and configure the Minecraft Model Context Protocol MCP server for your selected client.
Option 2: Manual Configuration
Run the command below to open your configuration file:
npx mcpbar@latest edit -c claude
After opening your configuration file, copy and paste this configuration:
View JSON configuration
{
"mcpServers": {
"Minecraft Model Context Protocol": {
"command": "npx",
"args": [
"-y",
"@gerred/mcpmc"
],
"env": {}
}
}
}
MCPMC (Minecraft Model Context Protocol)
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.
Features
- Full MCP compatibility for AI agent integration
- Built on Mineflayer for reliable Minecraft interaction
- Supports navigation, block manipulation, inventory management, and more
- Real-time game state monitoring
- Type-safe API with TypeScript support
Installation
# Using npm
npm install @gerred/mcpmc
# Using yarn
yarn add @gerred/mcpmc
# Using bun
bun add @gerred/mcpmc
Usage
# 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
Development
# 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
Contributing
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a new branch for your feature
- Write tests for your changes
- Make your changes
- Run tests and ensure they pass
- Submit a pull request
Please make sure to update tests as appropriate and adhere to the existing coding style.
License
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.
Stars
29Forks
7Last commit
7 months agoRepository age
7 monthsLicense
MIT
Auto-fetched from GitHub .
MCP servers similar to Minecraft Model Context Protocol:

Stars
Forks
Last commit

Stars
Forks
Last commit

Stars
Forks
Last commit