rn-mcp
v1.0.1A Model Context Protocol (MCP) server that streamlines React Native project upgrades.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get-user-version Get User Desired Version of React Native
Gets the version of React Native that the user wants to upgrade to. OVERVIEW: This tool is used to get the version of React Native that the user wants to upgrade to. USAGE: • This tool is used to get the version of React Native that the user wants to upgrade to. • The version can be used with the "get-react-native-diff" tool to preview changes before upgrading. IMPORTANT NOTES: • The version must be a valid semantic version number. e.g. 0.72.0 • The version must be a valid release candidate version number. e.g. 0.72.0-rc.0 • If the version is not a valid semantic version number or…
| Parameter | Type | Description |
|---|---|---|
version * | string | The version of React Native that the user wants to upgrade to |
get-stable-version Get Stable Version
Gets the latest stable version of React Native from GitHub releases. OVERVIEW: This version represents the most recent production-ready release that has been thoroughly tested and is recommended for use in applications. VERSION FORMAT: • The version number follows semantic versioning (e.g. 0.72.0) • Excludes any release candidates or beta versions USAGE: • This tool is commonly used before planning an upgrade to ensure targeting the latest stable release • Must be called before calling get-react-native-diff tool • The output of this tool will be used as the toVersion parameter in…
get-rc-version Get React Native Release Candidate Version
Gets the latest release candidate versions of React Native from GitHub releases. OVERVIEW: This tool returns a list of available release candidate versions that you can use for upgrading. VERSION FORMAT: • The version numbers follow semantic versioning (e.g. 0.72.0-rc.0) • Include the release candidate tag RELEASE CANDIDATE INFO: • Each version in the returned list represents a pre-release that has undergone testing • May still contain bugs as they are not production-ready USAGE: • This tool is commonly used before planning an upgrade to evaluate new features and changes in upcom…
get-react-native-diff Get React Native Diff
Gets the React Native diff between the current version and the user provided version. OVERVIEW: This diff will show all changes needed to upgrade React Native, including: • Package.json dependencies and their versions • iOS configuration changes (Podfile, xcodeproj settings) • Android configuration (build.gradle, settings.gradle) • Project structure changes • Binary files that need to be updated • Template files modifications • Native code changes • Troubleshooting steps if any USAGE: • If no fromVersion is provided, t…
| Parameter | Type | Description |
|---|---|---|
fromVersion * | string | The current React Native version to compare from (defaults to version in package.json) |
toVersion * | string | The target React Native version to upgrade to |