diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index be51889ee1..edd290e8af 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -69,3 +69,11 @@ jobs: # The action's default trigger phrase is "@claude"; it reads the # triggering comment/review and acts on the current PR head. claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + # The action defaults to enableAllProjectMcpServers: true, which + # auto-loads this repo's .mcp.json (the "railway" server, launched + # via `npx @railway/cli mcp`). That server has no Railway session in + # a fresh Actions runner, and Claude Code fails fast (~2s, zero + # turns, no reply) trying to start it. --strict-mcp-config skips + # loading project/user MCP config entirely, so @claude runs here + # only with the action's own built-in tools. + claude_args: --strict-mcp-config