đ€ Why NeuralBridge?
Existing Android automation falls into two camps â and both share the same bottleneck:
- Test frameworks (Appium, Maestro) â built for QA, not AI agents. Every action routes through ADB or UIAutomator IPC, costing 200-1000ms per operation.
- MCP wrappers (mobile-mcp, droidrun) â AI-aware, but thin ADB wrappers underneath. 200-2000ms per action.
NeuralBridge takes a different approach: an on-device AccessibilityService that executes actions in-process, eliminating IPC overhead entirely.
| NeuralBridge | Appium | Maestro | mobile-mcp | droidrun | ADB Shell | |
|---|---|---|---|---|---|---|
| ⥠Tap latency | ~2ms | 300-1000ms | 750ms-2s | 500-2000ms | 200-1000ms | 300-1000ms |
| âšïž Text input | ~1.4ms | 500-3000ms | 750ms-2s | 500-2000ms | 200-1000ms | 500-2000ms |
| đł UI tree read | 18-33ms | 500-2000ms | 750ms-2s | 1-5s | 200-500ms | 1-5s |
| đž Screenshot | ~60ms | 300-500ms | ~1s | 300-500ms | ~250ms | 300-500ms |
| đ MCP native | Yes | Add-on | Yes (stdio) | Yes | Via adapter | No |
| đ ïž MCP tools | 43 | 30+ (add-on) | 14+ | ~19 | ~11 | â |
| đŻ Token optimization | Yes (73%) | No | No | No | No | No |
[!TIP] 100x faster on average â NeuralBridge averages 6.4ms per action vs ~800ms for Appium and ~1.5s for mobile-mcp. See full benchmarks â
đïž How It Works
Your AI agent speaks MCP over HTTP directly to the companion app â no middleware, no ADB, no intermediate server.
[!NOTE] 1 hop, not 5. Appium routes through HTTP â Appium Server â ADB â UIAutomator2 â Device. NeuralBridge goes Agent â HTTP â Companion App. The AccessibilityService runs in-process â like the difference between a phone call and a note on your own desk. Deep dive â
đ Quickstart
Prerequisites: Android SDK (API 24+), Java JDK 17, Android device or emulator (7.0+)
1ïžâŁ Clone & Build
bashgit clone https://github.com/dondetir/NeuralBridge_mcp.git cd NeuralBridge_mcp/android ./gradlew assembleDebug
2ïžâŁ Install & Enable
bash# Install the companion app adb install -r app/build/outputs/apk/debug/app-debug.apk # Enable AccessibilityService adb shell settings put secure enabled_accessibility_services \ com.neuralbridge.companion/.service.NeuralBridgeAccessibilityService adb shell settings put secure accessibility_enabled 1
[!IMPORTANT] Android 15+ requires an extra step: Settings â Apps â NeuralBridge â Enable "Allow restricted settings"
3ïžâŁ Connect Your AI Agent
The app shows its IP on the main screen. Add it to your agent's MCP config:
bash# Claude Code claude mcp add neuralbridge http://<device-ip>:7474/mcp --transport http
json{ "mcpServers": { "neuralbridge": { "type": "http", "url": "http://<device-ip>:7474/mcp" } } }
4ïžâŁ Verify
Ask your AI agent: "Take a screenshot of the Android device" â if you see a screenshot, you're connected! đ
đ Documentation
| Document | What's inside | |
|---|---|---|
| đïž | Architecture | Data flow, command paths, selector system, limitations |
| đ ïž | Tools Reference | All 32 MCP tools with descriptions and latencies |
| ⥠| Performance | Benchmarks, architecture comparison, token optimization |
| đ§ | Troubleshooting | Connection issues, permissions, screenshots, crashes |
| đš | Development | Building from source, project structure, protobuf, logs |
| đ± | Android App | App-specific setup and permissions |
| đ€ | Contributing | Code style, PR process, guidelines |
| đ | Security | Vulnerability reporting policy |
đșïž Roadmap
-
Core MVP â 16 tools, TCP protocol, basic gestures -
Advanced gestures, selectors, event streaming, notifications -
Semantic resolver, scroll-to-element, accessibility audit, screenshot diff - Multi-device, WebView tools, CI/CD integration, visual regression
đ€ Contributing
See CONTRIBUTING.md for guidelines. High-priority areas: additional MCP tools, performance optimizations, cross-platform support (iOS), and example demos.
đ License
Apache 2.0 â Copyright 2026 dondetir
"Powered by NeuralBridge"



