Skip to content

Backport: feat(mcp): propagate the server name through dynamic tool parts#14870

Merged
aayush-kapoor merged 1 commit intorelease-v6.0from
aayush/backport-14813
Apr 30, 2026
Merged

Backport: feat(mcp): propagate the server name through dynamic tool parts#14870
aayush-kapoor merged 1 commit intorelease-v6.0from
aayush/backport-14813

Conversation

@aayush-kapoor
Copy link
Copy Markdown
Collaborator

Background

backport of #14813

some users had the request of propagating the MCP server name, from which the tool originated, in the UI

Summary

expose providerMetadata on dynamic tools and then merge the providerMetadata that is returned from the model along with the static providerMetadata we define

Manual Verification

verified by running the example http://localhost:3000/chat/mcp

Checklist

  • All commits are signed (PRs with unsigned commits cannot be merged)
  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)

Related Issues

fixes #14387

@aayush-kapoor aayush-kapoor changed the title feat(mcp): propagate the server name through dynamic tool parts Backport: feat(mcp): propagate the server name through dynamic tool parts Apr 30, 2026
@aayush-kapoor aayush-kapoor merged commit 7beadf0 into release-v6.0 Apr 30, 2026
19 checks passed
@aayush-kapoor aayush-kapoor deleted the aayush/backport-14813 branch April 30, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants