react-native-toolkit
This server gives AI agents version-aware React Native/Expo documentation, code generation, API validation, and migration guidance directly in their coding environment.
Detect project context: Reads package.json to identify React Native, Expo, React Navigation, and Ignite versions
Search and retrieve docs: Find available topics or fetch paginated documentation for a library and version
Semantic search: Use natural language embeddings (or hybrid keyword+semantic) to find conceptually relevant docs
Validate APIs: Check whether a symbol exists in node_modules or docs index
Find examples: Locate code examples for topics like FlatList, navigation, etc.
Generate component scaffolds: Create production-ready boilerplate for lists, navigation, forms, API calls, storage, animations, and more
Compare API versions: Show added, removed, and modified APIs between library versions
Suggest migration paths: Get step-by-step upgrade guidance with breaking changes, code examples, and checklists
Resolve library aliases: Map fuzzy names like “rn” or “navigation” to canonical library IDs
Generate AI assistant templates: Create configuration files for 50+ AI coding tools (Cursor, Claude Code, Cline, Devin, etc.)
Pre-fetch/optimize docs: Refresh, fetch, and optimize cached documentation for offline use
Generates configuration files for Amp CLI.
Provides version-aware documentation for Expo, including tools to search, retrieve, and validate APIs for specific Expo SDK versions.
Generates configuration files for GitHub Copilot (VS Code and CLI).
Generates configuration files for JetBrains AI assistant.
Generates configuration files for Warp AI.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@react-native-toolkit How to use Camera with Expo 52?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP React Native Toolkit
A Model Context Protocol (MCP) server that provides AI agents with accurate, version-aware documentation for React Native, Expo, React Navigation, and Ignite.
Catalog: ItamiForge
Quick Start
git clone https://github.com/ItamiForge/mcp-react-native-toolkit.git
cd mcp-react-native-toolkit
npm install && npm run buildvscode
Add the MCP server to your editor's configuration:
Edit ~/.vscode/mcp.json (global) or .vscode/mcp.json (per-project):
{
"servers": {
"react-native-toolkit": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/mcp-react-native-toolkit/dist/index.js"]
}
}
}cursor
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"react-native-toolkit": {
"command": "node",
"args": ["/absolute/path/to/mcp-react-native-toolkit/dist/index.js"]
}
}
}claude
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"react-native-toolkit": {
"command": "node",
"args": ["/absolute/path/to/mcp-react-native-toolkit/dist/index.js"]
}
}
}3. Use It (Zero Config Per-Project)
Just start asking your AI about React Native! The toolkit:
Reads your project's
package.jsonto detect versionsFetches matching docs on first request (cached for future use)
Serves version-accurate documentation automatically
Related MCP server: Context7 MCP
Multi-Project Workflow
The toolkit handles multiple projects with different versions seamlessly:
~/projects/
├── legacy-app/ # expo@50.0.0
│ └── package.json
└── new-app/ # expo@52.0.0
└── package.jsonWhat Happens
┌─────────────────────────────────────────────────────────────────┐
│ You open legacy-app/ and ask: "How do I use Camera?" │
├─────────────────────────────────────────────────────────────────┤
│ 1. Toolkit reads package.json → detects expo@50.0.0 │
│ 2. Checks docs/expo/50/ → NOT FOUND │
│ 3. Fetches from git branch `sdk-50` → 745 files in ~3s │
│ 4. Caches at docs/expo/50/ │
│ 5. Returns Expo 50 documentation │
└─────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────┐
│ You switch to new-app/ and ask: "How do I use Camera?" │
├─────────────────────────────────────────────────────────────────┤
│ 1. Toolkit reads package.json → detects expo@52.0.0 │
│ 2. Checks docs/expo/52/ → NOT FOUND │
│ 3. Fetches from git branch `sdk-52` → 745 files in ~3s │
│ 4. Caches at docs/expo/52/ │
│ 5. Returns Expo 52 documentation │
└─────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────┐
│ You go back to legacy-app/ and ask another question │
├─────────────────────────────────────────────────────────────────┤
│ 1. Toolkit reads package.json → detects expo@50.0.0 │
│ 2. Checks docs/expo/50/ → FOUND ✓ │
│ 3. Returns cached Expo 50 documentation instantly │
└─────────────────────────────────────────────────────────────────┘Resulting Cache Structure
mcp-react-native-toolkit/
└── docs/
├── expo/
│ ├── 50/ # Cached for legacy-app
│ └── 52/ # Cached for new-app
├── react-native/
│ └── latest/ # Shared (no versioned docs available)
└── react-navigation/
├── 6/ # If you have a v6 project
└── 7/ # If you have a v7 projectCommands Reference
Command | Purpose |
| Initial setup (one time) |
| Rebuild after pulling updates |
| Pre-fetch latest docs for offline use |
| Fetch docs only (no optimization) |
| Optimize existing cached docs |
| Generate AI framework configuration files |
| Run test suite |
Available Tools
Tool | Description |
| Detects React Native, Expo, and library versions from |
| Lists available documentation topics for a library |
| Retrieves specific documentation with pagination |
| AI-powered semantic search using embeddings to find relevant documentation |
| Validates if an API symbol exists (checks |
| Finds code examples for a topic |
| Returns performance and architecture best practices |
| Resolves fuzzy library names to exact IDs |
| Generates boilerplate code for common React Native patterns |
| Compares API differences between library versions |
| Provides step-by-step migration guidance between versions |
| Generates configuration files for AI coding assistants |
generate-component-scaffold
Generates boilerplate code for common React Native patterns like optimized FlatLists, navigation screens, forms, and more.
Parameters:
scaffoldId(optional): ID of the scaffold template (e.g., 'flatlist-basic', 'stack-navigator')language(optional): 'typescript' or 'javascript' (default: 'typescript')listScaffolds(optional): Set to true to see all available scaffoldscategory(optional): Filter by category ('list', 'navigation', 'form', 'api', 'storage', 'animation')
Available Scaffolds:
flatlist-basic- Basic FlatList with proper typingflatlist-optimized- Performance-optimized FlatList with memoizationflatlist-infinite-scroll- FlatList with pagination and infinite scrollstack-navigator- React Navigation stack navigator setuptab-navigator- React Navigation tab navigator setupform-basic- Form with controlled inputs and validationapi-fetch- API data fetching with loading/error statesmmkv-storage- MMKV persistent storage hooksreanimated-gesture- Reanimated + Gesture Handler animation
compare-api-versions
Compares API differences between two versions of a library, showing added, removed, and modified APIs.
Parameters:
library(required): Library to comparefromVersion(required): Starting versiontoVersion(required): Target versiondetailLevel(optional): 'summary' or 'detailed'
suggest-migration-path
Provides step-by-step migration guidance for upgrading between library versions.
Parameters:
library(required): Library to migratefromVersion(optional): Starting version (or 'auto' to detect)toVersion(required): Target versionformat(optional): 'detailed', 'checklist', or 'summary'includeCodeExamples(optional): Include before/after code examples
generate-ai-template
Generates configuration files for 50+ AI coding assistants and agentic frameworks.
Parameters:
framework(optional): Target framework IDlistFrameworks(optional): Set to true to see all supported frameworksgenerateAll(optional): Generate templates for all frameworksincludeExamples(optional): Include code examples in templates
Supported Frameworks (53 total):
ID | Name | Output File |
| Cursor |
|
| GitHub Copilot (VS Code) |
|
| Windsurf |
|
| Kiro |
|
| Zed |
|
| JetBrains AI |
|
| Trae |
|
| Visual Studio 2022 Copilot |
|
| LM Studio |
|
ID | Name | Output File |
| Cline |
|
| Roo Code |
|
| Augment |
|
| Continue |
|
| Sourcegraph Cody |
|
| Supermaven |
|
| Tabnine |
|
| Amazon Q |
|
| Qodo Gen |
|
| ZenCoder |
|
ID | Name | Output File |
| Claude Code |
|
| Aider |
|
| Codex CLI |
|
| Gemini CLI |
|
| GitHub Copilot CLI |
|
| Amp |
|
| Warp AI |
|
| Goose |
|
| Mentat |
|
| Plandex |
|
| OpenCode |
|
| Rovo Dev |
|
| Factory |
|
| Qwen Coder |
|
ID | Name | Output File |
| Devin |
|
| OpenHands |
|
| SWE-Agent |
|
| Sweep |
|
| GPT Engineer |
|
ID | Name | Output File |
| Claude Projects |
|
| Claude Desktop |
|
| ChatGPT Projects |
|
| Gemini |
|
| Perplexity |
|
| Replit AI |
|
| Vercel v0 |
|
| Bolt.new |
|
| Lovable |
|
| Pythagora |
|
| BoltAI |
|
| Crush |
|
| Emdash |
|
ID | Name | Output File |
| GitHub Copilot Agent |
|
| Generic |
|
CLI Usage:
# List all supported frameworks
npm run generate-templates -- --list
# Generate Cursor rules
npm run generate-templates -- cursor
# Generate to a specific directory
npm run generate-templates -- vscode-copilot --output-dir ./my-project
# Generate all templates
npm run generate-templates -- --all --output-dir ./ai-configsSee examples/custom-source.md to add your own documentation sources.
Examples
See the examples/ directory for integration guides:
LangChain Integration - Build a React Native coding agent
LlamaIndex Integration - RAG with local documentation
Adding Custom Sources - Add Supabase, Reanimated, etc.
Contributing
See CONTRIBUTING.md for guidelines.
License
MIT - see LICENSE
Available Tools
12 toolscompare-api-versionsA
Compares API differences between two versions of a library, showing added, removed, and modified APIs. Useful for understanding breaking changes and new features when upgrading.
Inputs: library (required), toVersion (required), fromVersion (required), cwd, +2 more.
detect-project-contextB
Detects the React Native, Expo, React Navigation, and Ignite versions in the current project.
Inputs: cwd.
find-examplesC
Finds code examples for a specific topic using the index
Inputs: topic (required), library (required), cwd, version.
generate-ai-templateA
Generates configuration files for AI coding assistants and agentic frameworks (Cursor, Windsurf, Kiro, Claude Code, Cline, Aider, Devin, etc.). These templates provide React Native best practices, API validation rules, and project context to help AI assistants write better code.
Inputs: framework, outputDir, generateAll, listFrameworks, +1 more.
generate-component-scaffoldB
Generates boilerplate code for common React Native patterns like FlatList, navigation screens, forms, API calls, and more. Returns production-ready, type-safe code following best practices.
Inputs: library, category, language, scaffoldId, +4 more.
get-best-practicesC
Get performance and architecture best practices for a library
Inputs: library (required).
get-library-docsB
Get specific documentation with smart chunking and pagination for token efficiency
Inputs: topic (required), library (required), cwd, page, +1 more.
resolve-libraryA
Resolves a fuzzy library name to exact library ID and available versions
Inputs: query (required).
search-docsA
Lists available documentation topics for a library. Use semantic-search-docs for AI-powered content search.
Inputs: library (required), cwd, version.
semantic-search-docsA
Performs semantic search across documentation using AI embeddings to find conceptually similar content, even when exact keywords don't match. Returns the most relevant documentation chunks with similarity scores.
Inputs: query (required), cwd, topK, library, +2 more.
suggest-migration-pathA
Provides step-by-step migration guidance for upgrading between library versions, including breaking changes, deprecated APIs, code examples, and estimated effort. Combines curated migration guides with documentation search.
Inputs: library (required), toVersion (required), cwd, format, +2 more.
validate-apiA
Fast validation if a symbol exists, checking node_modules first then docs index
Inputs: symbol (required), library (required), cwd.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools have distinct purposes (resolve, detect, validate, compare, etc.), but the documentation tools (search-docs, get-library-docs, semantic-search-docs) and version tools (compare-api-versions vs suggest-migration-path) overlap somewhat. Descriptions help clarify their intended use, so the ambiguity is limited.
Eleven of twelve tools follow a clear verb_noun pattern (e.g., resolve-library, get-best-practices, validate-api). 'semantic-search-docs' breaks this pattern by starting with an adjective, creating a minor inconsistency.
12 tools is within the ideal 3-15 range for a focused toolkit. Each tool serves a distinct need without unnecessary redundancy, making the scope well-balanced.
The toolkit covers library resolution, documentation access, examples, validation, code generation, and migration guidance, which is comprehensive for a React Native development assistant. Minor gaps like project initialization or dependency management exist but are not central to the toolkit's purpose.
Maintenance
Related MCP Connectors
Versioned documentation registry and semantic search for AI tools and coding assistants.
Your Expo and EAS project in natural language: up to date SDK docs, cloud builds (status, logs, trig
Search, read and install agent-ready React components, screens and blocks for AI products.
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides comprehensive tools for React Native development, automating project initialization, version management, upgrades, Expo integration, and development workflows through AI assistance.221 npm21MIT
- AlicenseAqualityDmaintenanceProvides up-to-date, version-specific documentation and code examples for libraries and frameworks directly into AI prompts, eliminating outdated code generation and hallucinated APIs.21,132,421 npmMIT
- AlicenseNot gradedqualityDmaintenanceProvides real-time, up-to-date documentation for major LLM providers (OpenAI, Anthropic, Google Gemini) to prevent hallucinations and outdated code patterns in AI agents.22 npm6MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to perform semantic search over React Native documentation, retrieve specific pages, and manage doc versions locally without API keys.16 npmMIT