Reference
Settings
Every Cloak Proxy setting with its default: General, SSL Proxying, Bypass, Certificate, Network, Protobuf and Advanced, plus settings only the API changes.
Cloak Proxy’s settings window has seven pages: General, SSL Proxying, Bypass, Certificate, Network, Protobuf and Advanced. This page describes every option on each, with its default, and the few settings that live elsewhere.
Open Settings
Section titled “Open Settings”- Choose Cloak Proxy › Settings… or press ⌘ ,.
- Press ⇧ ⌘ A and type the name of a page or option, such as
Bypass List,External ProxyorWrite TLS Keys for Wireshark. Every option below has its own search result that opens the right page. See Search and command palette.
The window remembers the last page you opened. The round ? button at the bottom right of a page opens this page of the docs. Since 0.2.2
Which changes apply right away
Section titled “Which changes apply right away”| Change | When it takes effect |
|---|---|
| Port and Allow other devices to connect on General | When you click Apply & Restart Proxy. |
| Everything on Network | When you click Apply & Restart Proxy. Revert discards your edits. |
| Bypass list | The next time you turn the macOS proxy on. |
| Everything else | Immediately. |
Restarting the proxy briefly turns the macOS proxy off and back on, and closes open connections. Apps reconnect on their own.
General
Section titled “General”The General page, with the defaults.
- The port Cloak Proxy listens on
- Let phones and other computers connect
- Applies port and device changes
- Turn on macOS capture at launch
- Keep apps off HTTP/3
- How much of each body to keep for inspection
- Keep the traffic list when Cloak Proxy quits
| Section | Option | Default | What it does |
|---|---|---|---|
| Listening | Port | 9090 |
The port Cloak Proxy listens on, from 1 to 65535. Apps, devices and cloakctl connect to it. |
| Listening | Allow other devices to connect (phones, other computers) | Off | Listens on every network interface instead of only this Mac, so phones, tablets and other computers can use the proxy. When on, the page shows This Mac’s address (for example 192.168.1.20:9090) and a warning. |
| Listening | Apply & Restart Proxy | Applies the two options above. Dimmed until you change one. | |
| macOS traffic | Capture macOS traffic when Cloak Proxy opens | On | Sets the macOS HTTP and HTTPS proxy to Cloak Proxy at launch and restores your previous settings when you quit. See macOS traffic. |
| HTTP/2 | Offer HTTP/2 to apps on decrypted connections | On | Apps that support HTTP/2 (Chrome, curl, URLSession) talk HTTP/2 to Cloak Proxy on decrypted connections. Turn it off if an app misbehaves; apps then use HTTP/1.1. |
| HTTP/3 Since 0.5.1 | Keep apps off HTTP/3 | On | Removes the Alt-Svc header from decrypted responses, so servers can’t move apps to HTTP/3, which goes around every proxy. See Keep apps off HTTP/3. |
| While recording is paused Since 0.4.2 | Pass traffic through untouched / Keep intercepting, just don’t record | Pass through | What the proxy does while recording is paused. Passing through decrypts nothing and applies no rules or tools, so sign-ins and bot-protected sites work; keeping intercepting decrypts and applies rules as usual without recording (what pausing always does up to 0.4.1). See Hands off while paused. |
| Capture | Max captured body size | 32 MB | Choose 1, 5, 10, 32, 64 or 128 MB. Larger bodies are still forwarded in full; only the first part is kept for inspection. |
| Capture | Keep captured traffic when Cloak Proxy quits Since 0.2.0 | On | Saves the traffic list, with its highlights and comments, every 30 seconds and when you quit, and restores it the next time Cloak Proxy opens. Request numbers continue from where they left off. If you turned it off in an earlier version, it stays off. See Keep traffic between launches. |
| Muted apps Since 0.2.0 | (list) | Empty | Apps whose traffic isn’t recorded. Each has an Unmute button. With no muted apps, the section explains how to add one: right-click an app in the sidebar or a request and choose Mute followed by the app’s name. See Mute an app. |
| Updates | Check for updates automatically Since 0.2.2 | Off | Once a day, when Cloak Proxy opens, asks the download server whether there’s a new version and tells you only when a version you haven’t skipped is out. From 0.5.4 you can install it from the same window. See Check for updates. |
| Updates | Help count active installs (anonymous) Since 0.4.2 | Off | Each update check also sends the app version and platform, so Subcloak can count installs in use per day. No IP address or ID is kept. See Check for updates. |
Keep traffic between launches
Section titled “Keep traffic between launches”With Keep captured traffic when Cloak Proxy quits on (the default), the traffic list is saved in ~/Library/Application Support/CloakProxy/Session. Large and older bodies already live there as files while you capture, whether or not the option is on, so the saved list refers to them instead of copying them, and even large sessions save and open quickly. Only your macOS account can read the files. The list is written only when the traffic changed, and removed when the list is empty.
Clear Session (⌘ K) deletes the files, and so does turning the option off or quitting while it’s off. See Recording and sessions.
Check for updates
Section titled “Check for updates”Cloak Proxy › Check for Updates… checks right away and always tells you the result: You’re up to date with your version, or that a newer version is available, with Download, Release Notes and Later. Turn on Skip this version to stop hearing about that version.
Since 0.5.4 From 0.5.4, a newer version opens the Software Update window with its release notes and Install and Relaunch, Remind Me Later and Skip This Version. Install and Relaunch downloads, checks, installs and reopens Cloak Proxy; see Update to a new version. A copy installed with Homebrew shows the brew upgrade --cask cloak-proxy command instead, and a copy whose updates your organization manages only says that a new version is out. There’s no automatic download.
With Check for updates automatically on, Cloak Proxy does the same check at most once a day when it opens, and says nothing unless a version you haven’t skipped is out.
Since 0.5.0 From 0.5.0, when a configuration profile sets these switches, they’re locked with Your organization manages these settings. See Deploy to a team’s Macs.
A check asks download.subcloak.com for the latest version (from 0.5.4, the signed appcast at download.subcloak.com/appcast/mac.xml, which also carries the release notes). The request has a fixed User-Agent: CloakProxy (up to 0.4.1, Cloak Proxy’s version), no cookies, and nothing about you or your traffic; no system profile is sent. The update itself is downloaded from download.subcloak.com only when you choose Install and Relaunch, and that download isn’t counted. With the option off (the default) and without Check for Updates…, Cloak Proxy never contacts Subcloak. See Security and privacy.
Help count active installs (anonymous) Since 0.4.2 is off by default. When it’s on, each check also sends the app version and a platform bucket (mac-arm64 or mac-x86_64; on Linux linux-x86_64 or linux-arm64), for example https://download.subcloak.com/api/info?v=0.4.2&p=mac-arm64 (from 0.5.4 on the Mac, /appcast/mac.xml?v=0.5.4&p=mac-arm64). The download server adds one to a count per day, version and platform and keeps nothing else: no IP address, no ID and no User-Agent. The first time you turn on Check for updates automatically, Cloak Proxy asks whether to count it: Don’t Count or Count Anonymously. Change your answer here at any time.
Mute an app
Section titled “Mute an app”Muting an app stops its requests from appearing in the traffic list while it keeps working through Cloak Proxy. Its traffic still goes through your debugging tools, such as Map Local or Block List. Use it for chatty background apps that bury the requests you care about.
- To mute, right-click the app in the sidebar, or right-click one of its requests in the traffic list, and choose Mute followed by the app’s name and (Stop Recording It).
- To unmute, choose Unmute followed by the app’s name from the same menus, or click Unmute next to it in Settings › General › Muted apps and hosts.
App names are matched without regard to case. Requests that were already captured stay in the list. AI assistants can mute and unmute apps with the MCP tool mute_app.
SSL Proxying
Section titled “SSL Proxying”HTTPS traffic to the hosts on this list is decrypted. Other HTTPS traffic passes through encrypted, as a tunnel. See SSL proxying.
The SSL Proxying list starts empty.
- On: turn a host off without deleting it
- Type a host or pattern
- Adds it to the list
- Removes the selected row
| Control | What it does |
|---|---|
| On | Turns a host pattern on or off without removing it. |
| Host | The pattern. Click to edit. |
| Text field | Type a pattern and press Return or click Add. |
| Add | Adds the pattern. |
| Remove | Removes the selected row. |
Patterns can be an exact host (api.example.com), use * for any characters (*.example.com, api-*.test.dev) or ? for one character, add a port (example.com:8443), or be * alone to decrypt everything. Default: empty.
Never decrypted Since 0.3.0 lists hosts that pass through encrypted even when a pattern above, their app’s SSL Proxying or a capture covers them. The first four, marked Built in, are Apple system services that always refuse other certificates; they can’t be removed (see What’s never decrypted). Below them are hosts the Doctor excluded because they pin their certificates; click Decrypt Again to remove one.
Since 0.4.2 From 0.4.2 the order changes: first come hosts you or the Doctor excluded (pinned hosts, sites that answer with a bot challenge), each with Decrypt Again. Below them is the built-in list, with what breaks when each host is decrypted: sign-in pages and bot checks (Google, Apple Account, Microsoft, Okta, Cloudflare’s challenges), each with a Decrypt anyway switch, off by default; and Apple system services, which can’t be decrypted. See Sign-in pages and bot checks.
Apps whose HTTPS is decrypted for every host aren’t on this page. Turn them on from the sidebar: select an app and click Enable SSL Proxying for All Requests from the app, or right-click it.
Bypass
Section titled “Bypass”Hosts on this list skip Cloak Proxy entirely while the macOS proxy is on: macOS sends their traffic straight to the internet. Use it for hosts you never want to see or touch, such as internal services.
The Bypass list with its three default entries.
- On: include the entry when the macOS proxy is set
- Default entries
- Add a host or pattern
| Default entry | Covers |
|---|---|
localhost |
This Mac. |
*.local |
Bonjour names on your network. |
169.254/16 |
Link-local addresses. |
The controls are the same as on SSL Proxying. Changes apply the next time you turn the macOS proxy on, because they’re written into macOS’s proxy settings then. The list only affects apps that follow the macOS proxy; apps and devices configured to use Cloak Proxy directly still send everything to it.
Certificate
Section titled “Certificate”The root certificate lets Cloak Proxy decrypt HTTPS. This page shows it, installs and removes it, and holds client certificates for servers that require mutual TLS. See Certificate.
The Certificate page on a Mac that trusts the certificate.
- Whether macOS trusts the certificate
- When the certificate expires
- Install & Trust…, or Re-install once trusted
- Make a new certificate (devices must trust it again)
- Use your own root certificate and key
- Add a client certificate for mutual TLS
- Servers whose certificates aren't checked
Root certificate
Section titled “Root certificate”| Item | What it shows or does |
|---|---|
| Name | The certificate’s name: Cloak Proxy CA followed by your Mac’s name and the date it was made. |
| File | Where it’s stored: ~/Library/Application Support/CloakProxy/cloak-proxy-ca.pem. |
| Status | Trusted on this Mac or Not trusted. |
| Install & Trust… | Adds the certificate to your login keychain as a trusted root. macOS asks for your password. Reads Re-install once trusted. |
| Remove from Keychain | Removes the trust setting and deletes Cloak Proxy certificates from your login keychain. Available when trusted. |
| Show in Finder | Reveals the certificate file. |
| Copy PEM | Copies the certificate as PEM text, for installing on other devices or tools. |
| Regenerate Certificate… | Makes a new certificate and private key after you confirm. Devices and simulators that trust the old one need the new one installed. |
| Use My Own CA… | Uses an existing root certificate and private key instead. Select both PEM files at once in the file dialog. |
| Check Again | Rechecks whether macOS trusts the certificate. |
Client certificates (mutual TLS)
Section titled “Client certificates (mutual TLS)”For servers that ask the client for a certificate. Cloak Proxy presents the .p12 certificate when it connects to a matching host. Default: none.
| Field | What it’s for |
|---|---|
| On switch | Turns the entry on or off. |
| Host | The host it applies to, for example mtls.example.com or *.internal.example.com. |
| File (Choose…) | The .p12 or .pfx file with the certificate and its private key. |
| Password for the .p12 file | The file’s password. |
| Remove button | Deletes the entry. |
Click Add Client Certificate to add one.
Servers without certificate checks
Section titled “Servers without certificate checks”Development servers with self-signed or mismatched certificates that Cloak Proxy connects to without checking who they are. Type a host or a wildcard such as *.staging.example.com and click Add; the switch next to each host turns it off without removing it. Requests to these hosts are labeled Insecure TLS in the traffic list. Add only servers you control, never production hosts. See Skip certificate checks for some servers.
Network
Section titled “Network”Settings for how Cloak Proxy reaches the internet and who can reach it. Click Apply & Restart Proxy to apply changes, or Revert to discard them. If a listener can’t start, for example because its port is in use, the error appears next to these buttons. See Network settings.
The Network page with nothing set up.
- Chain to a corporate or other proxy
- A SOCKS5 listener for clients that can't use an HTTP proxy
- Forward a local port to a server and record it
- Limit which devices may connect
- Applies every change on this page
External proxy
Section titled “External proxy”| Option | Default | What it does |
|---|---|---|
| Send outgoing traffic through another proxy | Off | Sends requests Cloak Proxy forwards through another proxy, such as a corporate proxy or another debugging tool. From 0.4.2 it sends every connection Cloak Proxy opens (requests, tunnels it doesn’t decrypt, WebSockets) through it. |
| Type | HTTP/HTTPS | HTTP/HTTPS or SOCKS5. |
| Host | Empty | The other proxy’s host. |
| Port | 8080 |
The other proxy’s port. |
| Username (optional) and Password | Empty | Credentials for an HTTP/HTTPS proxy. Not shown for SOCKS5 up to 0.4.1; from 0.4.2 also username/password for SOCKS5. Since 0.4.2 |
| Don’t use it for Since 0.4.2 | localhost, 127.0.0.1, ::1, *.local |
Hosts reached directly, not through the external proxy. Wildcards work. |
| Option | Default | What it does |
|---|---|---|
| SOCKS5 proxy | Off | Starts a SOCKS5 listener on this Mac. Point SOCKS5 clients at 127.0.0.1 and the port. HTTPS is decrypted following your SSL Proxying rules. |
| Port | 8889 |
The SOCKS5 port. |
Reverse proxies
Section titled “Reverse proxies”For apps that can’t use a proxy at all. Point them at http://localhost:PORT and Cloak Proxy forwards to the target and records the traffic. Click Add Reverse Proxy to add a row; the first one uses port 9000. Default: none.
| Field | Default | What it does |
|---|---|---|
| On switch | On | Turns the row on or off. |
localhost: port |
9000 for the first row, then one more than the highest port in the list |
The local port apps connect to. |
| Target | https:// |
The server to forward to, for example https://api.example.com. |
| Rewrite Host | On | Sends the target’s host name in the Host header instead of localhost. |
| Remove button | Deletes the row. |
Allowed devices
Section titled “Allowed devices”When Allow other devices to connect is on, only addresses on this list may connect. Leave it empty to accept any device on your network. This Mac is always allowed. Click Add Address to add a row, prefilled with your network’s range, for example 192.168.1.*. Each row has an on switch, a pattern and a remove button. Default: empty. Refused connections are noted in the log file.
In-app SDK
Section titled “In-app SDK”Takes traffic from your own apps that use CloakProxyKit. See In-app SDK.
| Option | What it does | Default |
|---|---|---|
| Accept traffic from apps using CloakProxyKit | Listens on every network interface and announces this Mac over Bonjour. The first time an app connects from a device, Cloak Proxy asks whether to allow it. | Off |
| Port | The listener’s port. Type a port and click Apply. | 9092 |
| Certificate | The first 16 digits of the listener’s certificate fingerprint, for the SDK’s macFingerprint option. |
|
| Allowed apps | Each allowed app with its icon, device, version and when it was last seen. A green dot means it’s connected. Remove disconnects it, and it’s asked about again next time. | None |
| Blocked apps | Apps you didn’t allow. Remove lets them ask again. | None |
Companion
Section titled “Companion”Lets a browser on another device watch this Mac’s traffic. See Web companion.
| Option | What it does | Default |
|---|---|---|
| Allow browsers to connect | Serves the web companion over HTTPS on every network interface. Turning it off disconnects every browser. | Off |
| Port | The web companion’s port. Type a port and click Apply. | 9093 |
| Pair Browser… | Shows a QR code, the address and a 6-digit code that pair one browser within 5 minutes. | |
| Paired devices | Each paired browser with when it paired and was last seen. Remove disconnects it right away. | None |
Protobuf
Section titled “Protobuf”The .proto files you’ve imported, used to decode captured gRPC and Protobuf bodies with field names and by gRPC requests in the API client. Each import shows its files, message count and services, with Reload (read the files again from where they came from) and Remove. Import .proto Files… imports files or a folder; Import with Import Folder… lets you pick the folder their imports are relative to. Default: none. See Decode with your .proto files.
Privacy
Section titled “Privacy”What leaves your computer, in one place. From 0.4.2, Settings › Privacy sits before Advanced, on the Mac and on Linux.
| Section | What it shows |
|---|---|
| AI providers | Each provider you allowed Agent Mode or AI requests to send to, with its endpoint and when you allowed it. Revoke forgets one, so its next use asks again; Revoke All forgets them all. Empty until a feature asks. See AI providers. |
| Subcloak | Whether the update check runs automatically and whether anonymous counting is on (both changed in General › Updates; Open General goes there), and Privacy Policy. The update check, and from 0.5.4 an update you choose to install, are the only things that contact Subcloak. |
| On this Mac | What stays local (captured traffic, workspaces, the root certificate and its key) and what sends data only when you ask: exports, bug reports, Gists, live sharing, webhooks, your requests and the AI features. |
On Linux the last section is called On this computer.
AI Assistants
Section titled “AI Assistants”The assistant scope (apps, hosts, query, highlighted requests, what assistants get in and outside it), commands to connect an assistant with the scope pinned, and Redact sensitive data before sending to AI.
The AI Assistants page with the scope limited to ShopApp's API hosts.
Advanced
Section titled “Advanced”The Advanced page: TLS key logging, cloakctl and MCP setup.
- Write TLS session keys for Wireshark
- Copies the command that puts cloakctl on your PATH
- Copies the Claude Code setup command
- Copies JSON for Cursor and other MCP clients
- Redact credentials in MCP tool results (on by default)
- Install or update the agent skills
| Section | Option | Default | What it does |
|---|---|---|---|
| TLS key logging | Write TLS keys for Wireshark | Off | Writes TLS session keys in SSLKEYLOGFILE format, for both sides of each decrypted connection. Turning it on sets the file to ~/Desktop/cloak-proxy-sslkeys.log. |
| TLS key logging | Key log file | ~/Desktop/cloak-proxy-sslkeys.log |
Where the keys go. Shown while the option is on. In Wireshark, set it under Settings › Protocols › TLS › (Pre)-Master-Secret log filename. |
| Command line | cloakctl | The path of the command-line tool inside the app. | |
| Command line | Link to /usr/local/bin | Copy copies a sudo ln -sf … command that puts cloakctl on your PATH. See cloakctl. |
|
| AI assistants (MCP) | Claude Code | Copy copies the claude mcp add cloak-proxy … command. |
|
| AI assistants (MCP) | Cursor / other (JSON) | Copy copies the mcpServers JSON for Cursor and other MCP clients. See MCP server. |
|
| AI assistants (MCP) | Redact sensitive data before sending to AI Since 0.4.0 | On | Replaces credentials in every MCP tool result with REDACTED. See Agent skills and setup tools. |
| AI assistants (MCP) | Agent skills Since 0.4.0 | How many skills are installed for Claude Code; Manage… opens the Agent skills card on the MCP page. |
Settings outside the Settings window
Section titled “Settings outside the Settings window”| Setting | Where to change it |
|---|---|
| Muted apps | The sidebar or the traffic list’s right-click menu, and Settings › General, or the MCP tool mute_app. See Mute an app. |
| Apps whose HTTPS is always decrypted | The sidebar, or the bar above the traffic list when an app is selected. See SSL proxying. |
| Captured domains for apps that ignore the proxy | The capture sheet from the Not using the proxy list. See Apps that ignore the proxy. |
| Apps for App Capture Since 0.5.0 | Proxy › Device & Runtime Setup… › App Capture, or the MCP tool set_app_capture. See Capture apps that ignore the proxy. |
| Debugging tool rules | The Tools window (⌥ ⌘ 0). See Tools overview. |
Distributed tracing links and traceparent injection Since 0.4.0 |
Tools › Distributed Tracing…, or the MCP tool configure_tracing. Saved with the proxy settings as tracing. See Distributed tracing. |
| API client preferences | The API client window. |
| Inspector below or to the right of the list Since 0.2.2 | Layout in the toolbar. See Inspector. |
| Columns, including header columns Since 0.2.2 | Right-click a column header in the traffic list. See Traffic list. |
| Traffic tabs Since 0.2.2 | ⌘ T and the tab bar. Saved across launches. See Traffic tabs. |
| Filter bar shown, and Auto Select Since 0.2.2 | Filter and Auto Select in the bottom bar. See Interface tour. |
Every proxy setting above (except the certificate files) can also be read with get_settings and changed with update_settings through the control API or MCP server.
Where settings are stored
Section titled “Where settings are stored”Settings are saved in Cloak Proxy’s macOS preferences (domain com.subcloak.cloakproxy), on this Mac only. The certificate, its key and the API token are in ~/Library/Application Support/CloakProxy/, and the saved traffic and bodies kept on disk are in its Session folder. From 0.4.2, AI providers you allowed are in ai-consent.json in the same folder. See Security and privacy.