expo-mcp
Enables AI assistants to execute Expo and EAS operations including project setup, cloud builds, OTA updates, app submission, and diagnostics.
README
Expo MCP Monorepo
Model Context Protocol (MCP) server capabilities for Expo and EAS workflows.
This repository contains:
packages/expo-mcp: MCP tools, prompts, and docs resources for Expo projectspackages/mcp-tunnel: stdio/tunnel proxy layer for local and remote MCP transportexpo-mcp-server.mjs: dynamic launcher for Codex/Claude MCP config
What It Does
The Expo MCP server enables AI assistants to execute Expo and EAS operations:
| Category | Capabilities |
|---|---|
| Project Setup | Initialize projects, install packages, prebuild native folders, inspect config |
| Cloud Builds | Create/list/view/cancel EAS builds |
| OTA Updates | Publish/list updates and create channels |
| App Submission | Submit iOS and Android builds |
| Diagnostics | Run expo doctor, check auth, inspect EAS project metadata |
| Docs Access | Search/fetch Expo docs and expose docs as MCP resources |
Requirements
- Node.js
18+ - Bun (for local development scripts in this monorepo)
- Expo account
EXPO_TOKENfor account/EAS actions in MCP tools- Create token: expo.dev/settings/access-tokens
Quick Start
bun install
bun run build
MCP Setup
Use the dynamic launcher so manual server start is not required:
{
"mcpServers": {
"expo-mcp-demo": {
"command": "node",
"args": [
"D:/expo-mcp-demo/expo-mcp-server.mjs",
"--root",
"D:/expo-mcp-demo"
],
"env": {
"EXPO_TOKEN": "your_token_here"
}
}
}
}
Optional launcher flags/env:
--root/EXPO_PROJECT_ROOT: Expo project root--dev-server-url/EXPO_DEV_SERVER_URL: explicit Metro URL--mcp-server-url/EXPO_MCP_SERVER_URL: tunnel server URL
Dynamic behavior:
- If dev server URL is omitted, launcher auto-detects local Metro/Expo server.
- If tunnel URL is present, server runs in composite mode (stdio + tunnel).
- Otherwise server runs as stdio MCP only.
Tools
Project Management
expo_init_projectexpo_install_packagesexpo_get_configexpo_prebuild
EAS Build
eas_build_createeas_build_listeas_build_statuseas_build_cancel
EAS Update (OTA)
eas_update_publisheas_update_listeas_channel_create
EAS Submit
eas_submit_ioseas_submit_android
Utilities
expo_doctorexpo_whoamieas_project_info
Docs Tools
expo_docs_listexpo_docs_searchexpo_docs_get
Dev/Automation Tools
open_devtoolscollect_app_logsexpo_router_sitemapautomation_tapautomation_take_screenshotautomation_find_view_by_testidautomation_find_viewautomation_tap_by_testidautomation_take_screenshot_by_testidautomation_swipeautomation_scrollautomation_type_textautomation_press_key
MCP Resources
Docs resources exposed by the server:
expo://docs/llmsexpo://docs/llms-fullexpo://docs/llms-easexpo://docs/llms-sdkexpo://docs/llms-sdk-v53.0.0expo://docs/llms-sdk-v52.0.0expo://docs/llms-sdk-v51.0.0expo://docs/eas-buildexpo://docs/eas-updateexpo://docs/eas-submitexpo://docs/cli-reference
Output Formats
Expo/EAS tools support:
markdown(default)json
Development
Root
bun run build
bun run lint
bun run test
Per package
cd packages/expo-mcp
bun run build
bun run lint
bun run test
bun run typecheck
How To Add a New Tool
- Add tool implementation in
packages/expo-mcp/src/mcp/tools/expo/*.tsor relevant module. - Register tool in
packages/expo-mcp/src/mcp/tools.ts. - If tool needs docs references, update
packages/expo-mcp/src/mcp/tools/expoDocs.ts. - Add/update output schema and error handling through
expo-utils. - Run:
bun run typecheckinpackages/expo-mcpbun run buildinpackages/expo-mcpbun run lint --max-warnings=0in affected package(s)
Dependency Notes
- Runtime CLI execution uses
npx expoandnpx eas-cli. - EAS commands require
EXPO_TOKENand run non-interactive in MCP context. - Transport layer supports both newline JSON and
Content-Lengthframing for MCP compatibility.
Troubleshooting
Authentication required for EAS commands:- Set
EXPO_TOKENin MCP server environment.
- Set
No dev server found:- Start Metro (
npx expo start) or setEXPO_DEV_SERVER_URL.
- Start Metro (
- MCP startup/handshake issues:
- Ensure launcher points to
expo-mcp-server.mjs. - Rebuild changed packages (
bun run build).
- Ensure launcher points to
License
MIT
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。