@ai-sdk/mcp 2.0.66 → 2.0.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/dist/index.d.ts +51 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/index.ts +1 -0
- package/src/tool/mcp-sse-transport.ts +9 -1
- package/src/tool/oauth.ts +5 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @ai-sdk/mcp
|
|
2
2
|
|
|
3
|
+
## 2.0.68
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [fc1e19e]
|
|
8
|
+
- Updated dependencies [5094ebd]
|
|
9
|
+
- Updated dependencies [268225c]
|
|
10
|
+
- Updated dependencies [0af2f7c]
|
|
11
|
+
- @ai-sdk/provider-utils@5.0.55
|
|
12
|
+
- @ai-sdk/provider@4.0.23
|
|
13
|
+
|
|
14
|
+
## 2.0.67
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- bba3927: feat(mcp): export MCPClientError for typed MCP failure handling
|
|
19
|
+
- 9384b92: fix(mcp): reject SSE startup when the connection closes before an endpoint is received
|
|
20
|
+
- 575383e: fix(mcp): preserve OAuth credentials when callback codes are rejected
|
|
21
|
+
- Updated dependencies [2959d35]
|
|
22
|
+
- Updated dependencies [59116e6]
|
|
23
|
+
- @ai-sdk/provider@4.0.22
|
|
24
|
+
- @ai-sdk/provider-utils@5.0.54
|
|
25
|
+
|
|
3
26
|
## 2.0.66
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -158,12 +158,12 @@ type AuthorizationServerMetadata = OAuthMetadata | OpenIdProviderDiscoveryMetada
|
|
|
158
158
|
type OAuthClientMetadata = z.infer<typeof OAuthClientMetadataSchema>;
|
|
159
159
|
//#endregion
|
|
160
160
|
//#region src/error/oauth-error.d.ts
|
|
161
|
-
declare const symbol: unique symbol;
|
|
161
|
+
declare const symbol$1: unique symbol;
|
|
162
162
|
/**
|
|
163
163
|
* An error occurred with the MCP client within the OAuth flow.
|
|
164
164
|
*/
|
|
165
165
|
export declare class MCPClientOAuthError extends AISDKError {
|
|
166
|
-
private readonly [symbol];
|
|
166
|
+
private readonly [symbol$1];
|
|
167
167
|
constructor({ name, message, cause }: {
|
|
168
168
|
name?: string;
|
|
169
169
|
message: string;
|
|
@@ -1023,5 +1023,54 @@ export declare function fingerprintMCPAppResource(resource: MCPAppResource): Pro
|
|
|
1023
1023
|
*/
|
|
1024
1024
|
export declare function detectMCPAppResourceDrift(current: string, baseline: string): boolean;
|
|
1025
1025
|
//#endregion
|
|
1026
|
+
//#region src/error/mcp-client-error.d.ts
|
|
1027
|
+
declare const symbol: unique symbol;
|
|
1028
|
+
/**
|
|
1029
|
+
* An error occurred with the MCP client.
|
|
1030
|
+
*/
|
|
1031
|
+
export declare class MCPClientError extends AISDKError {
|
|
1032
|
+
private readonly [symbol];
|
|
1033
|
+
readonly data?: unknown;
|
|
1034
|
+
/**
|
|
1035
|
+
* JSON-RPC error code from the server response, per the JSON-RPC 2.0
|
|
1036
|
+
* spec (e.g. `-32601` method-not-found, `-32602` invalid-params, or
|
|
1037
|
+
* MCP-specific codes such as `-32002` resource-not-found). This is the
|
|
1038
|
+
* application-level error code populated from `error.code` in the
|
|
1039
|
+
* server's JSON-RPC error payload. Distinct from `statusCode`, which
|
|
1040
|
+
* is the HTTP transport status.
|
|
1041
|
+
*/
|
|
1042
|
+
readonly code?: number;
|
|
1043
|
+
/**
|
|
1044
|
+
* HTTP status code from the failed response, when the error originated
|
|
1045
|
+
* from an HTTP-based transport. Undefined for stdio transport
|
|
1046
|
+
* errors and for failures that do not have an associated response
|
|
1047
|
+
* status (e.g. network errors, abort). Distinct from `code`, which is
|
|
1048
|
+
* the JSON-RPC application error code.
|
|
1049
|
+
*/
|
|
1050
|
+
readonly statusCode?: number;
|
|
1051
|
+
/**
|
|
1052
|
+
* URL of the MCP endpoint the failing request was sent to, when the
|
|
1053
|
+
* error originated from an HTTP transport failure.
|
|
1054
|
+
*/
|
|
1055
|
+
readonly url?: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* Body of the failing HTTP response, decoded as text, when available.
|
|
1058
|
+
* Undefined when the body could not be read or the error did not have
|
|
1059
|
+
* an associated response.
|
|
1060
|
+
*/
|
|
1061
|
+
readonly responseBody?: string;
|
|
1062
|
+
constructor({ name, message, cause, data, code, statusCode, url, responseBody }: {
|
|
1063
|
+
name?: string;
|
|
1064
|
+
message: string;
|
|
1065
|
+
cause?: unknown;
|
|
1066
|
+
data?: unknown;
|
|
1067
|
+
code?: number;
|
|
1068
|
+
statusCode?: number;
|
|
1069
|
+
url?: string;
|
|
1070
|
+
responseBody?: string;
|
|
1071
|
+
});
|
|
1072
|
+
static isInstance(error: unknown): error is MCPClientError;
|
|
1073
|
+
}
|
|
1074
|
+
//#endregion
|
|
1026
1075
|
export { type CallToolResult, type CompleteRequestParams, type CompleteResult, type Configuration, type ElicitResult, type ElicitationRequest, type InitializeResult, type JSONRPCError, type JSONRPCMessage, type JSONRPCNotification, type JSONRPCRequest, type JSONRPCResponse, type ListToolsResult, type MCPAppResource, type MCPAppResourceCSP, type MCPAppResourceMeta, type MCPClient, type MCPClient as experimental_MCPClient, type ClientCapabilities as MCPClientCapabilities, type ClientCapabilities as experimental_MCPClientCapabilities, type MCPClientConfig, type MCPClientConfig as experimental_MCPClientConfig, type MCPTransport, type MCPTransportCloseOptions, type MCPTransportSendOptions, type McpProviderMetadata, type McpToolAnnotations, type OAuthAuthorizationServerInformation, type OAuthClientInformation, type OAuthClientMetadata, type OAuthClientProvider, type OAuthTokens, createMCPClient as experimental_createMCPClient };
|
|
1027
1076
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/tool/json-rpc-message.ts","../src/tool/oauth-types.ts","../src/error/oauth-error.ts","../src/tool/oauth.ts","../src/tool/mcp-transport.ts","../src/tool/types.ts","../src/tool/mcp-client.ts","../src/tool/mcp-apps.ts","../src/tool/mcp-app-fingerprint.ts"],"mappings":";;;;cAMM,sBAAoB,EAAA;;;;;;;GAMf,EAAA,KAAA;KAEC,iBAAiB,EAAE,aAAa;cAEtC,uBAAqB,EAAA;;;;;;;GAMhB,EAAA,KAAA;KAEC,kBAAkB,EAAE,aAAa;cAEvC,oBAAkB,EAAA;;;;;;;;GAUb,EAAA,KAAA;KAEC,eAAe,EAAE,aAAa;cAEpC,2BAAyB,EAAA;;;;;;GAUpB,EAAA,KAAA;KAEC,sBAAsB,EAAE,aAAa;cAEpC,sBAAoB,EAAA,mBAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAK/B,EAAA,KAAA;KAEU,iBAAiB,EAAE,aAAa;wBAE5B,uBAAuB,mBAAmB;;;;;;cC9B7C,mBAAiB,EAAA;;;;;;;;;;GAYpB,EAAA,KAAA;cAmBG,qBAAmB,EAAA;;;;;;;;;;;;;GAe9B,EAAA,KAAA;;;;;;cA6BW,uCAAqC,EAAA;;;;;;;;;;;;;;;;;GAK/C,EAAA,KAAA;cAEU,8BAA4B,EAAA;;;;;;;;GAU/B,EAAA,KAAA;cAEG,2BAAyB,EAAA;;;;;;;;;;;;;;;;;;GAsB5B,EAAA,KAAA;KAEE,gBAAgB,EAAE,aAAa;KAC/B,kCAAkC,EAAE,aACvC;KAEG,cAAc,EAAE,aAAa;KAI7B,yBAAyB,EAAE,aAC9B;KAEG,8BACR,gBACA;KAUQ,sBAAsB,EAAE,aAAa;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":["symbol"],"sources":["../src/tool/json-rpc-message.ts","../src/tool/oauth-types.ts","../src/error/oauth-error.ts","../src/tool/oauth.ts","../src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IAAY,UAAU;MACrB,WAAW;EAEd,cAAc;IACZ,SAAS;IACT,UAAU;MACR,QAAQ;EAEZ,aAAa;IACX;IACA,UAAU;MACR,QAAQ;EAEZ,sBAAsB;IACpB,UAAU;MACR,QAAQ;EAEZ,yBAAyB;IACvB,SAAS;IACT,UAAU;MACR,QAAQ;EAEZ,uBAAuB;IACrB;IACA,YAAY;IACZ,UAAU;MACR,QAAQ;EAEZ,SACE,MAAM;IACJ,UAAU;MAEX,QAAQ;EAEX,qBACE,eAAe,0BACf,UACE,SAAS,uBACN,QAAQ,gBAAgB;EAG/B,aAAa;;;;;;;qBC9WF;;;;qBAWA;;;;;;;;;;KAsBD;EACV;EACA;EACA;GACC;;;;;KAMS;EACV;EACA,MAAM;EACN,cAAc;GACb;;;;;KAMS;EACV;EACA,iBAAiB;EACjB;EACA,OAAO;;;;;wBAwGO,iBAAiB,aAAa;EAC5C,cAAc;EACd,YAAY;;;;;wBAoFQ,qBACpB,QACA,KACA;EAEA,QAAQ,KAAK;EACb;EACA,UAAU;IACR,QAAQ;;;;;;;;;;;wBCvOU,0BACpB,UAAU,iBACT;;;;;wBAkBa,0BACd,iBACA;;;cC9DI;;;;qBAKO,uBAAuB;oBAChB;WACT;;;;;;;;;WAUA;;;;;;;;WASA;;;;;WAMA;;;;;;WAOA;EAEG,cACV,MACA,SACA,OACA,MACA,MACA,YACA,KACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;SAUK,WAAW,iBAAiB,SAAS"}
|
package/dist/index.js
CHANGED
|
@@ -297,7 +297,7 @@ var MCPClientError = class extends AISDKError {
|
|
|
297
297
|
};
|
|
298
298
|
//#endregion
|
|
299
299
|
//#region src/version.ts
|
|
300
|
-
const VERSION = "2.0.
|
|
300
|
+
const VERSION = "2.0.68";
|
|
301
301
|
//#endregion
|
|
302
302
|
//#region src/tool/oauth-types.ts
|
|
303
303
|
/**
|
|
@@ -1054,9 +1054,8 @@ async function auth(provider, options) {
|
|
|
1054
1054
|
if (options.authorizationCode !== void 0 || !await provider.isClientInformationDynamicallyRegistered?.()) throw error;
|
|
1055
1055
|
await provider.invalidateCredentials?.("all");
|
|
1056
1056
|
return await authInternal(provider, options);
|
|
1057
|
-
} else if (error instanceof InvalidGrantError) {
|
|
1058
|
-
|
|
1059
|
-
else await provider.invalidateCredentials?.("tokens");
|
|
1057
|
+
} else if (error instanceof InvalidGrantError && refreshAttempt.tokens) {
|
|
1058
|
+
await provider.invalidateCredentials?.("tokens", { tokens: refreshAttempt.tokens });
|
|
1060
1059
|
return await authInternal(provider, options);
|
|
1061
1060
|
}
|
|
1062
1061
|
throw error;
|
|
@@ -1317,11 +1316,12 @@ var SseMCPTransport = class {
|
|
|
1317
1316
|
while (true) {
|
|
1318
1317
|
const { done, value } = await reader.read();
|
|
1319
1318
|
if (done) {
|
|
1319
|
+
if (this.abortController?.signal.aborted) return;
|
|
1320
1320
|
if (this.connected) {
|
|
1321
1321
|
this.connected = false;
|
|
1322
1322
|
throw new MCPClientError({ message: "MCP SSE Transport Error: Connection closed unexpectedly" });
|
|
1323
1323
|
}
|
|
1324
|
-
|
|
1324
|
+
throw new MCPClientError({ message: "MCP SSE Transport Error: Connection closed before endpoint event was received" });
|
|
1325
1325
|
}
|
|
1326
1326
|
const { event, data } = value;
|
|
1327
1327
|
if (event === "endpoint") {
|
|
@@ -2794,6 +2794,6 @@ function detectMCPAppResourceDrift(current, baseline) {
|
|
|
2794
2794
|
return current !== baseline;
|
|
2795
2795
|
}
|
|
2796
2796
|
//#endregion
|
|
2797
|
-
export { AuthorizationServerMismatchError, ElicitResultSchema, ElicitationRequestSchema, MCPClientOAuthError, MCP_APP_MIME_TYPE, UnauthorizedError, auth, createMCPClient, createMCPClient as experimental_createMCPClient, detectMCPAppResourceDrift, fingerprintMCPAppResource, mcpAppClientCapabilities, readMCPAppResource, splitMCPAppTools, validateJSONRPCMessage };
|
|
2797
|
+
export { AuthorizationServerMismatchError, ElicitResultSchema, ElicitationRequestSchema, MCPClientError, MCPClientOAuthError, MCP_APP_MIME_TYPE, UnauthorizedError, auth, createMCPClient, createMCPClient as experimental_createMCPClient, detectMCPAppResourceDrift, fingerprintMCPAppResource, mcpAppClientCapabilities, readMCPAppResource, splitMCPAppTools, validateJSONRPCMessage };
|
|
2798
2798
|
|
|
2799
2799
|
//# sourceMappingURL=index.js.map
|