diff --git a/.github/copilot/coding-agent.yml b/.github/copilot/coding-agent.yml index a719a77..c5bad6b 100644 --- a/.github/copilot/coding-agent.yml +++ b/.github/copilot/coding-agent.yml @@ -1,6 +1,16 @@ mcp_servers: boj-server: command: npx - args: ["-y", "@hyperpolymath/boj-server@latest"] + # boj-server 0.5.0 (main 4379e6c); 0.4.7 needs Deno, 0.5.0 is not on npm yet + # The bridge writes the entire tool list synchronously; block on a full pipe + # so Node does not truncate its response when the MCP client reads slowly. + args: + - "-y" + - "--package=github:hyperpolymath/boj-server#4379e6c4a62afa564fa115b3910ef21c4238aa15" + - "--" + - "sh" + - "-c" + - >- + exec node -e 'process.stdout._handle.setBlocking(true); import(process.argv[1])' "$(command -v boj-server)" env: BOJ_URL: http://localhost:7700