Summary
The DIFC proxy (mcpg) returns HTTP 404: Not Found when agents call the GitHub GraphQL API via https://localhost:18443/api/graphql. This causes Claude-engine workflows to spend all their turns retrying the failing call until they timeout.
Error
HTTP 404: Not Found (https://localhost:18443/api/graphql)
Root Cause
The /api/graphql path is the GHES-style endpoint. For github.com, the GraphQL endpoint is /graphql (no /api prefix). The proxy may not be rewriting the path correctly for github.com repos.
Affected Workflows
Any workflow using features.cli-proxy: true where the agent calls gh api graphql:
- security-guard (Claude engine)
- secret-digger-claude
- Potentially any Claude/Codex workflow using the GitHub MCP tools via cli-proxy
Reproduction
- Create a PR in a github.com repo with cli-proxy enabled workflows
- A Claude-engine workflow triggers (e.g., Security Guard)
- Agent attempts GraphQL API call via cli-proxy
- Gets 404 and retries until timeout
Example Run
Related
Summary
The DIFC proxy (mcpg) returns
HTTP 404: Not Foundwhen agents call the GitHub GraphQL API viahttps://localhost:18443/api/graphql. This causes Claude-engine workflows to spend all their turns retrying the failing call until they timeout.Error
Root Cause
The
/api/graphqlpath is the GHES-style endpoint. For github.com, the GraphQL endpoint is/graphql(no/apiprefix). The proxy may not be rewriting the path correctly for github.com repos.Affected Workflows
Any workflow using
features.cli-proxy: truewhere the agent callsgh api graphql:Reproduction
Example Run
Related