sky-lite-desktop
Windows 桌面 GUI 自动化,以 MCP stdio 服务形式提供给 AI 调用。
底层用三件系统能力组合:UI Automation(读界面结构与元素)+ SendInput(合成鼠标键盘)
- Windows.Graphics.Capture(截屏,失败自动回退 PrintWindow)。
安装
无需手动安装依赖,MCP 宿主通过 uvx 拉起即可:
uvx --from sky-lite-desktop sky-lite-mcp
或本地安装后运行:
pip install sky-lite-desktop
sky-lite-mcp
需要 Windows 10 1809+ / Python 3.10+。
工具
13 个桌面操作方法 + 5 个定时与画布方法,共 18 个:
观测 list_apps list_windows get_window get_window_state
输入 click type_text press_key scroll set_value drag
perform_secondary_action activate_window
定时 hold_keys sequence mouse_move
画面 capture_frames compare_shots
安全设计
- 硬拒绝清单:终端/shell、锁屏与 UAC、安全软件、密码管理器、Windows 键组合 在工具层直接拒绝,不依赖模型自觉。
- 双重确认:高危动作(删除/发送/支付/安装/授权等)需要显式
confirm=true, 代码侧对危险动词做机械兜底。 - 纯本地:不联网、不上传截图与文本、不需要账号凭证。策略配置存于
~/.sky-lite/policy.json,可自行增删拒绝项。
限制
仅 Windows;需要可交互桌面会话(锁屏 / RDP 断开时不可用);自绘界面没有可访问性树, 只能用坐标加连拍比对。
许可
MIT
Metadata
Release files for sky-lite-desktop 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sky_lite_desktop-1.0.0.tar.gz | 42.8 kB | Without provenance | Details for sky_lite_desktop-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sky_lite_desktop-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for sky_lite_desktop-1.0.0-py3-none-any.whl |
Total release size: 89.1 kB
Release files / sky_lite_desktop-1.0.0.tar.gz
| Download URL | sky_lite_desktop-1.0.0.tar.gz |
|---|---|
| Size | 42.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
842318a2ec944c8f3c34434ffbdb899a82379f685d32a32ff4334915c884dd73
|
|
BLAKE2b-256 checksum How to use checksums |
3466f574b2673acbc9c510f00ef48b921819135d92eceecadc698380559d4d6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / sky_lite_desktop-1.0.0-py3-none-any.whl
| Download URL | sky_lite_desktop-1.0.0-py3-none-any.whl |
|---|---|
| Size | 46.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e92512b2792593c0d814b25d6ceb0a2a643a78a89f34c0d45e3211ded091a2de
|
|
BLAKE2b-256 checksum How to use checksums |
1648691f404d7b58286dda918f0137942fc0a497e6b8b40a1c1ac6d98cab74a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for sky-lite-desktop 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.