{{ message }}
Repository navigation
Conversation
Contributor
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Thinking Path
Linked Issues or Issue Description
Fixes: #17059
Refs: #15425 (related secret-resolution failure; this change handles a missing grant reference).
Related PRs: #13479 (shared remote MCP headers) and #15192 (OAuth client credentials). This change handles only a required grant reference that is absent.
What Changed
422 mcp_remote_missing_secretand mark the connectionmissing_secretwhen a required header credential has no matching grant reference.Verification
pnpm exec vitest run --project @paperclipai/server server/src/__tests__/tool-gateway.test.ts— passed (92 tests).pnpm --filter @paperclipai/server exec tsc --noEmit— passed.git diff --check— passed.typecheckscript was also attempted. Its Runner build preflight stopped because this host has Rust 1.85.1 and the locked dependencies require Rust 1.94.1. The direct server TypeScript check passed.Risks
Low risk. Calls with a valid grant are unchanged. A missing required credential now fails before network dispatch.
Model Used
OpenAI GPT-6 via Codex. The runtime does not expose the context-window size. Tool use and local code execution were used.
Checklist
Fixes: #17059