
Control a local mitmproxy intercept from Raycast: turn the system proxy on and off, inspect the captured HTTP/HTTPS flows, and install the mitmproxy root certificate.
This is a developer tool for inspecting your own traffic on your own Mac. It runs
mitmweb locally and points the macOS system proxy at it; it does not send
anything anywhere else.
mitmproxy and jq.Run Set up MITM Proxy from Raycast and press Install Dependencies: it runs
brew install --cask mitmproxy and brew install jq and shows which piece is
missing. The extension bundles the small mitm control script it uses, so
mitmproxy and jq are the only things to install.
| Command | What it does |
|---|---|
| Set up MITM Proxy | Install mitmproxy and jq with Homebrew, and show which dependency is missing |
| Toggle Proxy | Start or stop mitmproxy, the system proxy and the background network follower |
| Proxy Status | Process, network service, proxy/HTTPS state, root CA, UI URL and password |
| Recent Flows | Browse the requests mitmproxy captured, newest first |
Starting the proxy:
mitmweb detached on port 8080, with its web UI on port 8081.~/.mitmproxy the first time; install that CA once so
HTTPS can be decrypted (see below).127.0.0.1:8080.The proxy stays on until you toggle it off, even after Raycast or the terminal is closed.
mitmweb refuses every request without a credential, so the first start generates
a UI password and reuses it on every start after that. It is kept readable only
by you and handed to mitmweb through its own config.yaml, so it never shows up
in the process list. Use Proxy Status → Copy UI Password to read it.
mitmproxy decrypts HTTPS with its own certificate authority, generated in
~/.mitmproxy on the first start. macOS only accepts that CA once it is trusted in
the login keychain, and a Raycast extension is not allowed to touch the keychain,
so trusting it is the one step you do yourself:
mitmproxy-ca-cert.p12 in Keychain
Access.HTTPS interception works from then on. To remove it again, search for mitmproxy
in Keychain Access and delete the certificate.
Settings are read from ~/.config/mitm/config when it exists:
MITM_PORT=8080 # proxy port
MITM_WEB_PORT=8081 # mitmweb UI port
MITM_SERVICE="Wi-Fi" # pin a network service instead of auto-detecting
MITM_BYPASS="127.0.0.1 localhost *.local" # replace the bypass list
MITM_INSECURE=1 # skip upstream certificate verification
mitmweb not found — run Set up MITM Proxy → Install Dependencies.8080. Proxy Status shows the listener, or change MITM_PORT.127.0.0.1:8080.Install mitmproxy and jq with Homebrew
Start or stop mitmproxy and the system proxy
Process, service, proxy and CA state
Browse the requests mitmproxy captured
jq with Homebrew and reports which dependency is missing