CAT
/MCP
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Cross AI Tools

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by @mertduzgun

Independent project, not affiliated with Anthropic

Scrcpy Mcp

juancf/scrcpy-mcp
36STDIOregistry active
Summary

Connects Claude and other MCP clients to Android devices through ADB and scrcpy's binary protocol. You get 34 tools covering screenshots (returned as images), tap/swipe/type input, app launching, UI element finding with coordinates, shell commands, and clipboard operations that work on Android 10+. The scrcpy path delivers 10-50x faster input and 33ms screenshots versus ADB's 500ms fallback. Useful when you want an AI to actually see and interact with an Android device during testing, automation, or debugging. Start a session to unlock the fast path, then chain screenshot and input operations. Falls back gracefully to ADB-only mode if scrcpy isn't installed.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →

scrcpy-mcp

MCP server that gives AI agents full vision and control over Android devices via ADB and scrcpy.

Connect any MCP-compatible AI assistant (Claude Code, OpenCode, Cursor, VS Code Copilot, etc.) to your Android device. The AI can see the screen, tap, swipe, type, launch apps, inspect UI elements, transfer files, and run shell commands.

Features

  • 36 tools covering screenshots, input, apps, UI automation, shell, files, clipboard, and video streaming
  • scrcpy-first: uses scrcpy's binary control protocol for 10-50x faster input and near-instant screenshots (~33ms)
  • ADB fallback: every tool works without scrcpy — slower but always available
  • Image-returning screenshots: the AI actually sees the screen, not just a file path
  • UI element finding: ui_find_element returns tap coordinates so the AI can act on what it sees
  • Clipboard that works on Android 10+: scrcpy bypasses the restrictions that break ADB-only solutions

Prerequisites

Required

RequirementInstallVerify
Node.js 22+nodejs.org or nvm install (uses .node_version)node --version
ADB (Android Platform Tools)developer.android.com/tools/releases/platform-toolsadb version
Android device with USB debuggingSettings → Developer Options → USB Debuggingadb devices

Optional (for enhanced performance)

RequirementInstallBenefit
scrcpygithub.com/Genymobile/scrcpy10-50x faster input, ~33ms screenshots
ffmpegapt install ffmpeg / brew install ffmpegRequired for scrcpy video stream decoding

Device setup

  1. Enable Developer Options: Settings → About Phone → tap "Build Number" 7 times
  2. Enable USB Debugging: Settings → Developer Options → USB Debugging
  3. Connect device via USB
  4. Accept the RSA fingerprint prompt on the device
  5. Verify: adb devices should show your device as device (not unauthorized)

Installation

# Run directly with npx (no install needed)
npx scrcpy-mcp

# Or install globally
npm install -g scrcpy-mcp

MCP Client Configuration

Claude Code

claude mcp add android -- npx scrcpy-mcp

Or add to .mcp.json in your project root:

{
  "mcpServers": {
    "android": {
      "command": "npx",
      "args": ["scrcpy-mcp"]
    }
  }
}

OpenCode

Add to .mcp.json:

{
  "mcpServers": {
    "android": {
      "command": "npx",
      "args": ["scrcpy-mcp"]
    }
  }
}

Cursor

Settings → MCP → Add Server:

{
  "android": {
    "command": "npx",
    "args": ["scrcpy-mcp"]
  }
}

Claude Desktop

Edit ~/.config/Claude/claude_desktop_config.json (Linux) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "android": {
      "command": "npx",
      "args": ["scrcpy-mcp"]
    }
  }
}

VS Code (GitHub Copilot)

Add to .vscode/mcp.json:

{
  "servers": {
    "android": {
      "command": "npx",
      "args": ["scrcpy-mcp"]
    }
  }
}

Customizing Environment Variables

If you need to configure custom options (such as pointing to a non-standard scrcpy-server path or forcing a specific version), you can add the "env" object to your server configuration. For example:

{
  "mcpServers": {
    "android": {
      "command": "npx",
      "args": ["scrcpy-mcp"],
      "env": {
        "SCRCPY_SERVER_PATH": "C:\\path\\to\\scrcpy-server",
        "SCRCPY_SERVER_VERSION": "3.3.4"
      }
    }
  }
}

Note: On Windows, remember to double-escape backslashes (\\) in your configuration paths.

Tool Reference

Session Management

ToolDescription
start_sessionStart a scrcpy session. When active, input and screenshots use the fast path (10-50x faster).
stop_sessionStop the scrcpy session. Tools fall back to ADB.

Video Streaming

ToolDescription
start_video_streamStart an HTTP MJPEG video stream and open an ffplay viewer window. Auto-starts a scrcpy session if needed.
stop_video_streamStop the video stream and close the viewer window.

Device Management

ToolDescription
device_listList all connected devices with serial, state, and model
device_infoGet model, Android version, screen size, SDK level, battery
screen_onWake the device screen
screen_offTurn the screen off
rotate_deviceRotate the screen (requires active session)
expand_notificationsPull down the notification panel (requires active session)
expand_settingsPull down the quick settings panel (requires active session)
collapse_panelsCollapse notification/settings panels (requires active session)

Vision

ToolDescription
screenshotCapture the screen and return it as an image. ~33ms with scrcpy, ~500ms via ADB.
screen_record_startStart recording the screen to a file on the device
screen_record_stopStop recording and optionally pull the file to the host

Input Control

All input tools use scrcpy (~5-10ms) when a session is active, otherwise fall back to ADB (~100-300ms).

