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.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add react-native -- npx -y react-native-upgrader-mcp~/.codex/config.toml
[mcp_servers.react-native]
command = "npx"
args = ["-y", "react-native-upgrader-mcp"]
# codex mcp add react-native -- npx -y react-native-upgrader-mcp~/.cursor/mcp.json
{
"mcpServers": {
"react-native": {
"command": "npx",
"args": [
"-y",
"react-native-upgrader-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"react-native": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"react-native-upgrader-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"react-native": {
"command": "npx",
"args": [
"-y",
"react-native-upgrader-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"react-native": {
"command": "npx",
"args": [
"-y",
"react-native-upgrader-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"react-native": {
"command": "npx",
"args": [
"-y",
"react-native-upgrader-mcp"
]
}
}
}