# shadcn-ui/release
shadcn/ui shadcn@4.23.0
importance: highbreakingmigrationfeature
The MCP server was upgraded to MCP TypeScript SDK v2. `shadcn mcp` now serves protocol version 2026-07-28 as well as earlier versions, and the server exports have changed.
affected
This affects developers integrating with the `shadcn/mcp` export or upgrading the MCP server integration.
action
Update code that uses the old `Server` export API to use the new `McpServer` API.
release_signals
-The `shadcn/mcp` export is now an `McpServer` instead of the old `Server`; callers using `server.setRequestHandler(...)` must adapt to the changed API.
+Added a `createServer()` export that returns a fresh `McpServer` instance per connection.
+`shadcn mcp` supports MCP protocol 2026-07-28 alongside earlier versions.
migration_steps1 steps
- 01Replace calls to `server.setRequestHandler(...)` on the old `Server` export with `server.registerTool(...)` or `server.server.setRequestHandler(...)`.
# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.