expo-headless-mcp MCP Server
See and operate Expo / React Native apps: screenshots, taps, typing, auto-testing. No emulator.
expo-headless-mcp scores 66 (Good), licensed MIT and written in JavaScript. It installs as a local process. It declares 6 tools. Filed under Knowledge. GitHub shows 0 stars. Package registries report about 77 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
90/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "abubakr-sanginov-expo-headless-mcp": { "command": "npx", "args": [ "-y", "expo-headless-mcp@0.2.0" ], "env": { "EXPO_PROJECT": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
EXPO_PROJECT | Optional | Absolute path of the Expo project to render (can also be passed per call as projectPath). |
Tools6Tool docs quality grade C
All capabilitiesauto_testtoolmonkey-test everything: several rounds of reload, fill every input with varied data (empty, invalid, valid, very long, special characters, Cyrillic, CJK, Arabic/Hebrew, emoji), tap every button/switch (scrolling to reach it), dismiss al
click_screentooltap at x,y or by target (testID / text), long, or alert:<button>
describe_screentooltext outline of elements + layout warnings (overlap, clipped text, off-screen)
refresh_screentoolrebuild and show the screen (projectPath, entry, width, height, scale, reload)
scroll_screentoolscroll the area under x,y
type_texttooltype into a TextInput (target or x,y, submit, append)
About
expo-headless-mcp
An MCP server that lets an AI see and operate an Expo / React Native app without an emulator, a phone or a browser — real PNG screenshots, taps, typing, scrolling and automatic bug hunting. (Русская версия: README.ru.md)
Documentation
- Getting started — install for Claude Code / Claude Desktop / Cursor, first run
- Tools reference — every tool and parameter
- Device mode — Android emulator/phone and iOS Simulator, consent and safety model
- How it works — architecture, what is supported, development
- Troubleshooting
How it works
Metro + Expo Go need a native runtime, so instead:
esbuildbundles your project (App.*ormain), swappingreact-nativefor a light shim (src/shim/rn.js) and native-only packages (expo-*,react-native-*) for stubs.- The app runs in Node; React renders into our own tree (
react-reconciler). - Layout is computed by Yoga (the flexbox engine React Native uses) and painted by Skia (
@napi-rs/canvas) into a PNG.
Limits: an approximation, not real iOS/Android — fonts, shadows, animations and native modules differ; expo-router / react-navigation are not supported; state resets on refresh_screen.
Tools
refresh_screen— rebuild and show the screen (projectPath,entry,width,height,scale,reload)click_screen— tap atx,yor bytarget(testID / text),long, oralert:<button>type_text— type into a TextInput (targetorx,y,submit,append)scroll_screen— scroll the area underx,ydescribe_screen— text outline of elements + layout warnings (overlap, clipped text, off-screen)auto_test— monkey-test everything: several rounds of reload, fill every input with varied data (empty, invalid, valid, very long, special characters, Cyrillic, CJK, Arabic/Hebrew, emoji), tap every button/switch (scrolling to reach it), dismiss alerts. Reports crashes, console errors, layout problems and dead buttons with screenshots.
The server ships built-in instructions: after any code change the AI must rebuild, check by hand, run auto_test, fix and repeat until a full pass is clean. The MCP prompt verify_changes triggers the same loop.
Languages
The server's text is English, and the AI answers in whatever language the user writes in. Rendering falls back to system fonts for Latin, Cyrillic, CJK, Devanagari, Arabic, Hebrew and emoji (install Noto fonts on Linux). Right-to-left layout (I18nManager) is not simulated; RTL text itself renders.
Install
claude mcp add expo -e EXPO_PROJECT=/path/to/app -- npx -y expo-headless-mcp
Tests: npm test (end-to-end), node test/mcp.js (stdio).
Real device mode (optional)
Besides the headless renderer, the AI can drive Expo Go on an Android emulator or a USB phone through adb (Windows, macOS, Linux) and in a booted iOS Simulator (macOS with Xcode only). Physical iPhones are not supported: Apple does not allow remote input without heavy tooling — open Expo Go on the iPhone yourself.
Tools: device_list (read-only), use_target (device / headless), press_key; refresh_screen, click_screen, type_text, scroll_screen, describe_screen then act on the device.
Safety rules built into the server:
- Nothing is connected / adb missing → it says so, changes nothing, and recommends that you check the app yourself (or use headless mode).
- USB debugging off or unauthorized → it explains how to enable it and warns up front that it will tap, type and scroll on your phone.
- Consent first. It asks you (MCP elicitation, or via the AI in chat if your client lacks it) before controlling a physical phone, before installing Expo Go when it is missing, and before replacing an Expo Go whose SDK does not match the project (the matching build comes from Expo's official release list; a downgrade needs an uninstall first, which is stated in the question). If you decline, nothing is done and it will not retry.
- It only touches Expo Go: every tap/type/swipe first checks that Expo Go is in the foreground. Allowed keys: back, enter, tab, delete.
auto_testis headless-only (it taps everything). Non-ASCII text cannot be typed through adb — test other languages in headless mode.
Status: the Android path has been used on a real phone by the author, and is covered by automated tests against a fake adb.
Starting the dev server runs npx expo start in your project (it asks before running npm install if dependencies are missing). Override with EXPO_MCP_METRO_CMD; set EXPO_MCP_ADB to use a specific adb.
iOS Simulator notes
- Needs macOS + Xcode (
xcrun simctl) and Facebook idb for taps/typing/UI tree (brew tap facebook/fb && brew install idb-companion && pip3 install fb-idb). Without idb the server only tells you how to install it; it never installs it. - Expo Go for the project's SDK is installed/replaced only after you consent (official build from Expo's release list).
- The simulator is disposable, so there is no per-app focus check; there is no hardware Back key on iOS.
- Status: the iOS path is covered by tests against fake
xcrun/idbonly — it has not been run on a real Mac yet.
Frequently asked questions
What is expo-headless-mcp MCP Server?
See and operate Expo / React Native apps: screenshots, taps, typing, auto-testing. No emulator.
How do I install expo-headless-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. expo-headless-mcp MCP Server runs locally from the npm package expo-headless-mcp with the command npx -y expo-headless-mcp@0.2.0.
Is expo-headless-mcp MCP Server free and open source?
Yes. expo-headless-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does expo-headless-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for expo-headless-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does expo-headless-mcp MCP Server provide?
expo-headless-mcp MCP Server provides 6 tools, including auto_test, click_screen, describe_screen, and refresh_screen. See the full tool list for descriptions and parameters.
How is expo-headless-mcp MCP Server's trust score calculated?
expo-headless-mcp MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.