Expo MCP Server
Enables programmatic interaction with Expo/React Native projects and EAS (Expo Application Services) for managing builds, publishing OTA updates, submitting apps to stores, and accessing comprehensive documentation.
README
Expo MCP Server
Model Context Protocol (MCP) server for Expo.dev that enables programmatic interaction with Expo projects and EAS (Expo Application Services).
Overview
This MCP server provides comprehensive tools for managing Expo/React Native projects, including:
- Project Management: Initialize projects, install packages, configure apps
- Development Workflow: Run diagnostics and health checks
- EAS Build: Create, monitor, and manage cloud builds for iOS and Android
- EAS Update: Publish over-the-air updates and manage update channels
- EAS Submit: Submit builds to App Store and Google Play
- Documentation Access: Direct links to official Expo and React Native documentation
Features
Tools
Project Management:
expo_init_project- Create new Expo projects with templatesexpo_install_packages- Install packages with automatic version validationexpo_get_config- View and validate app configurationexpo_prebuild- Generate native iOS/Android project directories
Development:
expo_doctor- Run comprehensive project diagnostics
EAS Build:
eas_build_create- Trigger cloud builds for iOS, Android, or botheas_build_list- List recent builds with filteringeas_build_status- Get detailed build status and logseas_build_cancel- Cancel in-progress builds
EAS Update (OTA):
eas_update_publish- Publish over-the-air updates to branches/channelseas_update_list- List published updateseas_channel_create- Create update channels for distribution
EAS Submit:
eas_submit_ios- Submit iOS builds to App Store Connect/TestFlighteas_submit_android- Submit Android builds to Google Play Console
Information:
expo_whoami- Check authentication statuseas_project_info- Get EAS project configuration and metadata
Resources
The server exposes documentation resources that link to official Expo and React Native docs:
Expo Documentation:
expo://docs/llms- Complete Expo documentation (LLM-optimized)expo://docs/eas-build- EAS Build guideexpo://docs/eas-update- EAS Update guideexpo://docs/eas-submit- EAS Submit guideexpo://docs/cli-reference- Expo CLI referenceexpo://docs/development-builds- Development builds guideexpo://docs/programmatic-access- Authentication and API accessexpo://docs/config-plugins- Config plugins guideexpo://docs/debugging- Debugging guide
React Native Documentation:
expo://docs/react-native/llms- React Native docs (LLM-optimized)expo://docs/react-native/troubleshooting- Troubleshooting guideexpo://docs/react-native/debugging- Debugging guide
Installation
Using Smithery (Recommended)
npx @smithery/cli install expo-mcp-server
From Source
git clone <repository-url>
cd expo-mcp-server
npm install
npm run build
Configuration
Authentication
The server requires an Expo access token for EAS operations. You can provide it in two ways:
- Environment Variable (recommended):
export EXPO_TOKEN=your_token_here
- Server Configuration:
{
"expoToken": "your_token_here",
"defaultFormat": "markdown"
}
To create an access token:
- Visit https://expo.dev/settings/access-tokens
- Create a new token
- Set it as
EXPO_TOKENenvironment variable
MCP Client Configuration
Add to your MCP client settings (e.g., Claude Code):
{
"mcpServers": {
"expo-dev": {
"command": "npx",
"args": ["-y", "expo-mcp-server"],
"env": {
"EXPO_TOKEN": "your_token_here"
}
}
}
}
Usage Examples
Create a New Expo Project
// Use the expo_init_project tool
{
"projectName": "my-awesome-app",
"template": "blank-typescript",
"format": "markdown"
}
Trigger a Production Build
// Use the eas_build_create tool
{
"platform": "all",
"profile": "production",
"format": "markdown"
}
Publish an OTA Update
// Use the eas_update_publish tool
{
"branch": "production",
"message": "Fix critical authentication bug",
"format": "markdown"
}
Check Build Status
// Use the eas_build_status tool
{
"buildId": "abc-123-def-456",
"format": "markdown"
}
Output Formats
All tools support two output formats:
markdown(default): Human-readable tables and formatted textjson: Structured data for programmatic processing
Error Handling
The server provides actionable error messages with:
- Clear descriptions of what went wrong
- Suggested next steps for resolution
- Links to relevant documentation resources
- Context-specific troubleshooting guidance
Common errors include:
- Authentication errors: Points to programmatic access documentation
- Build failures: Links to EAS Build troubleshooting
- Configuration errors: Suggests config validation steps
- React Native errors: Links to RN troubleshooting guides
Requirements
- Node.js: 18.0.0 or higher
- Expo Account: Required for EAS operations
- Access Token: For programmatic API access
Development
# Install dependencies
npm install
# Build the server
npm run build
# Run in development mode with Smithery playground
npm run dev
Architecture
The server is built with:
- TypeScript: Type-safe implementation
- MCP SDK: Official Model Context Protocol SDK
- Zod: Runtime schema validation
- execa: CLI command execution
Project Structure
src/
├── index.ts # Main server entry point
├── types.ts # Shared types and schemas
├── resources/
│ └── documentation.ts # Documentation resource registrations
├── tools/
│ ├── project.ts # Project management tools
│ ├── development.ts # Development workflow tools
│ ├── build.ts # EAS Build tools
│ ├── update.ts # EAS Update tools
│ ├── submit.ts # EAS Submit tools
│ └── info.ts # Information tools
└── utils/
├── cli.ts # CLI execution utilities
├── format.ts # Response formatting
├── parse.ts # Output parsing
└── errors.ts # Error handling
Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
License
MIT License - see LICENSE file for details
Resources
Support
For issues and questions:
- GitHub Issues: [Create an issue]
- Expo Forums: https://forums.expo.dev/
- Expo Discord: https://chat.expo.dev/
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。