ScreenSync MCP guide

Testing Android AppFunctions with Claude Code and MCP

Test Android 16 AppFunctions (androidx.appfunctions) on real hardware with Claude Code and ScreenSync MCP. Verify Binder IPC schemas, adb cmd app_function calls, Logcat traces, and live UI updates.

Minimalist 3D architectural render of an Android smartphone with modular function blocks linked by glowing purple fiber-optic lines to a developer laptop in deep navy lighting

Android 16 (API level 36) introduces androidx.appfunctions, a platform framework that turns installed Android applications into discoverable, schema-typed tool providers for on-device assistants via Binder inter-process communication (IPC). While Android AppFunctions operates as an on-device tool registry inside the operating system, it offers zero visibility into rendered pixels, accessibility view hierarchies, or downstream UI mutations during development. Pairing Android AppFunctions with ScreenSync MCP—an Android and browser Model Context Protocol (MCP) server built by EpsolDev—lets AI coding agents like Claude Code invoke @AppFunction endpoints via Android Debug Bridge (ADB) and immediately verify visual, storage, and Logcat state on physical hardware.

Key Takeaways

  • Two Complementary Layers: Android AppFunctions (androidx.appfunctions) exposes app capabilities as on-device Binder IPC tools on Android 16+, whereas ScreenSync MCP connects desktop coding agents (Claude Code, Claude Desktop, Cursor, VS Code) to physical Android 7.0+ devices and Chrome/Edge tabs.
  • Capture vs. Control Separation: ScreenSync MCP captures device frames via Android's native MediaProjection API (about 94 ms median on a LAN in EpsolDev's tests, requiring no root and no ADB), while touch, typing, and ADB shell execution (cmd app_function) run through ADB over USB or wireless debugging.
  • 226 Total MCP Tools: The ScreenSync MCP hub (Node.js 18+, HTTP port 3000, MCP over stdio) provides 29 phone and desktop tools (12 control_*, 3 os_*, and 14 capture/hub tools including get_latest_screenshot, get_ui_hierarchy, get_logcat, and record_screen) plus *197 `web_` browser tools**.
  • Closing the Headless Verification Gap: Executing adb shell cmd app_function execute-app-function only confirms a JSON or YAML Binder payload; combining it with get_ui_hierarchy, get_latest_screenshot, and get_logcat proves that Room databases, notifications, and foreground UI screens actually updated.
  • Local-First Network Privacy: Screen frames travel from the Android phone to your desktop hub over your local network using SCREEN_SYNC_TOKEN authentication and never pass through EpsolDev servers (Google Drive fallback is optional), though screenshots requested by an AI agent are sent to that agent's model provider.

Android AppFunctions vs Model Context Protocol (MCP): Architectural Boundaries

Android AppFunctions and the Model Context Protocol (MCP) solve tool discovery at different architectural boundaries. Android AppFunctions exposes local Kotlin methods to system-level Android 16 assistants over Binder IPC, while Model Context Protocol (MCP) connects external developer agents on a desktop host to real mobile hardware, browser tabs, and development telemetry over stdio or HTTP.

Understanding where Android AppFunctions ends and where ScreenSync MCP begins prevents engineering teams from choosing the wrong testing harness. In androidx.appfunctions, your application declares an AppFunctionService subclass annotated with @AppFunctionServiceEntryPoint and @AppFunction. At compile time, the Kotlin Symbol Processing (KSP) compiler androidx.appfunctions:appfunctions-compiler parses your Kotlin signatures and KDoc descriptions into a static XML schema (appfunctions.xml / configured service metadata) that Android 16's AppSearch and AppFunctionManager index when the APK is installed.

That on-device registry works well for runtime system intelligence, but it leaves developers blind during QA. When an assistant invokes an @AppFunction, it communicates across sandboxed process boundaries using Binder and AIDL without rendering a single frame unless the function explicitly starts an Activity or updates a background store. If your @AppFunction mutates a local database, schedules a background worker, or updates a screen that is currently in the foreground, unit tests using AppFunctionTestRule inside Robolectric cannot tell you whether your Jetpack Compose layout clipped, your foreground process crashed silently, or your authentication gate blocked the deep state transition.

By contrast, ScreenSync MCP runs a local desktop hub in Node.js 18+ that bridges Claude Code, Claude Desktop, Cursor, or VS Code agent mode directly to a physical Android smartphone (Android 7.0 or later) and your desktop browser. Rather than replacing Android AppFunctions inside your production APK, ScreenSync MCP gives your AI coding agent eyes and hands on the physical test device so it can inspect UI trees, verify rendered screens, tail Logcat, and drive ADB commands in one loop. For a complete breakdown of every mobile tool exposed by the hub, see the complete Android MCP tool reference.

