
MCPMC (Minecraft MCP)
Enables AI agents to control Minecraft bots through a standardized JSON-RPC interface.
Tools
find_blocks
Find nearby blocks of specific types. Use this to locate building materials or identify terrain.
craft_item
Craft items using materials in inventory. Can use a crafting table if specified.
chat
Send a chat message to the server
navigate_relative
Make the bot walk relative to its current position. dx moves right(+)/left(-), dy moves up(+)/down(-), dz moves forward(+)/back(-) relative to bot's current position and orientation
dig_block_relative
Dig a single block relative to the bot's current position. dx moves right(+)/left(-), dy moves up(+)/down(-), dz moves forward(+)/back(-) relative to bot's current position and orientation
dig_area_relative
Dig multiple blocks in an area relative to the bot's current position. Coordinates use the same relative system as dig_block_relative. Use this for clearing spaces.
place_block
Place a block from the bot's inventory at the specified position. Use this for building structures.
inspect_inventory
Check the contents of the bot's inventory to see available materials.
follow_player
Make the bot follow a specific player
attack_entity
Attack a specific entity near the bot
README
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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.