leejunyoung5819 mc-paper-plugin-test-mcp-26.3
공개마인크래프트 26.3 Paper 서버의 플러그인 테스트를 하려는 AI 에이전트를 위한 MCP 도구
| 1 | #!/usr/bin/env node |
| 2 | // Wrapper so `npx mct ...` / a global link works: runs the TypeScript CLI with Node's type stripping. |
| 3 | import { spawnSync } from 'node:child_process'; |
| 4 | import path from 'node:path'; |
| 5 | const cli = path.join(import.meta.dirname, '..', 'harness', 'cli.ts'); |
| 6 | const r = spawnSync(process.execPath, [cli, ...process.argv.slice(2)], { stdio: 'inherit' }); |
| 7 | process.exit(r.status ?? 1); |