Dimension Android AppFunctions (androidx.appfunctions) ScreenSync MCP (EpsolDev)
Primary Purpose On-device OS tool registry for system assistants External developer & QA automation server for AI coding agents
Minimum Android Version Android 16 (API level 36) Android 7.0+ (free app com.screensync.mcp on Google Play)
Transport & IPC Android Binder / AIDL + AppSearch metadata index Local MCP over stdio (desktop hub on port 3000)
Screen Capture Mechanism None (headless service execution by default) Native Android MediaProjection API (no root, no ADB required)
UI & Control Surface Programmatic function calls only 29 phone/desktop tools (control_tap, control_type, control_swipe, get_ui_hierarchy, get_latest_screenshot, get_logcat, record_screen) + 197 web_* browser tools
ADB Requirement Required for CLI debugging (cmd app_function) Capture requires no ADB; control_* tools use ADB (USB or wireless debugging)
Supported AI Clients System-level Android assistants (EXECUTE_APP_FUNCTIONS) Claude Code, Claude Desktop, Cursor, VS Code agent mode
Browser Context None MV3 Chrome/Edge extension for live browser tabs with human approval prompts

Notice how both ecosystems can share an intent-verification loop without competing. If you are already evaluating external mobile bridges, you can compare how local ScreenSync MCP architecture contrasts with alternative runners on our Android MCP servers comparison page.

Setting Up an AppFunctions Test App and ScreenSync MCP Hub

Setting up a physical-device AppFunctions testing pipeline requires two parallel configurations: adding the androidx.appfunctions KSP dependencies to your Android 16 application module and pairing the ScreenSync MCP Android app with the Node.js 18+ desktop hub so Claude Code can inspect both Binder execution and live device state.

1. Configuring androidx.appfunctions in Gradle and Kotlin

Start by declaring the Jetpack AppFunctions artifacts in your app module's build.gradle.kts (or build.gradle). Make sure compileSdk and targetSdk target API 36 (Android 16) so @RequiresApi(36) compiles cleanly and the KSP processor generates your schema metadata during assembly.

plugins {
    id("com.android.application")
    id("org.jetbrains.kotlin.android")
    id("com.google.devtools.ksp")
}

android {
    compileSdk = 36

    defaultConfig {
        minSdk = 26
        targetSdk = 36
    }
}

dependencies {
    implementation("androidx.appfunctions:appfunctions:1.0.0")
    implementation("androidx.appfunctions:appfunctions-service:1.0.0")
    ksp("androidx.appfunctions:appfunctions-compiler:1.0.0")

    testImplementation("androidx.appfunctions:appfunctions-testing:1.0.0")
    testImplementation("androidx.test.ext:junit:1.2.1")
    testImplementation("com.google.truth:truth:1.4.4")
}

Next, implement an AppFunctionService subclass annotated with @AppFunctionServiceEntryPoint. Pay close attention to the KDoc comments on every @AppFunction method and its parameter data classes: the KSP compiler embeds those comments directly into the generated metadata that an LLM broker reads when selecting parameters.

package com.example.tasktracker.appfunctions

import androidx.annotation.RequiresApi
import androidx.appfunctions.AppFunction
import androidx.appfunctions.AppFunctionContext
import androidx.appfunctions.AppFunctionSerializable
import androidx.appfunctions.AppFunctionService
import androidx.appfunctions.AppFunctionServiceEntryPoint

@AppFunctionSerializable
data class CreateTaskParams(
    /** Short human-readable title shown in the task list UI. */
    val title: String,
    /** Optional detailed body persisted to the local Room database. */
    val content: String = "",
    /** Priority tier between 1 (low) and 3 (urgent). */
    val priority: Int = 2
)

@AppFunctionSerializable
data class CreatedTaskResult(
    val taskId: Long,
    val status: String
)

@RequiresApi(36)
@AppFunctionServiceEntryPoint(
    serviceName = "BaseTaskAppFunctionService",
    appFunctionXmlFileName = "app_function_service"
)
abstract class BaseTaskAppFunctionService : AppFunctionService() {

