
ClawTank
io.github.HMAKT99Published by GitHub account HMAKT99v0.9.0Updated Oct 24, 2026
Let agents see and drive a Mac: screenshots, clicks, typing, apps and virtual displays.
Overview
MCP server bundled with ClawTank, a macOS RDP server, that lets an AI agent on the Mac take screenshots and drive the desktop.
- What you can do
- Capture screenshots of the Mac's screen for the agent to inspect
- Drive the Mac with clicks, typing and app interaction
- Work against the Mac's virtual displays, including a headless Mac
- Operate through a local Agent API with per-agent tokens, an audit log and a visible Stop button
- When to use it
- For letting an AI agent on a Mac see and control the desktop — automating GUI apps, clicking through interfaces, or checking what is on screen — while keeping a local, auditable path rather than a cloud service.
- Requirements
- macOS 14 Sonoma or later on Apple silicon, with the ClawTank app installed and running on the same Mac. The agent token from ClawTank Settings → Agents must be supplied as CLAWTANK_AGENT_TOKEN; CLAWTANK_AGENT_URL is only needed if the Agent API port was changed. The Mac must grant Screen Recording and Accessibility permissions.
Installation
In SourceWeft
- Open ClawTank in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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.
Source: README.md at commit edb7ce7
Tools
0Version history
1- v0.9.0LatestOct 23, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts