Minecraft MCP Server
An early prototype of a Model Context Protocol (MCP) server implementation integrating the Mineflayer API to interact with Minecraft
Overview
Minecraft MCP Server is an early prototype of a Model Context Protocol (MCP) server that integrates the Mineflayer API to facilitate interaction with Minecraft.
To use the Minecraft MCP Server, clone the repository from GitHub, set up the server environment, and utilize the Mineflayer API to create bots that can interact with the Minecraft world.
- Prototype implementation of Model Context Protocol (MCP) - Integration with Mineflayer API for bot creation - Ability to interact with Minecraft in real-time
- Creating AI-driven bots for Minecraft gameplay.
- Developing interactive experiences within the Minecraft environment.
- Experimenting with generative AI in a gaming context.
Add to your AI client
Use these steps to connect Minecraft MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"minecraft-mcp-server-dennistraub": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-minecraft-mcp-server-dennistraub"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"minecraft-mcp-server-dennistraub": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-minecraft-mcp-server-dennistraub"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"minecraft-mcp-server-dennistraub": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-minecraft-mcp-server-dennistraub"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"minecraft-mcp-server-dennistraub": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-minecraft-mcp-server-dennistraub"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"minecraft-mcp-server-dennistraub": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-minecraft-mcp-server-dennistraub"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"minecraft-mcp-server-dennistraub": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-minecraft-mcp-server-dennistraub"
]
}
}
}FAQ
What is the Model Context Protocol (MCP)?
MCP is a protocol designed to facilitate communication between AI models and applications.
Can I use this server for commercial purposes?
This is a prototype and may not be suitable for commercial use without further development.
Is there documentation available?
Yes, you can find documentation in the GitHub repository.