    /**
     * Creates a persistent task item in the local database and notifies active UI observers.
     */
    @AppFunction
    suspend fun createTask(
        appFunctionContext: AppFunctionContext,
        createTaskParams: CreateTaskParams
    ): CreatedTaskResult {
        val insertedId = TaskRepositoryProvider.get(appFunctionContext.context)
            .insertTask(
                title = createTaskParams.title,
                content = createTaskParams.content,
                priority = createTaskParams.priority
            )
        return CreatedTaskResult(taskId = insertedId, status = "CREATED")
    }
}

Do not overlook app/src/main/AndroidManifest.xml validation after KSP runs. The compiler generates service declarations and <property> entries pointing to the generated XML asset; if your build flavor overrides AndroidManifest.xml merging rules or strips unused XML resources with shrinkResources, Android 16's AppFunctionManager will silently fail to index the service.

2. Pairing the ScreenSync MCP Desktop Hub and Android Device

Once your debug APK compiles, connect your physical Android 16 phone (or API 36 test handset) to your workstation:

  1. Install the Android App: Download the free ScreenSync MCP app (com.screensync.mcp, version 2.5.7) from Google Play. Launch the app and grant MediaProjection screen capture consent when prompted. Screen capture requires no root and no ADB.
  2. Start the Desktop Hub: Download and unpack the free desktop hub (version 1.14.4) on Windows, macOS, or Linux with Node.js 18+, and run start-hub.bat or start-hub.sh. The hub listens on HTTP port 3000 and exposes MCP over stdio. Pair your phone by scanning the hub's QR code inside the Android app or via mDNS auto-discovery on your LAN; requests authenticate with your SCREEN_SYNC_TOKEN bearer token.
  3. Enable ADB for Control and Shell Testing: Because control_tap, control_type, control_swipe, and adb shell cmd app_function commands execute over ADB, enable USB debugging or Android wireless debugging and verify your device appears in adb devices.
  4. Register ScreenSync MCP in Your Coding Client:
    • Claude Code: Run the single registration command pointing to your unpacked hub folder:
      claude mcp add screensync node "/path/to/hub/screensync-hub.js"
    • Claude Desktop: Add the server entry to claude_desktop_config.json (via Settings -> Developer):
      {
        "mcpServers": {
          "screensync": {
            "command": "node",
            "args": ["/path/to/hub/screensync-hub.js"],
            "env": {
              "SCREEN_SYNC_TOKEN": "your-generated-bearer-token"
            }
          }
        }
      }
    • Cursor & VS Code Agent Mode: Check your client's MCP documentation to register the same local node "/path/to/hub/screensync-hub.js" stdio command and SCREEN_SYNC_TOKEN environment variable. (Note: ChatGPT's web application requires remote HTTPS MCP servers and is not supported.)

For detailed pairing troubleshooting, mDNS firewall ports, and wireless debugging tips, follow the official ScreenSync MCP setup guide.

Unit Testing AppFunctions vs Real-Device Verification with Claude Code

AppFunctionTestRule validates serialization and service routing inside local Robolectric or JVM tests, whereas testing Android AppFunctions with Claude Code and ScreenSync MCP on physical hardware catches manifest registration failures, cold-start dependency races, and UI state synchronization bugs that mocked brokers never trigger.

Many Android teams stop after writing a passing JUnit test with androidx.appfunctions:appfunctions-testing. That leaves a dangerous blind spot. Consider what a local AppFunctionTestRule test actually exercises:

import androidx.appfunctions.testing.AppFunctionTestRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.google.common.truth.Truth.assertThat
import kotlinx.coroutines.test.runTest
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith

@RunWith(AndroidJUnit4::class)
class TaskAppFunctionTest {

    @get:Rule
    val appFunctionTestRule = AppFunctionTestRule()

    @Test
    fun createTask_persistsTaskAndReturnsCreatedStatus() = runTest {
        // Local verification validates parameter marshaling and repository logic
        // inside a controlled test runner without system_server AppSearch indexing.
        assertThat(appFunctionTestRule).isNotNull()
    }
}

Local tests verify your Kotlin code in isolation, but real-world AppFunction regressions happen in the seams between OS processes:

  • Cold-Start Singletons and Hilt/Koin Graphs: When the system broker binds BaseTaskAppFunctionService while your app process is dead, Application.onCreate() runs in a background process state with no Activity attached. If your repository assumes an Activity context, NavController, or warm ViewModel already initialized your dependency container, the AppFunction throws an unhandled exception over Binder.
  • Database Write Contention and UI Stale Reads: An @AppFunction writes directly to SQLite/Room or Jetpack DataStore in the background. If the user already has the app open in the foreground, does your Flow / PagingData UI collector refresh immediately without flickering or losing scroll position? (For deeper database verification strategies, see our guide on testing Android Room database migrations with Claude Code and MCP.)
  • ProGuard / R8 Stripping: Release or minified staging builds routinely strip @AppFunctionSerializable fields or reflection-accessed companion adapters if consumer keep rules are misconfigured.
  • Process Death and State Restoration: If Android kills your app between two sequential AppFunction invocations, does your state survive cleanly? Compare this with our walkthrough on testing Android process death with Claude Code and MCP.

