A Model Context Protocol (MCP) server that streamlines React Native project upgrades. It provides developers with automated tools to seamlessly upgrade React Native CLI projects to any desired version or the latest stable release. The MCP Server uses rn-diff-purge
to generate the diff.
- Version Management: Fetch and track the latest stable React Native versions with semantic versioning support
- Upgrade Automation: Generate detailed upgrade/downgrade diffs between versions with step-by-step migration guidance
- Release Candidate Support: Access and evaluate pre-release versions for early testing and feature validation
Important: This MCP Server is not compatible with Expo projects.
- Open Cursor Settings
- Look for an option called "Tools and integrations" and click on it
- Click on "New MCP Server"
- Configure:
{ "mcpServers": { "react-native-upgrader-mcp": { "command": "npx", "args": ["-y", "react-native-upgrader-mcp"] } } }
- Restart Cursor
- Install MCP extension (e.g., "MCP Server Manager")
- Configure:
{ "mcp.servers": { "react-native-upgrader-mcp": { "command": "npx", "args": ["-y", "react-native-upgrader-mcp"] } } }
get-stable-version
- Get latest stable versionget-react-native-diff
- Generate upgrade diff between versionsget-rc-version
- Get RC versions
git clone https://github.com/patrickkabwe/react-native-upgrader-mcp.git
cd react-native-upgrader-mcp
bun install
bun run build
bun run dev
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request