rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
PROJECT README
Connect Pinky — the phone-control MCP server that lets any AI agent use a real Android phone or iPhone, with a person approving the risky steps — to DeepSeek Harness (dsh).
This is a configuration-only dsh bundle: it inserts the shipped @deepseek-ai/dsh-mcp-client row for Pinky, so every session in the profile gets the agent tools mcp__pinky__* (phone_connect, phone_observe, phone_tap, phone_type, phone_launch, phone_handoff, phone_release, …) plus the MCP resource server pinky.
Add phone). Pinky starts with Pinky.exe mcp on Windows, pinkyctl mcp on macOS/Linux, or the app's own executable path.>= 0.2.1-rc.2 (the version that ships @deepseek-ai/dsh-mcp-client).In dsh Desktop: Settings → Plugins → install from GitHub with the spec
github:retweve/dsh-plugin-pinky
or install the npm package (once published):
dsh plugin --profile <profile> add dsh-plugin-pinky
Restart dsh if the plugin manager says the change is not live, then start a new session. The agent's tool list should now contain mcp__pinky__*.
The row resolves the Pinky executable per platform, and PINKY_BIN overrides it:
| Platform | Default |
|---|---|
| Windows | %LOCALAPPDATA%\Programs\Pinky\Pinky.exe |
| macOS | /Applications/Pinky.app/Contents/MacOS/Pinky |
| Linux | /opt/pinky/pinky |
Portable or custom installs override the row in the profile's user patch (~/.dsh/profiles/<profile>/cordis.patch.yml, or a --patch overlay). config is replaced wholesale, so restate every field:
- id: mcp-pinky
config:
serverName: pinky
transport: stdio
command: 'D:\Pinky\Pinky.exe'
args:
- mcp
toolCallTimeoutMs: 120000
failOnStartupError: false
Pinky's server sends its own instructions at connect time. In short:
phone_connect starts a task (the name is shown to you in Pinky); phone_release ends it.[ref] numbers for later taps. phone_observe returns the whole screen.user_took_over / paused → the agent asks you with phone_handoff and waits. stopped → you pressed Stop; that session may not use the phone again, and new sessions cannot use any phone for 10 minutes after a Stop all.Try it: “Use Pinky to see what's on my phone.” / 「用 Pinky 看看我手机现在什么画面。」
| Symptom | Fix |
|---|---|
No mcp__pinky__* tools |
Pinky path wrong, or Pinky not installed. Check the path, or set PINKY_BIN / override command. dsh logs an MCP connection error; the harness still starts (failOnStartupError: false). |
| Tools appear but calls fail | Pinky app not running, or no phone connected. Open Pinky and add/reconnect a phone. |
device_offline |
The phone dropped (USB unplugged, Wi-Fi debugging off). Reconnect it in Pinky. |
stopped |
You pressed Stop in Pinky. Wait 10 minutes after a Stop all, then start a new task (a fresh session may be needed). |
approval_denied / timeout |
The approval card waits 60 s. Answer in Pinky, or soften the rules in Pinky → Settings → Safety. |
Remove the plugin in dsh's plugin manager (or dsh plugin remove). That removes the mcp-pinky row with the bundle; nothing else is touched.
MIT — see LICENSE. Pinky itself is Apache-2.0; its name and icon are used only to describe the integration.
把 Pinky(手机控制 MCP 服务:让 AI 智能体操作真实的安卓手机 / iPhone,风险操作由你批准)接入 DeepSeek Harness(dsh)。
这是一个「纯配置型」dsh 插件:它插入 dsh 自带的 @deepseek-ai/dsh-mcp-client 行来启动 Pinky,使该 profile 下所有会话获得 mcp__pinky__* 工具(phone_connect、phone_observe、phone_tap、phone_type、phone_launch、phone_handoff、phone_release 等)以及名为 pinky 的 MCP 资源服务。
0.2.1-rc.2(自带 @deepseek-ai/dsh-mcp-client);在 dsh 桌面版:设置 → 插件 → 用 GitHub 规格安装:
github:retweve/dsh-plugin-pinky
或安装 npm 包(发布后):dsh plugin --profile <profile> add dsh-plugin-pinky。
按提示重启 dsh、新开会话后,工具列表里应出现 mcp__pinky__*。
默认按平台解析,也可用环境变量 PINKY_BIN 覆盖:
| 平台 | 默认路径 |
|---|---|
| Windows | %LOCALAPPDATA%\Programs\Pinky\Pinky.exe |
| macOS | /Applications/Pinky.app/Contents/MacOS/Pinky |
| Linux | /opt/pinky/pinky |
便携版 / 自定义安装请在 profile 的用户补丁层(~/.dsh/profiles/<profile>/cordis.patch.yml)里覆盖整行 config(注意是整体替换,需重写全部字段):
- id: mcp-pinky
config:
serverName: pinky
transport: stdio
command: 'D:\Pinky\Pinky.exe'
args:
- mcp
toolCallTimeoutMs: 120000
failOnStartupError: false
Pinky 服务端会在连接时下发自己的使用说明,要点:
phone_connect 开始任务(任务名会显示在 Pinky 里),phone_release 结束任务;[ref] 编号可直接操作;phone_observe 读取整屏;user_took_over / paused 时智能体用 phone_handoff 请你交还;stopped 表示你按了 Stop——该会话不能再使用这台手机,Stop all 后 10 分钟内新会话也不能用任何手机。试试说:「用 Pinky 看看我手机现在什么画面。」
| 现象 | 处理 |
|---|---|
看不到 mcp__pinky__* |
Pinky 路径不对或没装。检查路径 / 设置 PINKY_BIN / 覆盖 command;dsh 日志会记录 MCP 连接错误,但宿主仍能启动。 |
| 工具出现但调用失败 | Pinky 没在运行,或没有已连接的手机。 |
device_offline |
手机断连(拔线 / 关掉无线调试),回 Pinky 重新连接。 |
stopped |
你按过 Stop。Stop all 后等 10 分钟再开新任务(必要时新会话)。 |
approval_denied / 超时 |
批准卡片最多等 60 秒;在 Pinky 里点允许,或在 Pinky → 设置 → 安全 里调整规则。 |
在 dsh 插件管理器里移除(或 dsh plugin remove),会同时移除 mcp-pinky 行,不影响其他配置。
MIT(见 LICENSE)。Pinky 本体为 Apache-2.0;其名称与图标仅用于描述本集成。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: mcp、deepseek-harness。