ToolDescription
tapTap at screen coordinates
swipeSwipe from one point to another
long_pressLong press at coordinates
drag_dropDrag from one point to another
input_textType a text string into the focused field
key_eventSend a key event: HOME, BACK, ENTER, VOLUME_UP, VOLUME_DOWN, POWER, etc.
scrollScroll at a position (dx=horizontal, dy=vertical)

App Management

ToolDescription
app_startLaunch an app by package name. Prefix with + to force-stop before launch.
app_stopForce-stop an app
app_installInstall an APK from the host machine
app_uninstallUninstall an app
app_listList installed packages, optionally filter by name or system/third-party
app_currentGet the current foreground app and activity

UI Automation

ToolDescription
ui_dumpDump the full UI hierarchy as XML
ui_find_elementFind elements by text, resource ID, class name, or content description. Returns tap coordinates.

Shell & Files

ToolDescription
shell_execExecute an arbitrary ADB shell command and return the output
file_pushPush a file from the host machine to the device
file_pullPull a file from the device to the host machine
file_listList directory contents on the device

Clipboard

ToolDescription
clipboard_getGet clipboard content. Uses scrcpy to bypass Android 10+ restrictions.
clipboard_setSet clipboard content. Pass paste: true to also paste immediately.

Performance

Operationscrcpy (session active)ADB fallback
Screenshot~33ms~500ms
Tap / Swipe~5-10ms~100-300ms
Text input~5ms~100-300ms
Clipboard~10msunreliable on Android 10+

Start a session once at the beginning to unlock the fast path:

start_session → take screenshots → tap → swipe → ...

Environment Variables

VariableDefaultDescription
ADB_PATHadbPath to the ADB binary
ANDROID_SERIAL(none)Default device serial, overrides auto-detection
SCRCPY_SERVER_PATH(auto)Path to the scrcpy-server binary
SCRCPY_SERVER_VERSION(auto)Version of the scrcpy-server binary
FFMPEG_PATHffmpegPath to the ffmpeg binary
FFPLAY_PATHffplayPath to the ffplay binary (for the video stream viewer)

When only one device is connected, tools auto-detect it. With multiple devices, pass the serial parameter explicitly or set ANDROID_SERIAL.

Troubleshooting

adb devices shows unauthorized Accept the RSA fingerprint prompt on the device. If the prompt doesn't appear, revoke USB debugging authorizations in Developer Options and reconnect.

start_session fails Make sure scrcpy is installed and the scrcpy-server binary is accessible. Set SCRCPY_SERVER_PATH if it's in a non-standard location.

  • File vs Directory: Ensure SCRCPY_SERVER_PATH points directly to the scrcpy-server file itself (e.g. C:\path\to\scrcpy-server), NOT to its parent folder.
  • Android Directory Conflict: If you previously pushed a directory to the server path, /data/local/tmp/scrcpy-server.jar on the Android device might have been created as a folder. Run adb shell rm -rf /data/local/tmp/scrcpy-server.jar to delete it.
  • Version Mismatch: Ensure SCRCPY_SERVER_VERSION matches the exact version of the scrcpy-server file (e.g., "3.3.4"). If they mismatch, the Android JVM will fail with java.lang.ClassNotFoundException: com.genymobile.scrcpy.Server.

Screenshots are slow (~500ms) Start a scrcpy session with start_session to enable the fast video stream path. Requires scrcpy and ffmpeg.

expand_notifications / expand_settings / collapse_panels fail These tools require an active scrcpy session. Run start_session first.

Clipboard doesn't work on Android 10+ ADB clipboard access is restricted on Android 10+. Start a scrcpy session — the scrcpy clipboard protocol bypasses this restriction.

Multiple devices connected Pass serial to each tool or set the ANDROID_SERIAL environment variable.

Security

This server provides full control over connected Android devices. The shell_exec tool can run arbitrary commands, and file_push/file_pull can read and write any file accessible to the shell user.

  • The server runs locally over stdio — it is not exposed to the network
  • ADB requires USB debugging to be explicitly enabled on the device
  • The device must accept your host's RSA key on first connection
  • Only connect devices you own and trust the AI agent you are using

License

MIT — see LICENSE

Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →

Configuration

ANDROID_SERIAL

Target device serial number (from `adb devices`). Required when multiple devices are connected.

ADB_PATH

Custom path to the adb binary. Defaults to 'adb' on PATH.

SCRCPY_SERVER_PATH

Path to the scrcpy-server.jar file. Only needed if not installed in a standard location.

Categories
Mobile Development
Registryactive
Packagescrcpy-mcp
TransportSTDIO
UpdatedMay 15, 2026
View on GitHub

Related Mobile Development MCP Servers

View all →
Expo Android MCP

frndchagas/expo-android

MCP server for Android emulator automation via ADB.
4
iOS Simulator

joshuayoes/ios-simulator-mcp

MCP server for interacting with the iOS simulator
2k
MCP Server Simulator IOS IDB

inditextech/mcp-server-simulator-ios-idb

A Model Context Protocol (MCP) server that enables LLMs to interact with iOS simulators through natural language commands.
303
Mobile Mcp

mobile-next/mobile-mcp

MCP server for iOS and Android Mobile Development, Automation and Testing
5.2k
Claude Mobile

alexgladkov/claude-in-mobile

Provides a unified MCP interface to automate Android and iOS simulators with commands like tap, screenshot, input text, and manage apps.
248
Mobile Device MCP

srmorete/mobile-device-mcp

Control iOS and Android devices with multi-device and seamless Native/WebView support.
23