Skip to content
appsgit

Scrcpy MCP

Scrcpy MCP is an 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… It has 112 GitHub stars, is released under the MIT license and runs locally with npx -y scrcpy-mcp.

github.com/JuanCF/scrcpy-mcp (opens in a new tab)

Install Scrcpy MCP

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "scrcpy-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "scrcpy-mcp"
      ],
      "env": {
        "ANDROID_SERIAL": "your-value",
        "ADB_PATH": "your-value",
        "SCRCPY_SERVER_PATH": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env ANDROID_SERIAL=your-value --env ADB_PATH=your-value --env SCRCPY_SERVER_PATH=your-value --transport stdio scrcpy-mcp -- npx -y scrcpy-mcp

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "scrcpy-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "scrcpy-mcp"
      ],
      "env": {
        "ANDROID_SERIAL": "your-value",
        "ADB_PATH": "your-value",
        "SCRCPY_SERVER_PATH": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "servers": {
    "scrcpy-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "scrcpy-mcp"
      ],
      "env": {
        "ANDROID_SERIAL": "your-value",
        "ADB_PATH": "your-value",
        "SCRCPY_SERVER_PATH": "your-value"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
ANDROID_SERIALNoTarget device serial number (from adb devices). Required when multiple devices are connected.
ADB_PATHNoCustom path to the adb binary. Defaults to 'adb' on PATH.
SCRCPY_SERVER_PATHNoPath to the scrcpy-server.jar file. Only needed if not installed in a standard location.

About 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.

  • adb
  • android
  • mcp
  • mcp-server
  • scrcpy
  • scrcpy-mcp

FAQ

Scrcpy MCP FAQ

Still curious? Email info@appsgit.com.

What is Scrcpy MCP?

Scrcpy MCP is an 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… It has 112 GitHub stars, is released under the MIT license and runs locally with npx -y scrcpy-mcp. The source code is at github.com/JuanCF/scrcpy-mcp.

How do I install the Scrcpy MCP MCP server?

Add the command npx -y scrcpy-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Scrcpy MCP free?

The server is open source under the MIT license, so running it is free. It does not declare any required API key.

Is Scrcpy MCP actively maintained?

The most recent commit was on Sep 23, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.