From 25af2c9fed8182494779dc9ca5c78c953ba5c1b4 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 31 Oct 2026 05:14:12 +0000 Subject: [PATCH 1/7] fix(connector-mcp): an include a credentialed server does not list takes the credential path When providerConfig.include names a tool the MCP server's tools/list does not carry and the handshake carried the instance's credential, the refusal is raised as ConnectorCredentialRejectedError (status 403), naming both causes the answer cannot tell apart: the credential's scopes hide the tool, or the declaration names a tool the server does not have. An instance whose handshake carried no credential keeps the plain configuration fault. Claude-Session: https://claude.ai/code/session_017xRBcVBKAFk1ntXSjvPt7U Co-authored-by: Claude --- .../connector-mcp/src/mcp-provider.ts | 70 ++++++++++++++----- 1 file changed, 54 insertions(+), 16 deletions(-) diff --git a/packages/connectors/connector-mcp/src/mcp-provider.ts b/packages/connectors/connector-mcp/src/mcp-provider.ts index ae66f3def90..adfc23e431f 100644 --- a/packages/connectors/connector-mcp/src/mcp-provider.ts +++ b/packages/connectors/connector-mcp/src/mcp-provider.ts @@ -213,8 +213,15 @@ async function credentialRejectionStatus(err: unknown): Promise