Controls a Minecraft character in real time via Mineflayer, letting AI build structures, explore and interact with the game.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add minecraft -- npx -y github:yuniko-software/minecraft-mcp-server --host localhost --port 25565 --username ClaudeBot~/.codex/config.toml
[mcp_servers.minecraft]
command = "npx"
args = ["-y", "github:yuniko-software/minecraft-mcp-server", "--host", "localhost", "--port", "25565", "--username", "ClaudeBot"]
# codex mcp add minecraft -- npx -y github:yuniko-software/minecraft-mcp-server --host localhost --port 25565 --username ClaudeBot~/.cursor/mcp.json
{
"mcpServers": {
"minecraft": {
"command": "npx",
"args": [
"-y",
"github:yuniko-software/minecraft-mcp-server",
"--host",
"localhost",
"--port",
"25565",
"--username",
"ClaudeBot"
]
}
}
}.vscode/mcp.json
{
"servers": {
"minecraft": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"github:yuniko-software/minecraft-mcp-server",
"--host",
"localhost",
"--port",
"25565",
"--username",
"ClaudeBot"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"minecraft": {
"command": "npx",
"args": [
"-y",
"github:yuniko-software/minecraft-mcp-server",
"--host",
"localhost",
"--port",
"25565",
"--username",
"ClaudeBot"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"minecraft": {
"command": "npx",
"args": [
"-y",
"github:yuniko-software/minecraft-mcp-server",
"--host",
"localhost",
"--port",
"25565",
"--username",
"ClaudeBot"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"minecraft": {
"command": "npx",
"args": [
"-y",
"github:yuniko-software/minecraft-mcp-server",
"--host",
"localhost",
"--port",
"25565",
"--username",
"ClaudeBot"
]
}
}
}