Command Palette

Search for a command to run...

UnylyUnyly
Browse all

AI SDK 5 Migration Server

FreeNot checked

Helps migrate projects from AI SDK 4.x to 5.0 by generating a migration checklist and searching the official migration guide for code and data changes.

GitHubEmbed

About

Helps migrate projects from AI SDK 4.x to 5.0 by generating a migration checklist and searching the official migration guide for code and data changes.

README

An MCP server that helps you migrate from AI SDK 4.x to 5.0. This server has been designed to work with Cursor, but should work with any compatible MCP client.

Quick Start

Step 1: Configure Cursor

Create or edit .cursor/mcp.json in your project:

{
  "mcpServers": {
    "ai-sdk-5-migration": {
      "url": "https://ai-sdk-5-migration-mcp-server.vercel.app/api/mcp"
    }
  }
}

After saving the configuration, open the command palette (Cmd+Shift+P) and search for "View: Open MCP Settings". Verify that the new server appears in the list and is toggled to on.

Want to run it locally? See the Local Development section below.

Step 2: Run the migration

Open your project in Cursor and use this prompt:

Please migrate this project to AI SDK 5 using the ai-sdk-5-migration mcp server. Start by creating a checklist.

This prompt will:

  1. Create a comprehensive migration checklist (AI_SDK_5_MIGRATION.md)
  2. Guide the agent through all migration steps systematically
  3. Search the official migration guides when needed for specific changes

Note: This has been tested with Cursor's auto model setting

How It Works

This server provides three MCP tools:

  1. create-checklist - Returns a curl command that downloads a comprehensive migration checklist to AI_SDK_5_MIGRATION.md. This is much more efficient than having the model generate ~800 lines of text.

  2. search-guide - Searches the official AI SDK 5 migration guide for code-related changes (APIs, imports, streaming, tools, etc.). Returns the most relevant sections with examples.

  3. search-data-guide - Searches the data migration guide for database and persistence information (converting stored messages, dual-write patterns, schema changes).

The agent uses these tools automatically when you run the prompt above.

Local Development

If you prefer to run the server locally:

pnpm install
pnpm dev

Then update your .cursor/mcp.json to use http://localhost:3000/api/mcp instead of the hosted version.

Resources

License

MIT

from github.com/vercel-labs/ai-sdk-5-migration-mcp-server

Installing AI SDK 5 Migration Server

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/vercel-labs/ai-sdk-5-migration-mcp-server

FAQ

Is AI SDK 5 Migration Server MCP free?

Yes, AI SDK 5 Migration Server MCP is free — one-click install via Unyly at no cost.

Does AI SDK 5 Migration Server need an API key?

No, AI SDK 5 Migration Server runs without API keys or environment variables.

Is AI SDK 5 Migration Server hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install AI SDK 5 Migration Server in Claude Desktop, Claude Code or Cursor?

Open AI SDK 5 Migration Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare AI SDK 5 Migration Server with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs