
ClawTank
io.github.HMAKT99由 GitHub 帳號 HMAKT99 發布v0.9.0更新於 Oct 24, 2026
Let agents see and drive a Mac: screenshots, clicks, typing, apps and virtual displays.
概覽
隨 macOS RDP 伺服器 ClawTank 提供的 MCP 伺服器,讓 Mac 上的 AI 代理截圖並操控桌面。
- 可以做什麼
- 擷取 Mac 螢幕畫面供代理檢視
- 以點擊、輸入和操作應用程式來驅動 Mac
- 在 Mac 的虛擬顯示器上運作,包括沒有接螢幕的 Mac
- 透過本機 Agent API 執行,支援依代理發放權杖、稽核記錄和可見的停止按鈕
- 適用情境
- 適合讓 Mac 上的 AI 代理檢視並控制桌面:自動化圖形介面應用程式、點擊操作介面或查看螢幕內容,同時維持本機、可稽核的方式,而不依賴雲端服務。
- 執行需求
- macOS 14 Sonoma 或更新版本、Apple 晶片,並在同一台 Mac 上安裝並執行 ClawTank 應用程式。需透過 CLAWTANK_AGENT_TOKEN 提供 ClawTank 設定 → Agents 中的代理權杖;只有在變更 Agent API 連接埠時才需要 CLAWTANK_AGENT_URL。Mac 需授予螢幕錄製與輔助使用權限。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 ClawTank,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
ClawTank
RDP into your Mac. Open source, hardware-accelerated, no cloud.
[CI] [Release] [License: Apache-2.0] [Platform: macOS 14+ on Apple silicon]
Install · Connect · FAQ · Troubleshooting · Documentation · Help test the beta
ClawTank is a native RDP server for macOS. Connect from any standard Remote Desktop client to your Mac and get a smooth, full desktop: Windows App on Windows, Mac, iPad and iPhone, Microsoft's RDP app on Android, the built-in mstsc on Windows, or FreeRDP on Linux.
Have a Mac mini or Mac Studio at home? Use it from your MacBook, a Windows PC, an iPad or Linux. The desktop fits your window at Retina sharpness, with no dummy display plug and no cloud.
[ClawTank Settings window, General tab: start at login, keep awake, swap Ctrl and Command, stats overlay, sound and clipboard options] [ClawTank's built-in connection guide showing steps to connect from a Mac with Windows App]
Status: 0.9 beta. Every feature below is covered by automated tests, live measurements and a FreeRDP interop test on each commit. Hands-on testing with Microsoft's clients (Windows App,
mstsc), headless Mac minis and real-world networks is under way: please help test or report issues.
Features
- Fast: H.264 video encoded by the Mac's media engine and sent over the RDP graphics pipeline. About 60 fps at under 10% CPU on Apple silicon.
- Fits your screen: the desktop resizes live to the client's window. Retina virtual displays give crisp text, and a headless Mac needs no dummy HDMI plug.
- Feels local:
- keyboard and mouse, including scroll, middle and back/forward buttons
- cursor shapes drawn on the client
- system audio, two-way clipboard (text, rich text, images)
- copy and paste of files and folders
- Secure by default:
- TLS with Network Level Authentication and its own password (never your macOS password)
- local-network only, lockout after failed logins, an audit log
- Reach it from anywhere with Tailscale: no port forwarding, and nothing exposed to the internet (guide).
- Agent API and MCP server: let AI agents on the Mac take screenshots and drive it, with per-agent tokens, an audit log and a visible Stop button (guide).
- Free and open source under Apache-2.0, including for companies. No account, no telemetry, no cloud.
How it compares
Based on each product's public documentation. Corrections are welcome. "—" means we didn't verify it.
Install
Requirements: macOS 14 Sonoma or later, on Apple silicon. Intel Macs: build from source (untested).
-
Download
ClawTank-<version>-arm64.dmgfrom Releases. Optionally check it againstSHA256SUMS: -
Open the DMG and drag ClawTank to Applications.
-
First launch (this beta isn't notarized yet):
- Open ClawTank. macOS says it can't verify the developer.
- Click Done, then go to System Settings → Privacy & Security.
- Scroll down to the message about ClawTank and click Open Anyway, then confirm with your password or Touch ID.
You only do this once. If you prefer Terminal:
xattr -dr com.apple.quarantine /Applications/ClawTank.app. Notarized, Developer ID-signed builds will open normally; see docs/releasing.md. -
ClawTank lives in the menu bar (a display icon). The setup window walks you through:
- Screen Recording: so the client can see your screen.
- Accessibility: so the client's keyboard and mouse can control the Mac.
- A ClawTank password: this is what you'll type in the RDP client. It isn't your Mac password.
The setup window then shows the address, username and certificate fingerprint to connect with. You can reopen it any time from menu → Setup Guide….
Connect
Use the address shown in the ClawTank menu (Copy Address), your ClawTank username (shown in setup) and your ClawTank password. Your client and the Mac must be on the same network, or both on Tailscale (see below).
Windows (Remote Desktop Connection)
- Press Win+R, type
mstsc, press Enter. - Computer: the Mac's address. Click Show Options and enter the User name.
- Click Connect and enter your ClawTank password.
- Windows warns about the certificate. Check that the fingerprint matches the one in ClawTank's Setup Guide, then accept it. Tick "Don't ask me again" so you aren't asked next time.
Mac (Windows App)
- Install Windows App from the Mac App Store.
- Click + → Add PC. PC name: the Mac's address. User account: add your ClawTank username and password.
- Double-click the PC. Tip: in the PC's settings, turn on Optimize for Retina displays for crisp text.
This is the setup for using a Mac mini or Mac Studio from a MacBook: the desktop is created at the MacBook window's size, so text is as sharp as on the MacBook's own screen.
iPad / iPhone / Android
- Install Windows App from the App Store (on Android, Microsoft's Remote Desktop / Windows App from Google Play).
- Tap + → Add PC. Enter the Mac's address, and your ClawTank username and password.
- Tap the PC to connect.
Linux (FreeRDP / Remmina)
Or add an RDP connection in Remmina with the same address and username.
From outside your home or office: install Tailscale on the Mac and on your device, and sign in to the same account. Then connect to the name shown in ClawTank → Settings → Remote Access. Don't forward port 3389 on your router. See docs/remote-access.md, which also covers Wake-on-LAN.
FAQ
Is it safe to run? Connections are encrypted with TLS and require NLA, so the password is checked before any screen is shown. By default only local-network and Tailscale addresses can connect. 5 failed logins in 5 minutes block that address for 5 minutes. Every attempt is recorded in menu → Connection Log…. The password is stored in your Keychain, or in a 0600 file for ad-hoc builds.
Why does it need Screen Recording and Accessibility? Screen Recording lets ClawTank capture the screen to send it. Accessibility lets it turn the client's keyboard and mouse into real input. Without Accessibility, you can watch but not control. ClawTank never records to disk.
Why a separate password instead of my macOS account?
So a leaked RDP password can't unlock your Mac, your Keychain or sudo. Change it in Settings → Security.
Can I connect while the Mac is locked or at the login window? macOS doesn't let apps capture a locked screen: clients see only the wallpaper until someone unlocks the Mac at the keyboard. On an always-on Mac mini you can turn on automatic login (not available with FileVault), so the desktop is ready after a restart. Weigh that against who can physically reach the Mac. The ClawTank menu shows when the Mac is locked.
I only have Macs. Why not use macOS Screen Sharing? Screen Sharing works well between Macs, and its High Performance mode uses hardware video on Apple silicon. ClawTank is for when you also want:
- the desktop to resize to your client window, including on a headless Mac with no monitor or dummy plug
- one server for every device: the same Mac mini from your MacBook, a Windows PC, an iPad, Android or Linux, using Microsoft's free clients
We haven't benchmarked ClawTank against High Performance mode, so we don't claim it's faster.
Several people at once? Separate macOS users? One RDP session at a time, showing the logged-in user's desktop. Separate sessions per macOS account aren't possible with public macOS APIs.
Why isn't it on the Mac App Store? The APIs ClawTank needs (input injection, virtual displays) aren't allowed in sandboxed App Store apps.
macOS asks for permissions again after I update. Unsigned (ad-hoc) builds get a new code identity every release, so macOS treats each update as a new app. Re-enable ClawTank under Privacy & Security → Screen Recording / Accessibility (remove the old entry first if it's there). Developer ID-signed builds will keep their permissions.
Does it phone home? No. ClawTank makes no network connections of its own. It only accepts incoming RDP connections, plus optional local Agent API calls on 127.0.0.1.
Troubleshooting
Known limitations
- One monitor per session: a multi-monitor client gets one resizable desktop. No AVC444 (full-colour 4:4:4) yet; Retina sessions give crisp text instead.
- Not notarized yet, so you need the one-time "Open Anyway" step. Apple silicon builds only.
- No automatic updates yet: watch Releases on GitHub.
- See CHANGELOG.md and docs/testing.md for what's been verified.
Help test the beta
We're looking for people to try 0.9 on real setups: Windows and Mac clients, iPads, headless Mac minis, Wi-Fi and Tailscale. The beta testing guide is a short script, about 5–15 minutes per section. Report each result, including passes, with the Beta test report form.
Documentation
- Remote access with Tailscale
- Agent API and MCP server
- Architecture and design decisions
- Testing record and releasing
- All docs: docs/README.md
Building from source
Requirements: macOS 14+, Xcode 16+, Rust (stable, via rustup), brew install xcodegen swiftlint.
To work in Xcode, run make core project, then open app/ClawTank.xcodeproj. Architecture: docs/architecture.md. Design decisions: docs/decisions.md.
Contributing
Contributions are welcome. See CONTRIBUTING.md for setup and conventions, including the clean-room rule. Please follow the Code of Conduct. For help, see SUPPORT.md. To report a vulnerability privately, see SECURITY.md.
License
Apache-2.0. See LICENSE and THIRD_PARTY_NOTICES.md. ClawTank is built on IronRDP.
來源:README.md,提交 edb7ce7
工具
0版本歷史
1- v0.9.0最新Oct 23, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分