Offline, agent-friendly Minecraft Java structure lookup built on local cubiomes logic.
python3 -m pip install -e .The first cubiomes-backed query compiles a local native adapter with cc.
mcfind nearest --seed -461418396194504394 --edition java --version 1.21.11 --from 780 874 --structure stronghold
mcfind nearest --seed -461418396194504394 --edition java --version 1.21.11 --from 780 874 --structure trial_chamber --format json
mcfind nearest-biome --seed -461418396194504394 --edition java --version 1.21.11 --from 780 874 --biome cherry_grove --format json
mcfind within-radius --seed -461418396194504394 --version 1.21.11 --from 780 874 --radius 5000 --structure village
mcfind route --seed -461418396194504394 --version 1.21.11 --from 780 874 --structure village,trial_chamber,stronghold --limit 5 --format json
mcfind import-save ~/Games/Minecraft/saves/MyWorld --format json
mcfind profile add home --seed -461418396194504394 --version 1.21.11 --base 780 874Start the remote MCP server locally:
mcfind-mcpFor a one-command ChatGPT developer-mode setup, start both the MCP server and a Cloudflare quick tunnel:
mcfind-chatgptThat command prints the local and public /health and /mcp URLs and keeps both child processes running until Ctrl-C.
By default it serves Streamable HTTP on http://127.0.0.1:8000/mcp with:
GET /GET /healthGET /healthzPOST /mcp
Available MCP tools:
find_nearest_structurefind_nearest_biomelist_structures_in_radiusoptimize_structure_routeget_seed_infoimport_java_save
Optional environment variables:
export MCFIND_MCP_HOST=0.0.0.0
export MCFIND_MCP_PORT=8000
export MCFIND_MCP_PATH=/mcp
export MCFIND_MCP_NAME=mcfind
export MCFIND_MCP_PUBLIC_BASE_URL=https://your-subdomain.ngrok-free.devIf you expose the server through ngrok or another public HTTPS tunnel, set MCFIND_MCP_PUBLIC_BASE_URL before starting the server. Otherwise the MCP SDK's default localhost-only DNS rebinding protection will reject public Host headers with 421 Misdirected Request.
For ChatGPT developer-mode testing, expose the local server over HTTPS with a tunnel such as:
ngrok http 8000Then use the HTTPS URL and the /mcp path when connecting the app in ChatGPT.