MCP server · Audited from source
Scrcpy MCP server
by juancf/scrcpy-mcpMIT licenceAudited 7 Oct 2026 · source 7cb759112ac9
Is it safe? With care — CAUTION, grade B (87/100). It exposes 44 tools: 26 read, 16 write and 2 destructive. The audit recorded 15 findings (0 critical, 0 high, 4 medium, 11 low). Maintainer's description: MCP server for Android device control via ADB and scrcpy — gives AI agents vision and control over Android devices
Cite
Cite this page
ModelsAtlas. “Scrcpy MCP server (juancf/scrcpy-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/juancf/scrcpy
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
15 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared1 observation
- NetworkDeclared1 observation
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 2 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 7 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 5 findings |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
juancfUser accountAccount type recorded when we read the repository. - PackagePublished on npm
scrcpy-mcpat version 0.5.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last push14 days agoActivity of the repository when we read it.
- Source commit read7cb759112ac9The audit covers exactly this commit, read on 7 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory44 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (15)
Sorted by severity
MEDIUMNetwork egressnet.raw_ip · .opencode/skills/scrcpy-gotchas/SKILL.md:318
- `scrcpy_start_video_stream` starts an HTTP MJPEG stream at `http://127.0.0.1:7183` and opens an ffplay viewer window on the host.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · .opencode/skills/scrcpy-gotchas/SKILL.md:324
scrcpy_start_video_stream() // opens ffplay window at http://127.0.0.1:7183
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · src/utils/mjpeg.ts:107
return `http://127.0.0.1:${port}`- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
app_uninstall, drag_drop
- Why
- 2 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWFilesystem / pathfs.traversal · tests/integration/audio.test.ts:3
import { resolveSerial, execAdbShell, execAdb } from "../../src/utils/adb.js"- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/integration/global-setup.ts:1
import { execAdbShell, resolveSerial } from "../../src/utils/adb.js"- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/integration/wifi.test.ts:2
import { execAdb } from "../../src/utils/adb.js"- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, zod, @eslint/js, @types/node, eslint, tsup, tsx, typescript
- Why
- 11 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · README.md:166
| `version` | Report which scrcpy-server version the session pushes and where that version was resolved from. |
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · README.md:312
* **Version Mismatch**: The client must send the exact version of the `scrcpy-server` file it pushes. To guarantee that, the server and the version are never resolved separately — one scrcpy install i
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/PLAN.md:297
│ ├── scrcpy.ts # scrcpy-server lifecycle, control socket, video stream, clipboard sync
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/PLAN.md:315
| `src/utils/scrcpy.ts` | ~550 | **Core module**: scrcpy-server push/launch, control socket (binary protocol for input injection), video stream management (ffmpeg decode to frame buffer), clipboard sy
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/PLAN.md:343
| `version` | — | Text (JSON) | Report the scrcpy-server version the session pushes, and which rung resolved it (env, binary, server-sibling, package manager, or built-in default) |
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
Tools it exposes
44 declared in source · 2 destructive
2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
app_uninstall | destructive | No description in the source |
drag_drop | destructive | No description in the source |
app_install | write | No description in the source |
app_start | write | No description in the source |
app_stop | write | No description in the source |
audio_record_start | write | No description in the source |
audio_record_stop | write | No description in the source |
clipboard_set | write | No description in the source |
file_push | write | No description in the source |
screen_record_start | write | No description in the source |
screen_record_stop | write | No description in the source |
shell_exec | write | No description in the source |
start_audio_stream | write | No description in the source |
start_session | write | No description in the source |
start_video_stream | write | No description in the source |
stop_audio_stream | write | No description in the source |
stop_session | write | No description in the source |
stop_video_stream | write | No description in the source |
app_current | read | No description in the source |
app_list | read | No description in the source |
audio_capture | read | No description in the source |
clipboard_get | read | No description in the source |
collapse_panels | read | No description in the source |
connect_wifi | read | No description in the source |
device_info | read | No description in the source |
device_list | read | No description in the source |
disconnect_wifi | read | No description in the source |
expand_notifications | read | No description in the source |
expand_settings | read | No description in the source |
file_list | read | No description in the source |
file_pull | read | No description in the source |
input_text | read | No description in the source |
key_event | read | No description in the source |
long_press | read | No description in the source |
rotate_device | read | No description in the source |
screen_off | read | No description in the source |
screen_on | read | No description in the source |
screenshot | read | No description in the source |
scroll | read | No description in the source |
swipe | read | No description in the source |
tap | read | No description in the source |
ui_dump | read | No description in the source |
ui_find_element | read | No description in the source |
version | read | No description in the source |
Install
Package version 0.5.0 · audited commit 7cb7591
Read the findings first. The most severe is Network egress (medium) at .opencode/skills/scrcpy-gotchas/SKILL.md.
claude mcp add scrcpy-mcp -- npx -y [email protected]
The command pins the package version recorded in the source (0.5.0); the audit covers commit 7cb759112ac9. Transport: stdio. No environment variables required.
Audit history
- !CAUTION B 87 / 100
First audit ·
7cb759112ac9
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/juancf/scrcpy/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Scrcpy MCP server
What is the Scrcpy MCP server?
What tools does Scrcpy expose?
Is Scrcpy safe to connect to an agent?
What credentials does Scrcpy need?
How does Scrcpy run?
How current is this page?
Sources
- juancf/scrcpy-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 7cb759112ac9Observed · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Scrcpy MCP server?
- What tools does Scrcpy expose?
- Is Scrcpy safe to connect to an agent?