ClawTank

Registre officiel Productivité

Let agents see and drive a Mac: screenshots, clicks, typing, apps and virtual displays.

Que pouvez-vous faire avec ClawTank ?

  • 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:
  • Secure by default:
  • 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.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

MCPB package https://github.com/HMAKT99/ClawTank/releases/download/v0.9.0/clawtank-mcp-0.9.0-arm64.mcpb

Variables d'environnement

  • CLAWTANK_AGENT_TOKEN obligatoire secret Agent token from ClawTank → Settings → Agents. Requires the ClawTank app running on this Mac.
  • CLAWTANK_AGENT_URL Agent API address, if you changed its port.

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. ClawTank
  2. Features
  3. How it compares
  4. Install
  5. Connect
  6. FAQ
  7. Troubleshooting
  8. Known limitations
  9. Help test the beta
  10. Documentation
  11. Building from source
  12. Contributing
  13. License

ClawTank

RDP into your Mac. Open source, hardware-accelerated, no cloud.

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.

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

ClawTankmacOS Screen SharingChrome Remote Desktop
ProtocolRDPVNC-based (Apple extensions)Proprietary, through Google
Connect from Windows with built-in tools✅ mstsc / Windows App❌ needs a VNC client❌ needs Chrome
iPad / iPhone / Android✅ Windows App / Microsoft RDP appsThird-party VNC apps✅ Chrome Remote Desktop app
Account neededNoNoGoogle account
Traffic pathDirect (LAN or your own Tailscale)DirectSet up through Google's servers; relayed by Google when a direct path fails
Hardware video encoding✅ H.264In High Performance mode (Mac to Mac, Apple silicon)—
Desktop resizes to the client window✅——
Headless Mac without a dummy display plug✅ virtual display——
Price / licenseFree, Apache-2.0Included with macOSFree, closed source

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).

  1. Download ClawTank-<version>-arm64.dmg from Releases. Optionally check it against SHA256SUMS:
     shasum -a 256 ~/Downloads/ClawTank-*.dmg
  2. Open the DMG and drag ClawTank to Applications.
  3. First launch (this beta isn't notarized yet):

    1. Open ClawTank. macOS says it can't verify the developer.
    2. Click Done, then go to System Settings → Privacy & Security.
    3. 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.

  4. 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)

  1. Press Win+R, type mstsc, press Enter.
  2. Computer: the Mac's address. Click Show Options and enter the User name.
  3. Click Connect and enter your ClawTank password.
  4. 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)

  1. Install Windows App from the Mac App Store.
  2. Click + → Add PC. PC name: the Mac's address. User account: add your ClawTank username and password.
  3. 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

  1. Install Windows App from the App Store (on Android, Microsoft's Remote Desktop / Windows App from Google Play).
  2. Tap + → Add PC. Enter the Mac's address, and your ClawTank username and password.
  3. Tap the PC to connect.

Linux (FreeRDP / Remmina)

xfreerdp3 /v:<address> /u:<username> /dynamic-resolution /gfx:avc420

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

ProblemTry
Client can't find the Mac / times outCheck you're on the same network and using the address from Copy Address. If macOS asked "Accept incoming network connections?" for ClawTank, choose Allow (System Settings → Network → Firewall → Options). Check the menu says "Ready".
"Your credentials did not work"Use your ClawTank username and password, not your Mac account. Copy them from the menu or the Setup Guide. After 5 failures, wait 5 minutes.
Connection refused from another networkIt's LAN-only by design. Use Tailscale (guide).
Certificate warning every timeAccept it once with "Don't ask me again" after checking the fingerprint in the Setup Guide.
You see only the wallpaperThe Mac is locked. Unlock it at the keyboard.
You can see but not controlGrant Accessibility to ClawTank (System Settings → Privacy & Security → Accessibility), then reconnect.
Black screenGrant Screen Recording, then quit and reopen ClawTank.
No soundCheck Settings → General → Play this Mac's sound on the client, and turn on audio in your client's settings.
Ctrl+C doesn't copy (from Windows)Turn on Settings → General → Swap Ctrl and ⌘.
Choppy over Wi-FiLower Settings → Display & Quality, or use Ethernet on the Mac. The menu shows live fps and round-trip time.
Anything elseMenu → Export Diagnostics… creates a zip with no secrets in it. Attach it to an issue.

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

Building from source

Requirements: macOS 14+, Xcode 16+, Rust (stable, via rustup), brew install xcodegen swiftlint.

make build        # Rust core + ClawTank.app (app/build/Build/Products/Release/)
make dev-signing  # one-time: a local signing identity so permissions survive rebuilds
make test         # cargo test + XCTest
make lint         # clippy -D warnings, rustfmt, swiftlint
make release      # versioned DMG + SHA256SUMS + release notes in dist/

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.

Questions fréquentes

Qu'est-ce que ClawTank ?

Let agents see and drive a Mac: screenshots, clicks, typing, apps and virtual displays.

Comment installer ClawTank ?

Suivez les étapes d'installation de sa documentation, affichée sur cette page et dans son dépôt.

Faut-il une clé API pour ClawTank ?

Oui. Il attend CLAWTANK_AGENT_TOKEN, à renseigner dans sa configuration.

ClawTank est-il open source ?

Oui. Son code est sur GitHub sous licence Apache-2.0.

Qui maintient ClawTank ?

Il est publié par HMAKT99. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.