Add the remote_clipboard tool to the MCP remote control surface, writing text to the remote host's clipboard via COMMAND_SCREEN_SET_CLIPBOARD through the established screen sub-connection. Input UTF-8 is converted to GBK (ToAnsi, code page 936) to match the client's CF_TEXT/ANSI clipboard path, mirroring the existing CScreenSpyDlg::SendServerClipboard packet format. Pasting remains a separate step (remote_keyboard Ctrl+V). Known MVP limitation, documented in the tool description: non-GBK characters (e.g. emoji) are replaced by '?' on the CF_TEXT path. Co-Authored-By: deepseek-v4-pro
172 KiB
172 KiB