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.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
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"
]
}
}
}