{"report":"{\"v\":1,\"package\":\"scrcpy-mcp\",\"version\":\"0.5.0\",\"ranAt\":\"2026-11-16T11:56:54.230Z\",\"install\":{\"ok\":true,\"integrity\":\"sha512-XS28azAmj3D02PuIud0mmKG4OM4coHIZxIqzwjM9Br4QKG7Ud6xsq6RyiDXo1Gpck1G/2ppdSpLDLxV9RpWrhg==\",\"deps\":112,\"scripts\":[\"ffmpeg-static\"],\"bins\":[\"scrcpy-mcp\"],\"license\":\"MIT\",\"engines\":\"node >=24.0.0\",\"repository\":\"https://github.com/JuanCF/scrcpy-mcp.git\",\"bin\":\"scrcpy-mcp\"},\"start\":{\"ok\":true,\"ms\":182,\"serverName\":\"scrcpy-mcp\",\"serverVersion\":\"0.0.0\",\"protocol\":\"2025-06-18\",\"stderr\":\"[scrcpy-mcp] Server running on stdio\\n[scrcpy] Warning: could not detect scrcpy version -- no scrcpy client was found for the resolved scrcpy-server, and SCRCPY_SERVER_VERSION is not set; falling back to default 3.3.4. Set SCRCPY_SERVER_VERSION if the installed server version differs.\\n\"},\"tools\":[{\"name\":\"start_session\",\"description\":\"Start a scrcpy session for fast input control and screenshots. When a session is active, tap/swipe/text/screenshot are 10-50x faster. Requires scrcpy-server to be installed.\",\"params\":[\"serial\",\"maxSize\",\"maxFps\"]},{\"name\":\"stop_session\",\"description\":\"Stop the active scrcpy session. Tools will fall back to ADB commands.\",\"params\":[\"serial\"]},{\"name\":\"version\",\"description\":\"Report which scrcpy version is being used by the MCP server. The version always describes the scrcpy-server file the session pushes: it comes from the SCRCPY_SERVER_VERSION environment variable, or from the scrcpy client belonging to the same install as that server, or a built-in default.\",\"params\":[]},{\"name\":\"device_list\",\"description\":\"List all connected Android devices with their serial numbers, state, and model\",\"params\":[]},{\"name\":\"device_info\",\"description\":\"Get detailed info about a device: model, Android version, screen size, SDK level, battery level\",\"params\":[\"serial\"]},{\"name\":\"screen_on\",\"description\":\"Wake the device screen (turn screen on)\",\"params\":[\"serial\"]},{\"name\":\"screen_off\",\"description\":\"Turn the device screen off\",\"params\":[\"serial\"]},{\"name\":\"connect_wifi\",\"description\":\"Enable WiFi ADB and connect to the device wirelessly. Returns the connection address.\",\"params\":[\"port\",\"serial\"]},{\"name\":\"disconnect_wifi\",\"description\":\"Disconnect from a wireless ADB device\",\"params\":[\"address\"]},{\"name\":\"rotate_device\",\"description\":\"Rotate the device screen (requires active scrcpy session)\",\"params\":[\"serial\"]},{\"name\":\"expand_notifications\",\"description\":\"Expand the notification panel (requires active scrcpy session)\",\"params\":[\"serial\"]},{\"name\":\"expand_settings\",\"description\":\"Expand the quick settings panel (requires active scrcpy session)\",\"params\":[\"serial\"]},{\"name\":\"collapse_panels\",\"description\":\"Collapse all open panels (notification, settings) (requires active scrcpy session)\",\"params\":[\"serial\"]},{\"name\":\"screenshot\",\"description\":\"Take a screenshot of the Android device screen. Returns the image as base64.\",\"params\":[\"serial\"]},{\"name\":\"screen_record_start\",\"description\":\"Start recording the screen. Recording continues until screen_record_stop is called.\",\"params\":[\"serial\",\"remotePath\",\"duration\"]},{\"name\":\"screen_record_stop\",\"description\":\"Stop screen recording and optionally pull the file to the host.\",\"params\":[\"serial\",\"pullToHost\",\"localPath\"]},{\"name\":\"tap\",\"description\":\"Tap at the specified screen coordinates\",\"params\":[\"x\",\"y\",\"serial\"]},{\"name\":\"swipe\",\"description\":\"Perform a swipe gesture from one point to another\",\"params\":[\"x1\",\"y1\",\"x2\",\"y2\",\"duration\",\"serial\"]},{\"name\":\"long_press\",\"description\":\"Perform a long press at the specified coordinates\",\"params\":[\"x\",\"y\",\"duration\",\"serial\"]},{\"name\":\"drag_drop\",\"description\":\"Perform a drag and drop gesture from one point to another. Uses input draganddrop on Android 8.0+ (API 26), falls back to swipe on older versions.\",\"params\":[\"startX\",\"startY\",\"endX\",\"endY\",\"duration\",\"serial\"]},{\"name\":\"input_text\",\"description\":\"Type text into the currently focused input field\",\"params\":[\"text\",\"serial\"]},{\"name\":\"key_event\",\"description\":\"Send a key event to the device. Supports keycodes like HOME, BACK, ENTER, VOLUME_UP, etc.\",\"params\":[\"keycode\",\"serial\"]},{\"name\":\"scroll\",\"description\":\"Scroll at the specified position. dx and dy are scroll amounts (-1 to 1 range approximated for ADB).\",\"params\":[\"x\",\"y\",\"dx\",\"dy\",\"serial\"]},{\"name\":\"app_start\",\"description\":\"Launch an app on the device. Uses scrcpy START_APP when a session is active for faster launch, falls back to ADB `am start`. Supports force-stop prefix (+) to stop the app before launching.\",\"params\":[\"packageName\",\"serial\"]},{\"name\":\"app_stop\",\"description\":\"Force-stop an app on the device.\",\"params\":[\"packageName\",\"serial\"]},{\"name\":\"app_install\",\"description\":\"Install an APK file on the device from the host machine.\",\"params\":[\"apkPath\",\"serial\"]},{\"name\":\"app_uninstall\",\"description\":\"Uninstall an app from the device.\",\"params\":[\"packageName\",\"serial\"]},{\"name\":\"app_list\",\"description\":\"List installed packages on the device. Optionally filter by name or restrict to system/third-party apps.\",\"params\":[\"filter\",\"system\",\"serial\"]},{\"name\":\"app_current\",\"description\":\"Get the currently foregrounded app package name and activity.\",\"params\":[\"serial\"]},{\"name\":\"clipboard_get\",\"description\":\"Get the current clipboard content from the device. Uses scrcpy GET_CLIPBOARD when a session is active (works on Android 10+), falls back to ADB clipboard commands.\",\"params\":[\"serial\"]},{\"name\":\"clipboard_set\",\"description\":\"Set the clipboard content on the device. Uses scrcpy SET_CLIPBOARD when a session is active (with optional paste flag), falls back to ADB clipboard commands.\",\"params\":[\"text\",\"paste\",\"serial\"]},{\"name\":\"ui_dump\",\"description\":\"Dump the full UI hierarchy of the current screen as XML. Useful for understanding screen structure before using ui_find_element.\",\"params\":[\"serial\"]},{\"name\":\"ui_find_element\",\"description\":\"Find UI elements on screen by text, resource ID, class name, or content description. Returns matching elements with their tap coordinates. At least one search criterion must be provided.\",\"params\":[\"text\",\"resourceId\",\"className\",\"contentDesc\",\"serial\"]},{\"name\":\"shell_exec\",\"description\":\"Execute an arbitrary ADB shell command on the device and return the output. Use this for any device operation not covered by other tools.\",\"params\":[\"command\",\"serial\"]},{\"name\":\"file_push\",\"description\":\"Push a file from the host machine to the device.\",\"params\":[\"localPath\",\"remotePath\",\"serial\"]},{\"name\":\"file_pull\",\"description\":\"Pull a file from the device to the host machine.\",\"params\":[\"remotePath\",\"localPath\",\"serial\"]},{\"name\":\"file_list\",\"description\":\"List directory contents on the device.\",\"params\":[\"path\",\"serial\"]},{\"name\":\"start_video_stream\",\"description\":\"Start an HTTP MJPEG video stream of the device screen and open a viewer window (ffplay). Starts a scrcpy session automatically if needed.\",\"params\":[\"serial\",\"port\"]},{\"name\":\"stop_video_stream\",\"description\":\"Stop the HTTP MJPEG video stream and close the viewer window for a device.\",\"params\":[\"serial\"]}],\"toolsHash\":\"7785c0b6e60bb5e0f538190d93a6ddfb4bfacf22cdbb1ada707ed0daed6eadc7\",\"wrote\":[],\"callsAt\":\"2026-11-16T11:57:01.015Z\",\"calls\":[{\"tool\":\"version\",\"ok\":true,\"ms\":11,\"bytes\":23},{\"tool\":\"device_list\",\"ok\":false,\"ms\":4,\"bytes\":0,\"error\":\"tool reported an error: ADB command failed: adb devices -l\\nspawn adb ENOENT\"},{\"tool\":\"device_info\",\"ok\":false,\"ms\":2,\"bytes\":0,\"error\":\"tool reported an error: {\\\"error\\\":true,\\\"message\\\":\\\"Failed to get device info: ADB command failed: adb devices -l\\\\nspawn adb ENOENT\\\"}\"},{\"tool\":\"app_list\",\"ok\":false,\"ms\":1,\"bytes\":0,\"error\":\"tool reported an error: {\\\"error\\\":true,\\\"message\\\":\\\"ADB command failed: adb devices -l\\\\nspawn adb ENOENT\\\"}\"},{\"tool\":\"app_current\",\"ok\":false,\"ms\":2,\"bytes\":0,\"error\":\"tool reported an error: {\\\"error\\\":true,\\\"message\\\":\\\"ADB command failed: adb devices -l\\\\nspawn adb ENOENT\\\"}\"}],\"host\":{\"commit\":\"eaaffffaf52255d1b77dc4aacffdfaf353f0c12c\",\"run\":\"https://github.com/itsHaddad/bragproof/actions/runs/43857070216\"},\"network\":{\"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