@ai-sdk/react 4.0.162 Graduates Key MCP APIs to Stable
Several previously experimental APIs in @ai-sdk/react are now stable. Developers should update usage to stable names as experimental aliases are deprecated.
What changed?
The @ai-sdk/react library version 4.0.162 has promoted the APIs StdioMCPTransport, MCPClient.listPrompts, MCPClient.getPrompt, and MCPAppRenderer from experimental to stable. Their experimental names have been deprecated but are still available as compatible aliases. MCP events remain experimental and are not included in this graduation.
Why does it matter to an everyday developer?
These APIs can now be used in production with confidence about stability and continued support. Deprecation of experimental names signals a future requirement to migrate code for long-term compatibility. Developers can reduce technical debt by switching to the stable API names early, improving maintainability and clarity in their projects.
What can the developer do now?
- Update imports and usage to refer to the new stable API names: StdioMCPTransport, MCPClient.listPrompts, MCPClient.getPrompt, and MCPAppRenderer.
- Monitor codebases for usage of deprecated experimental aliases and plan to remove them in upcoming development cycles.
- Be aware that MCP events are still experimental and should be used with caution if included in production.