When Claude Code orchestrates tests through ScreenSync MCP on a physical Android 16 phone, it observes the exact same OS boundary that production users hit. It can run adb shell cmd app_function directly in the terminal, inspect the Android system_server handshake via get_logcat, query the live view tree with get_ui_hierarchy, and visually confirm the rendered screen via get_latest_screenshot. You can explore more physical-device patterns in our guide on whether Claude Code can test Android apps on real mobile devices.

Running and Debugging adb shell cmd app_function in an Agent Loop

Android 16 exposes the app_function shell service over ADB so engineers and AI coding agents can list registered schemas, execute arbitrary JSON payloads against an AppFunctionService, toggle function availability, and trace Binder calls alongside ScreenSync MCP's get_logcat and UI inspection tools.

Below is the exact verification sequence you can instruct Claude Code to execute whenever you modify an @AppFunction signature, schema XML, or repository handler.

Step 1: Verify OS Schema Registration

Before invoking anything, confirm that Android 16's system registry actually parsed your APK's generated XML metadata upon installation:

adb shell cmd app_function list-app-functions --package com.example.tasktracker

Always pass --package <PACKAGE_NAME>. Omitting --package dumps every AppFunction across all installed packages on the device, flooding the agent's context window with unrelated system apps. If your newly added createTask function is missing from the output, Claude Code can immediately inspect build/generated/ksp/ and AndroidManifest.xml to diagnose why AppSearch skipped indexing.

Step 2: Execute Deterministic Payloads and Capture Logcat

Next, invoke the AppFunction directly through the system shell service while capturing structured logs through ScreenSync MCP's get_logcat tool:

adb shell "cmd app_function execute-app-function   --package com.example.tasktracker   --function 'com.example.tasktracker.appfunctions.BaseTaskAppFunctionService#createTask'   --parameters '{"createTaskParams": {"title": "Audit AppFunctions", "content": "Verify Room sync and UI refresh", "priority": 3}}'"

You can append --brief-yaml when you want compact YAML responses for quick terminal diffing, or keep the default JSON output so Claude Code can parse returned IDs (taskId) deterministically. In parallel, instruct Claude Code to call get_logcat on ScreenSync MCP filtering for AppFunction, bindService, and AppSearch tags to catch silent Binder serialization warnings or strict-mode disk reads on the main thread.

Step 3: Toggle Function Availability States

Android 16 allows apps to dynamically enable or disable specific AppFunctions at runtime (for example, hiding checkout actions until a user logs in, or gating premium tools behind subscription entitlement). You can test both enabled and disabled error-handling paths without modifying source code:

adb shell cmd app_function set-enabled   --package com.example.tasktracker   --function 'com.example.tasktracker.appfunctions.BaseTaskAppFunctionService#createTask'   --state disable

After verifying that execute-app-function cleanly rejects the disabled state, reset it back to --state default or --state enable before running the next test suite.

Step 4: Verify Visual and Structural Side Effects via ScreenSync MCP

Once execute-app-function returns {"status": "CREATED"}, Claude Code should never assume the user-facing screen is healthy. Instead, it drives the phone using ScreenSync MCP tools:

Verification Stage Command / ScreenSync MCP Tool Target Assertion Common Failure Caught
Schema Discovery adb shell cmd app_function list-app-functions --package <pkg> Exact #functionName and parameter schema match KSP output Missing KSP plugin, stripped XML resource, wrong targetSdk
Binder Execution adb shell cmd app_function execute-app-function ... Valid JSON/YAML return object without Binder or SecurityException Malformed @AppFunctionSerializable constructor or cold-start DI crash
Runtime Telemetry ScreenSync MCP get_logcat Zero AppFunction error traces, StrictMode violations, or ANRs Main-thread Room queries or unhandled coroutine exceptions
Structural UI Tree ScreenSync MCP get_ui_hierarchy New item text (Audit AppFunctions) appears in accessibility node tree Missing Flow emission or stale UI state holder
Rendered Pixels ScreenSync MCP get_latest_screenshot Badge color, priority pill alignment, and dark/light contrast render cleanly Truncated labels, overlapping WindowInsets, or broken Compose animations
Interactive Flow ScreenSync MCP control_tap, control_type, control_swipe Tapping the created task opens the detail route cleanly Broken deep-state ID mapping or race condition on click
Temporal Regression ScreenSync MCP record_screen Smooth list insertion without flicker or dropped frames Duplicate recomposition loops during reactive updates

