Skip to content

Conversation

@vercel-ai-sdk
Copy link
Contributor

@vercel-ai-sdk vercel-ai-sdk bot commented Nov 24, 2025

This is an automated backport of #10186 to the release-v5.0 branch. FYI @aayush-kapoor

## Background

As requested in #7978 

For elicitation specs, refer
[here](https://modelcontextprotocol.io/specification/2025-06-18/client/elicitation)

## Summary

Updated the spec so that createMCPClient has a elicitation handler.
It now supports requests that the server might make to the client.

## Manual Verification

- [x] e2e example for testing, with a UI modal for sending user's
preferences
- [x] console example
- [x] unit tests

## Checklist

- [x] Tests have been added / updated (for bug fixes / features)
- [ ] Documentation has been added / updated (for bug fixes / features)
- [x] A _patch_ changeset for relevant packages has been added (for bug
fixes / features - run `pnpm changeset` in the project root)

## Related Issues

Fixes #7978
@vercel-ai-sdk vercel-ai-sdk bot merged commit 89b59d7 into release-v5.0 Nov 24, 2025
18 checks passed
@vercel-ai-sdk vercel-ai-sdk bot deleted the backport-pr-10186-to-release-v5.0 branch November 24, 2025 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants