Skip to content

Commit fdacc67

Browse files
committed
docs(spec): CONNECTOR_CREDENTIAL_REJECTED names the instance's auth credential, not a borrowed token
Contract-review follow-up on the landed mcp include refusal: the marker's TSDoc said 'the tools a credential may use', which reads as covering an oauth2 instance's borrowed token; that path keeps the plain fault. Claude-Session: https://claude.ai/code/session_017xRBcSf5BEfcbq4uCnjEXu Co-authored-by: Claude <noreply@anthropic.com>
1 parent f37cd61 commit fdacc67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/spec/src/integration/connector-provider-errors.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ export function isConnectorUpstreamUnavailable(err: unknown): boolean {
8181
*
8282
* An upstream that accepts the credential but answers it with less than the
8383
* instance declares is the same outcome: an MCP server that lists only the
84-
* tools a credential may use, and so leaves out a tool the instance's
85-
* `include` names, is answered with this marker by the `mcp` provider.
84+
* tools the instance's `auth` credential may use, and so leaves out a tool
85+
* the instance's `include` names, is answered with this marker by the `mcp` provider.
8686
*/
8787
export const CONNECTOR_CREDENTIAL_REJECTED = 'CONNECTOR_CREDENTIAL_REJECTED' as const;
8888

0 commit comments

Comments
 (0)