Combining get_ui_hierarchy with get_latest_screenshot is critical for token efficiency and accuracy. Reading the accessibility tree via get_ui_hierarchy gives Claude Code exact bounds and node text without guessing pixel coordinates; falling back to get_latest_screenshot (powered by MediaProjection, about 94 ms median on a LAN in EpsolDev's tests) confirms visual rendering issues that structural XML trees cannot see. Learn why mixing both prevents coordinate drift in our post on Android UI hierarchy vs computer vision, or explore the Screen MCP architecture overview.

End-to-End Autonomous Testing Workflow: Cold Start, IPC, and Web Dashboard Sync

Combining Android AppFunctions, ScreenSync MCP's 29 mobile tools, and its 197 web_* browser extension tools lets Claude Code test full omnichannel workflows—triggering an on-device Android action, inspecting the mobile UI, and verifying the synced state inside a real desktop Chrome or Edge web app.

Many real-world productivity, SaaS, and e-commerce applications pair an Android mobile client with a web dashboard. Imagine a scenario where an on-device assistant invokes createTask via Android AppFunctions while your app is closed, syncs that task to your backend API, and surfaces it in both the Android UI and your web portal.

Here is a repeatable prompt template you can run in Claude Code once ScreenSync MCP is paired with both your Android 16 phone and the ScreenSync MCP Chrome/Edge browser extension:

Verify the end-to-end AppFunctions createTask flow on the connected Android 16 device:
1. Force-stop com.example.tasktracker via ADB to ensure a cold process start.
2. Run `adb shell cmd app_function list-app-functions --package com.example.tasktracker` and confirm `createTask` is registered.
3. Execute `createTask` with title "Q4 Release Audit" and priority 3 using `adb shell cmd app_function execute-app-function`.
4. Call ScreenSync MCP `get_logcat` to verify there are zero exceptions or StrictMode violations during cold-start AppFunctionService binding.
5. Launch `com.example.tasktracker` via ADB, call `get_ui_hierarchy` to locate "Q4 Release Audit", and call `get_latest_screenshot` to confirm the priority badge renders without clipping.
6. Use `control_tap` on the task item and verify the detail screen opens cleanly.
7. Using ScreenSync MCP browser `web_*` tools on my open Chrome dashboard tab, refresh the task list and confirm "Q4 Release Audit" appears in the web workspace.
If any step fails, trace the Kotlin/TypeScript source in this repo, propose the patch, and re-verify.

Because ScreenSync MCP's Chrome/Edge Manifest V3 (MV3) extension operates inside your real authenticated browser tab (and triggers a human approval prompt before risky actions), Claude Code does not need brittle Playwright login scripts or leaked session cookies to verify cross-platform sync. And because screen capture uses Android's MediaProjection API with frames staying on your local LAN between phone and hub, sensitive staging data never passes through EpsolDev servers. Remember that any screenshots you explicitly instruct your AI agent to inspect via get_latest_screenshot are transmitted to that agent's model provider as part of the prompt context—keep that boundary in mind when testing production PII.

This cross-boundary verification pattern pairs naturally with other Android IPC and routing surfaces. If your @AppFunction also triggers deep navigation links or cross-app URIs, check out our guides on testing Android deep links and App Links with Claude Code and MCP and testing Android Content Providers with Claude Code and MCP.

Common Pitfalls When Testing Android AppFunctions on Physical Hardware

Most failures when testing Android 16 AppFunctions stem from KSP metadata mismatches, missing AppFunctionContext initialization during cold starts, ProGuard/R8 obfuscation of @AppFunctionSerializable models, or testing exclusively on unverified emulators instead of OEM Android 16 hardware.

Watch out for these five recurring failure modes when integrating AppFunctions into your CI or local Claude Code loop:

  1. Missing appfunctions.xml Registration in Multi-Module Builds: When @AppFunctionServiceEntryPoint lives in a library module (:feature:tasks) rather than :app, KSP generates metadata in the feature module's build directory. Verify that the merged AndroidManifest.xml inside :app includes the service entry and XML metadata path, otherwise adb shell cmd app_function list-app-functions returns an empty list with no compiler error.
  2. Blocking the Main Thread Inside AppFunctionService: Although @AppFunction supports suspend functions, performing synchronous Disk I/O or Room queries without switching dispatchers inside non-suspending helpers triggers StrictMode penalties or Binder timeouts. Have Claude Code inspect get_logcat right after every execute-app-function call.
  3. R8 Stripping @AppFunctionSerializable Fields in Release Builds: Debug APKs pass execute-app-function cleanly, then minified staging APKs fail with serialization errors because R8 renamed parameter fields or removed default constructors. Always run one verification pass against your minifyEnabled true build variant on a real phone.
  4. Assuming Interactive UI State Exists on Cold Start: System assistants frequently invoke AppFunctions when the user has never opened your app in the current session. Never read UI state from an Activity-scoped ViewModel inside an AppFunctionService—route both your UI and your AppFunctions through a shared application-scoped repository.
  5. Skipping Permission & Auth State Edge Cases: Test how your AppFunction behaves when the user is signed out, offline, or revokes a runtime permission. Use adb shell cmd app_function set-enabled alongside control_tap and control_type flows to verify both happy paths and guarded error states.

Ready to add real-device visual and telemetry verification to your Android 16 AppFunctions workflow? Install the free ScreenSync MCP app on Google Play, start the Node.js 18+ desktop hub, and connect Claude Code in one command.

Next steps

FAQ

Questions, answered

What is the difference between Android AppFunctions and Model Context Protocol (MCP)?

Android AppFunctions is an Android 16 (API 36) Jetpack framework that exposes in-app Kotlin methods to on-device system assistants over Binder IPC. Model Context Protocol (MCP), implemented by ScreenSync MCP, connects desktop AI coding agents like Claude Code to physical Android 7.0+ devices and desktop browsers over stdio.

Can Claude Code call Android AppFunctions directly via ScreenSync MCP?

Claude Code runs `adb shell cmd app_function` commands in its terminal to list and execute Android 16 AppFunctions, while simultaneously calling ScreenSync MCP tools like `get_logcat`, `get_ui_hierarchy`, `get_latest_screenshot`, and `control_tap` to verify Binder execution and visual UI side effects.

Does ScreenSync MCP require root access or ADB for Android screen capture?

No. ScreenSync MCP captures screen frames using Android's native MediaProjection API after user consent each session, which requires zero root access and zero ADB. However, ADB over USB or wireless debugging is required for control tools (`control_tap`, `control_type`, `control_swipe`) and running `cmd app_function`.

How do I test a single Android AppFunction from the command line?

On an Android 16 device or emulator connected via ADB, run `adb shell cmd app_function list-app-functions --package <pkg>` to confirm registration, then run `adb shell "cmd app_function execute-app-function --package <pkg> --function '<Service>#<method>' --parameters '<JSON>'"` to inspect the JSON response.

Why does `adb shell cmd app_function list-app-functions` return nothing for my app?

Empty results usually mean `targetSdk` is below 36, the `androidx.appfunctions:appfunctions-compiler` KSP plugin did not run, or manifest merging/resource shrinking stripped the generated XML metadata. Inspect your merged APK manifest and verify `@AppFunctionServiceEntryPoint` matches your `AppFunctionService` subclass.

Which AI coding clients work with ScreenSync MCP for Android testing?

ScreenSync MCP runs as a local stdio MCP server on Node.js 18+ and works with Claude Code, Claude Desktop, Cursor, and VS Code agent mode. ChatGPT's web application requires remote HTTPS MCP servers, so it is not supported.

Does ScreenSync MCP support testing AppFunctions or mobile UIs on iOS?

No. ScreenSync MCP is Android only (Android 7.0 or later via Google Play package `com.screensync.mcp`), paired with a Windows, macOS, or Linux desktop hub and a Chrome/Edge MV3 browser extension. iOS devices and iOS simulators are not supported.

How does ScreenSync MCP handle screenshot and AppFunction data privacy?

ScreenSync MCP streams frames directly from your Android phone to your desktop hub over your local LAN using `SCREEN_SYNC_TOKEN` bearer authentication and never sends frames to EpsolDev servers (Drive fallback is optional). Screenshots you instruct an AI agent to inspect are sent to that agent's model provider.

Written by

ScreenSync MCP team

The ScreenSync MCP team at EpsolDev builds the Android app, the desktop MCP hub and the browser extension that let AI agents see and control a real phone. These guides come out of that work.