Files
mc-ai-bridge/package.json
SysAdmin a30671c44c
All checks were successful
Deploy to Docker / deploy (push) Successful in 1m21s
fix(schematics): handle PMC download countdown page and ZIP-wrapped schematics
The download pipeline was getting HTML instead of the binary file because
PMC's /download/schematic/ returns a countdown confirmation page. Added
downloadSchematic() that uses a full browser flow (project visit → download
page → extract static URL → capture file). Also added ZIP extraction via
adm-zip for schematics wrapped in ZIP archives.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 01:33:56 +00:00

26 lines
636 B
JSON

{
"name": "mc-ai-bridge",
"version": "1.0.0",
"description": "MCP server bridging Minecraft Bedrock Edition to Claude Code via WebSocket",
"type": "module",
"main": "src/index.js",
"scripts": {
"start": "node src/index.js",
"dev": "node --watch src/index.js"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.27.1",
"adm-zip": "^0.5.16",
"express": "^4.21.2",
"minecraft-data": "^3.105.0",
"playwright": "^1.58.2",
"prismarine-schematic": "^1.2.3",
"ws": "^8.18.0",
"zod": "^3.25.0"
},
"engines": {
"node": ">=20.0.0"
},
"private": true
}