Xcodeeee/screenpilot-mcp
ScreenPilot MCP是一个基于Model Context Protocol的桌面自动化服务。接入支持MCP的客户端后,AI可以截取屏幕、点击、输入、滚动、拖拽,实现AI自主操作电脑。
cb5653bad3b7spring-boot-starter-parent4.1.1 in pom.xmlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 8 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
None of the tools reaches any of these in the code the scanner could trace.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (8: 8 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
capture_screentool 截取当前全屏幕,返回两个内容块。
截取当前全屏幕,返回两个内容块。
返回结构:
1. image 块:截图的 PNG 图片。
2. text 块:OCR 识别结果的 JSON 数组。每项含:
- text:识别出的文字内容
- centerX / centerY:文本框中心点在截图上的坐标
- score:识别置信度(0~1,越高越可信)
定位建议(OCR 与视觉同等重要,请交叉验证):
1. OCR 提供了文字内容和大致坐标,可作为快速定位依据。
2. 但 OCR 可能出错(识别错字、漏字、错位),此时请直接看图确认。
3. 视觉判断也可能出错(小字、相似图标、界面复杂),此时请参考 OCR。
4. 两者一致时直接使用;冲突时,以更合理的那个为准,并优先选择 score 高的条目。
5. 若两者都不足以判断,请如实告诉用户"无法定位",
不要凭想象编造坐标。编造坐标会导致误点击,后果严重。
若模型没有视觉能力(仅文本模型):
请仅依赖 OCR 结果;若无 OCR 结果或 OCR 结果明显不足,
请告知用户当前模型无法完成该任务。
坐标说明:
1. x、y 是截图上的像素坐标,不是真实屏幕坐标。
2. 后续调用 click_at / double_click_at / right_click_at / scroll_at / drag 时,
直接传截图上的坐标即可,工具会自动换算到真实屏幕位置。click_attool 在屏幕指定位置执行左键单击。
在屏幕指定位置执行左键单击。
使用前请先调用 capture_screen。
x、y 是 capture_screen 返回图片上的像素坐标,
可通过 OCR 结果的 centerX / centerY 获得,也可直接看图判断。double_click_attool 在屏幕指定位置执行左键双击(例如打开文件、进入文件夹)。
在屏幕指定位置执行左键双击(例如打开文件、进入文件夹)。
使用前请先调用 capture_screen。
x、y 是 capture_screen 返回图片上的像素坐标,
可通过 OCR 结果的 centerX / centerY 获得,也可直接看图判断。dragtool 从起点拖拽到终点(按住左键移动后释放),常用于拖动滑块、移动窗口、框选内容。
从起点拖拽到终点(按住左键移动后释放),常用于拖动滑块、移动窗口、框选内容。
使用前请先调用 capture_screen。
fromX / fromY 是起点的截图坐标,toX / toY 是终点的截图坐标,
均可通过 OCR 结果的 centerX / centerY 获得,也可直接看图判断。key_presstool 模拟按下单个按键或组合键。
模拟按下单个按键或组合键。
用法:
1. 单键:key 传 "enter"、"tab"、"esc"、"up"、"down"、"pageup" 等。
2. 组合键:用 "+" 连接,如 "ctrl+c"、"ctrl+v"、"cmd+a"。
注意 macOS 用 cmd,Windows / Linux 用 ctrl。
3. 如需重复按键(如按 3 次 down),请多次调用本工具,不要在一次调用里塞重复。right_click_attool 在屏幕指定位置执行右键单击(弹出上下文菜单)。
在屏幕指定位置执行右键单击(弹出上下文菜单)。
使用前请先调用 capture_screen。
x、y 是 capture_screen 返回图片上的像素坐标,
可通过 OCR 结果的 centerX / centerY 获得,也可直接看图判断。scroll_attool 在指定位置滚动屏幕,用于查看超出当前视口的内容。
在指定位置滚动屏幕,用于查看超出当前视口的内容。
direction 语义(表示你想看到哪个方向的内容):
- "down":查看下方内容(即让页面向上滚动,露出下面的部分)
- "up":查看上方内容(即让页面向下滚动,露出上面的部分)
跨平台注意:
macOS 和 Windows 对"自然滚动"的处理不同,同一方向参数在两边
可能产生相反的视觉移动。如果滚动后内容方向不对,改用相反参数重试。
最稳妥的做法是滚动后立即再调用 capture_screen 确认结果。
amount 为滚动格数(1 格约 3 行),建议 1~10。
使用前请先调用 capture_screen。
x、y 是截图上的像素坐标,可通过 OCR 结果的 centerX / centerY 获得,
也可直接看图判断。type_texttool 在当前获得焦点的输入框中插入文本(支持中文、emoji 等 Unicode 字符)。
在当前获得焦点的输入框中插入文本(支持中文、emoji 等 Unicode 字符)。
行为说明:
1. 文本会插入到当前光标位置,不会清除原有内容。
2. 若要替换原有内容,先发送 ctrl+a(macOS 为 cmd+a)全选,再调用本工具。
3. 使用前先用 click_at 点击目标输入框,确保光标已落在其中。
4. 实现方式是写入系统剪贴板后模拟粘贴,会覆盖用户原有剪贴板内容。Text the model reads (8)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
type_text tool
在当前获得焦点的输入框中插入文本(支持中文、emoji 等 Unicode 字符)。
行为说明:
1. 文本会插入到当前光标位置,不会清除原有内容。
2. 若要替换原有内容,先发送 ctrl+a(macOS 为 cmd+a)全选,再调用本工具。
3. 使用前先用 click_at 点击目标输入框,确保光标已落在其中。
4. 实现方式是写入系统剪贴板后模拟粘贴,会覆盖用户原有剪贴板内容。
key_press tool
模拟按下单个按键或组合键。
用法:
1. 单键:key 传 "enter"、"tab"、"esc"、"up"、"down"、"pageup" 等。
2. 组合键:用 "+" 连接,如 "ctrl+c"、"ctrl+v"、"cmd+a"。
注意 macOS 用 cmd,Windows / Linux 用 ctrl。
3. 如需重复按键(如按 3 次 down),请多次调用本工具,不要在一次调用里塞重复。
click_at tool
在屏幕指定位置执行左键单击。
使用前请先调用 capture_screen。
x、y 是 capture_screen 返回图片上的像素坐标,
可通过 OCR 结果的 centerX / centerY 获得,也可直接看图判断。
double_click_at tool
在屏幕指定位置执行左键双击(例如打开文件、进入文件夹)。
使用前请先调用 capture_screen。
x、y 是 capture_screen 返回图片上的像素坐标,
可通过 OCR 结果的 centerX / centerY 获得,也可直接看图判断。
right_click_at tool
在屏幕指定位置执行右键单击(弹出上下文菜单)。
使用前请先调用 capture_screen。
x、y 是 capture_screen 返回图片上的像素坐标,
可通过 OCR 结果的 centerX / centerY 获得,也可直接看图判断。
scroll_at tool
在指定位置滚动屏幕,用于查看超出当前视口的内容。
direction 语义(表示你想看到哪个方向的内容):
- "down":查看下方内容(即让页面向上滚动,露出下面的部分)
- "up":查看上方内容(即让页面向下滚动,露出上面的部分)
跨平台注意:
macOS 和 Windows 对"自然滚动"的处理不同,同一方向参数在两边
可能产生相反的视觉移动。如果滚动后内容方向不对,改用相反参数重试。
最稳妥的做法是滚动后立即再调用 capture_screen 确认结果。
amount 为滚动格数(1 格约 3 行),建议 1~10。
使用前请先调用 capture_screen。
x、y 是截图上的像素坐标,可通过 OCR 结果的 centerX / centerY 获得,
也可直接看图判断。
drag tool
从起点拖拽到终点(按住左键移动后释放),常用于拖动滑块、移动窗口、框选内容。
使用前请先调用 capture_screen。
fromX / fromY 是起点的截图坐标,toX / toY 是终点的截图坐标,
均可通过 OCR 结果的 centerX / centerY 获得,也可直接看图判断。
capture_screen tool
截取当前全屏幕,返回两个内容块。
返回结构:
1. image 块:截图的 PNG 图片。
2. text 块:OCR 识别结果的 JSON 数组。每项含:
- text:识别出的文字内容
- centerX / centerY:文本框中心点在截图上的坐标
- score:识别置信度(0~1,越高越可信)
定位建议(OCR 与视觉同等重要,请交叉验证):
1. OCR 提供了文字内容和大致坐标,可作为快速定位依据。
2. 但 OCR 可能出错(识别错字、漏字、错位),此时请直接看图确认。
3. 视觉判断也可能出错(小字、相似图标、界面复杂),此时请参考 OCR。
4. 两者一致时直接使用;冲突时,以更合理的那个为准,并优先选择 score 高的条目。
5. 若两者都不足以判断,请如实告诉用户"无法定位",
不要凭想象编造坐标。编造坐标会导致误点击,后果严重。
若模型没有视觉能力(仅文本模型):
请仅依赖 OCR 结果;若无 OCR 结果或 OCR 结果明显不足,
请告知用户当前模型无法完成该任务。
坐标说明:
1. x、y 是截图上的像素坐标,不是真实屏幕坐标。
2. 后续调用 click_at / double_click_at / right_click_at / scroll_at / drag 时,
直接传截图上的坐标即可,工具会自动换算到真实屏幕位置。
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 8 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 8 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 8 tool handlers traced
- Requests any addressNo tool sends a request to an address the caller supplies — 8 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 8 tool handlers traced
- Tools that start processesNot seen in the traced code of 8 capabilities; 8 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 8 capabilities; 8 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 8 capabilities; 8 more call code the scanner could not follow, where it may happen
Where the code is: 8 handlers in 3 files at commit cb5653bad3b7
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: pom.xml
- Lockfiles checked against OSVNothing could be resolved to exact versions
- MCP SDK versionNo MCP SDK declared in a manifest
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 8 capabilities; 8 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
The project's own security
| Security policy | yes docs/SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-08 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | not stated |
| Created | 2026-09-25 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.