Scrcpy MCP Server

MCP server for Android device control via ADB and scrcpy

Local serverstdio

What is the Scrcpy MCP Server?

MCP server for Android device control via ADB and scrcpy

What the server does

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

  • 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

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
scrcpy-firstuses scrcpy's binary control protocol for 10-50x faster input and near-instant screenshots (~33ms)
scrcpy[github.com/Genymobile/scrcpy](https://github.com/Genymobile/scrcpy/releases)
ffmpegapt install ffmpeg / brew install ffmpeg
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.
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_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)

How to install the Scrcpy MCP Server

claude mcp add scrcpy --env SCRCPY_SERVER_PATH=your-value --env SCRCPY_SERVER_VERSION=your-value --env FFMPEG_PATH=your-value --env FFPLAY_PATH=your-value -- npx -y scrcpy-mcp

Configuration

VariableDescriptionRequired
SCRCPY_SERVER_PATHFilesystem location the server is allowed to use.Optional
SCRCPY_SERVER_VERSIONConfiguration value read at startup.Optional
FFMPEG_PATHFilesystem location the server is allowed to use.Optional
FFPLAY_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • “Use Scrcpy to scrcpy-first.”
  • “Use Scrcpy to Image.”
  • “Use Scrcpy to Requirement.”

Frequently asked questions

MCP server for Android device control via ADB and scrcpy Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.