cross-dev-mcp
cross-dev-mcp
Plattformübergreifendes MCP für die lokale React-Native-Entwicklung mit echten Geräten. V1 unterstützt echte Android-, iOS- und HarmonyOS-Geräte und bietet vorrangig Echtzeit-Verbindungsstatus, Screenshots/Bildschirmbilder, Logs, Doctor, Evidence und Codex-Kontext-Rückmeldung.
Das vollständige Design und die Roadmap finden Sie in docs/cross-dev-mcp-design-and-roadmap.md.
V1-Architektur
Codex / MCP Host
├─ stdio MCP tools
└─ Vue 3 MCP App
│ REST + WebSocket
Hono Daemon
│ unified TypeScript API
CrossDevService
├─ Android: Tango + Google ADB Server(无 scrcpy)
├─ iOS: go-ios(仅真机)
└─ HarmonyOS: 官方 HDC / UITest / HiLog(仅真机)Gerätefunktionen werden über Provider implementiert; die Anwendungsebene verwendet nur einheitliche Protokolle wie RuntimeTarget, RawFrame und NormalizedLogRecord. Die DOM-/Elementprüfung behält nur die zukünftige Schnittstellengrenze bei und gehört nicht zum aktuellen P0.
Related MCP server: React Native Debug MCP
Entwicklung
pnpm install
pnpm devpnpm dev startet gleichzeitig den Geräte-Daemon unter http://127.0.0.1:4110 und die Vue/Vite-Entwicklungsseite unter http://127.0.0.1:5173. Das MCP-Frontend ist in zwei Modi verfügbar:
# 调试模式:从 Vite 加载实时源码并启用 HMR
pnpm mcp:dev
# 正式模式:读取 apps/dashboard/dist 构建产物
pnpm build
pnpm mcpHäufige Verifizierung:
pnpm typecheck
pnpm test
pnpm buildDie Standardadresse des Daemons lautet http://127.0.0.1:4110. Das Dashboard kann eigenständig geöffnet werden und wird außerdem über das MCP-Tool mobile_open_dashboard in Hosts geöffnet, die MCP-Apps unterstützen.
Wenn Sie die UI ohne echtes Gerät demonstrieren möchten, können Sie vorübergehend CROSS_DEV_FAKE=1 pnpm dev:daemon verwenden; beim Produktions-/MCP-Start wird der Fake-Provider standardmäßig nicht registriert.
Zu Codex hinzufügen
Auf dem aktuellen Rechner kann stdio MCP direkt registriert werden:
codex mcp add cross-dev-mcp -- \
pnpm --silent --dir /Users/didi/VscodeProjects/phone-dev-mcp mcp:devDie obige Registrierung dient der lokalen Fehlersuche und lässt die Codex-MCP-App den Vite-Echtzeit-Quellcode direkt laden. Ändern Sie für den offiziellen Einsatz mcp:dev am Ende in mcp. Nach einem Neustart oder einer Aktualisierung der Codex-MCP-Liste kann mobile_open_dashboard aufgerufen werden, um die Arbeitsumgebung zu öffnen. Wenn das Projekt in ein anderes Verzeichnis verschoben wird, ersetzen Sie bitte den absoluten Pfad im Befehl entsprechend.
Die Zuständigkeiten, APIs, Plattformprinzipien und Verifizierungsbefehle der einzelnen Unterpakete finden Sie in den entsprechenden packages/*/README.md; alle öffentlichen und wichtigen Implementierungsmethoden verwenden chinesische JSDoc-Kommentare.
Standardmäßig wird nur 127.0.0.1 überwacht. Schreiboperationen am Gerät, Signierung, Installation, Tunnel und Rechteerweiterung werden ohne Bestätigung nicht ausgeführt.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables comprehensive control of Android devices via ADB for Flutter development, UI testing, and visual QA workflows. Provides 60+ tools for device management, UI inspection, app testing, performance profiling, and debugging through natural language.77MIT
- AlicenseBqualityDmaintenanceEnables AI agents to inspect, log, and control React Native apps on Android emulators or iOS simulators, including UI tree, tap, scroll, and hot reload.221,1065MIT
- AlicenseNot gradedqualityDmaintenanceBridges React Native DevTools, enabling AI assistants to debug, profile, and inspect React Native applications through a standardized protocol.194MIT
- FlicenseNot gradedqualityBmaintenanceBridges your IDE to a running React Native/Expo mobile app over local Wi-Fi, providing live device status, app logs, and a combined standup snapshot.
Related MCP Connectors
Live browser debugging for AI assistants — DOM, console, network via MCP.
Give AI coding agents access to your Vynix visual feedback, bug reports, and AI diagnosis.
Voice-powered bug reporting with 13 MCP tools. Record bugs by talking; let AI find and fix them.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/WX-DongXing/cross-dev-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server