React Native SME Documentation MCP Server
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 SME Documentation MCP ServerFind React Native docs on FlatList performance optimization."
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.
π React Native SME Documentation MCP Server
A powerful Model Context Protocol (MCP) server that gives your AI assistants instant access to comprehensive React Native SME documentation with smart fuzzy search capabilities and fast retrieval for an enhanced mobile development workflow.
π Coverage: 3,090+ sections | π¦ Documentation Source: Local
docs/llms-full.txt(3.9MB)
β¨ Key Features
π― Feature | π Description | π Benefits |
π Smart Search | Fuzzy search through 3,090+ documentation sections powered by Fuse.js | Find solutions, components, hooks, and guides even with partial queries |
π Precise Retrieval | Retrieve exact sections by title or path identifier | Get targeted documentation without cluttering AI context |
π Section Listing | List available sections with optional category filtering | Explore topics, modules, and architecture guides |
β‘ Fast & Lightweight | TypeScript-powered running over stdio | Zero-lag responses for AI code assistants |
π¦ Zero External Dependency | Bundled with local documentation | Operates completely offline without external API keys |
Related MCP server: expo-docs
π Prerequisites
Node.js 18+
Yarn (v4) or npm
AI Assistant with MCP support:
Or any MCP-compatible client
π Installation & Setup
1. Clone and Install
# Clone the repository
git clone https://github.com/cristminix/react-native-sme-docs-mcp.git
cd react-native-sme-docs-mcp
# Install dependencies using Yarn
yarn install
# Build the TypeScript code
yarn build2. Documentation
Documentation files are located in ./docs/:
docs/llms-full.txt(default full documentation, ~3.9MB, 3,090+ sections)docs/llms.txt(summary documentation)
Optional: Point to a custom documentation file using an environment variable:
export LLM_DOCS_PATH="/absolute/path/to/your/documentation.txt"βοΈ Configuration for AI Assistants
Replace /absolute/path/to/react-native-sme-docs-mcp with your actual project location.
π’ Claude Code CLI
Add to your ~/.claude/claude_code_config.json or project-level .claude/mcp.json:
{
"mcpServers": {
"react-native-sme-docs": {
"command": "node",
"args": ["/absolute/path/to/react-native-sme-docs-mcp/dist/index.js"],
"env": {
"LLM_DOCS_PATH": "/absolute/path/to/react-native-sme-docs-mcp/docs/llms-full.txt"
}
}
}
}π· Cursor IDE
Add to your Cursor settings (settings.json):
{
"mcp": {
"mcpServers": {
"react-native-sme-docs": {
"command": "node",
"args": ["/absolute/path/to/react-native-sme-docs-mcp/dist/index.js"],
"env": {
"LLM_DOCS_PATH": "/absolute/path/to/react-native-sme-docs-mcp/docs/llms-full.txt"
}
}
}
}
}π Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"react-native-sme-docs": {
"command": "node",
"args": ["/absolute/path/to/react-native-sme-docs-mcp/dist/index.js"],
"env": {
"LLM_DOCS_PATH": "/absolute/path/to/react-native-sme-docs-mcp/docs/llms-full.txt"
}
}
}
}π§ Available MCP Tools
This MCP server provides 3 core tools:
π 1. search_docs - Fuzzy Documentation Search
Searches documentation sections using fuzzy matching.
Parameters:
query(string, required): The search query (e.g."navigation","flatlist performance","reanimated")limit(number, optional): Maximum results to return (default:5)
Example Input:
{
"name": "search_docs",
"arguments": {
"query": "state management hooks",
"limit": 3
}
}π 2. get_section - Precise Section Retrieval
Retrieves the full content of a specific documentation section matching the title or path identifier.
Parameters:
identifier(string, required): Section title or path identifier
Example Input:
{
"name": "get_section",
"arguments": {
"identifier": "Performance Optimization"
}
}π 3. list_sections - Browse Documentation Sections
Lists available sections, optionally filtered by keyword or category.
Parameters:
category(string, optional): Filter sections by specific keyword or path prefix
Example Input:
{
"name": "list_sections",
"arguments": {
"category": "components"
}
}π― Natural Language Prompts for AI
After configuring the MCP server, you can ask your AI assistant questions naturally:
π¬ "Search React Native SME docs for FlatList performance optimization techniques."
π¬ "Look up best practices for custom hooks in React Native."
π¬ "Get the documentation section for deep linking and navigation."
π¬ "List all documentation sections related to state management."
π Project Structure
react-native-sme-docs-mcp/
βββ .agents/plugins/ # Agent plugin configuration
βββ docs/
β βββ llms-full.txt # Complete React Native documentation (3,090+ sections)
β βββ llms.txt # Documentation overview
βββ mcp-config-files/ # MCP sample configuration templates
βββ src/
β βββ config.ts # Configuration loader
β βββ doc-loader.ts # Markdown & txt documentation parser
β βββ index.ts # Entrypoint
β βββ search.ts # Fuse.js search engine
β βββ server.ts # MCP server setup & lifecycle
β βββ tools.ts # MCP tool definitions & handlers
β βββ types.ts # TypeScript interfaces & types
βββ config.json # Server configuration defaults
βββ package.json # Project dependencies & scripts
βββ tsconfig.json # TypeScript compiler settings
βββ LICENSE # License file
βββ README.md # Project documentationβοΈ Configuration (config.json)
Customize server behavior via config.json:
{
"searchDefaults": {
"maxResults": 5,
"threshold": 0.4,
"minMatchCharLength": 3
},
"listDefaults": {
"maxSections": 50
},
"server": {
"name": "react-native-sme-docs-mcp",
"version": "1.0.0"
},
"documentation": {
"previewLength": 500,
"fallbackPaths": [
"docs/llms-full.txt",
"docs/llms.txt"
]
}
}π§ Development
# Run in development mode
yarn dev
# Run in watch mode (auto-reload on changes)
yarn watch
# Build TypeScript to dist/
yarn build
# Test MCP server manually via stdin
echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | node dist/index.jsπ License
This project is licensed under the MIT License.
This server cannot be deployed
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
Provide your AI coding tools with token-efficient access to up-to-date technical documentation forβ¦
Apple developer docs and WWDC transcripts with RAG retrieval and Jev relevance ranking.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides AI agents with accurate, version-aware documentation for React Native, Expo, React Navigation, and Ignite by automatically detecting project dependencies and fetching matching documentation.12MIT
- AlicenseNot gradedqualityCmaintenanceEnables fast, offline search and retrieval of Expo documentation from local .mdx files, with tools for searching, getting content, listing sections, API references, and quick start guides.76 npm17MIT
- AlicenseNot gradedqualityBmaintenanceProvides AI-optimized offline access to the Gravity UI design system, enabling natural language search and retrieval of components, hooks, utilities, and recipes.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search and read offline documentation from synced libraries via MCP tools, providing hybrid keyword and semantic search without network calls.18 npm1MIT