chore(deps): update dependency @ai-sdk/mcp to v2#2294
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
59355cb to
655f08c
Compare
655f08c to
a1130b7
Compare
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.
This PR contains the following updates:
^1.0.55→^2.0.3Release Notes
vercel/ai (@ai-sdk/mcp)
v2.0.3Compare Source
Patch Changes
68a739a: feat(mcp): allow MCP client to use server completions6a436e3]v2.0.2Compare Source
Patch Changes
ba6d510: chore: fix deprecated use of zod.passthrough()v2.0.1Compare Source
Patch Changes
241a8c5: Add Streamable HTTP session hooks, cached initialize metadata, and detach-on-close support for reattaching to MCP sessions.v2.0.0Compare Source
Major Changes
23fa161: fix(mcp): setting redirect: error for MCP transportef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only ("type": "module"). Consumers usingrequire()must switch to ESMimportsyntax.8359612: Start v7 pre-releasePatch Changes
b79094c: Addresource_linkcontent type toCallToolResultSchemaandPromptMessageSchemaper MCP spec. Fixes hard rejection when MCP servers returnresource_linkcontent parts with zod ≥ 4.4.x.78e0023: fix(mcp): await addClientAuthentication in token exchange and refreshb567a6c: dependency updatese33ad0b: fix(mcp): add optional hook to validate authorization serverse3ea484: fix(mcp): bypass outputSchema validation when tool returns isError93afb28: feat(mcp): expose server instructions to be accessible through clienta00d1d3: feat(mcp): allow custom fetch for HTTP and SSE transportsa98bf66: feat(mcp): surface 'serverInfo' exposed from the MCP server2a150f8: fix(mcp): lock first sse endpoint received via event2655da8: fix(mcp): use negotiated protocol version in transport request headers9f0e36c: trigger release for all packages after provenance setupf7bc0b4: feat(mcp): exposestatusCode,url, andresponseBodyonMCPClientErrorfor HTTP transport failuresMCPClientErrornow carries structured HTTP context when it originates from thestreamable HTTP transport. This lets downstream consumers (e.g. agent frameworks
that need to decide whether to fall back from streamable HTTP to legacy SSE
transport per the MCP spec) branch on the actual response status without parsing
the error message string.
Fields are optional — they remain
undefinedfor stdio transport errors and fornon-response failures (network errors, aborts).
dcefad3: fix(mcp): respond to ping requests with an empty result per JSON-RPC spec (closes #6282)b44b051: fix(mcp): prevent prototype-named tools from bypassing theschemasallowlistWhen using
client.tools({ schemas })to expose only an explicitly allowedsubset of an MCP server's tools, the allowlist check used the
inoperator,which also matches inherited
Object.prototypeproperties. A server-advertisedtool named
constructor,toString,__proto__, etc. would pass the checkeven though the developer never defined it in
schemas, and was then exposed tothe model and executable. The check now uses
Object.hasOwn, so onlyexplicitly defined tools are returned.
f634bac: feat(mcp): add new McpProviderMetadata typeb9b3899: changeset for #133841e89d62: fix(mcp): strip trailing slash from OAuth resource parameter3e0b82f: fix(mcp): support official sdk protocol version negotiation1451759: feat(mcp): deprecate name and use clientName for MCPClient7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.08d2129: feat(mcp): propagate the server name through dynamic tool parts58c9eb1: feat(mcp): addredirectoption toMCPTransportConfigfor controlling HTTP redirect behavior0c4c275: trigger initial canary release611f621: feat(mcp): feat(mcp): add support for MCP Apps9ecd8ae: fix(mcp): add MCP protocol version 2025-11-25 to supported versions6c17a9f: fix(mcp): deduplicate auth refresh on http transport69254e0: feat(ai): add toolMetadata for tool specific metdata258c093: chore: ensure consistent import handling and avoid import duplicates or cyclesf0c6770: fix(mcp): prevent mcp oauth credential exfiltration during rediscovery5463d0d: feat(provider): align tool result output content file part types with top-level message file part typesb8396f0: trigger initial beta releaseb29e087: fix (mcp): handle SSE messages without explicit event fields90e2d8a: chore: fix unused vars not being flagged by our lint tooling024a6b4: fix(mcp): validate oauth metadata issuer during discovery9b0bc8a: fix(mcp): prevent prototype pollution by using secureJsonParseff5eba1: feat: rollimage-*tool output types into their equivalentfile-*typesConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.