Mercury for ChatGPT
ChatGPT reaches your Mac through a secure tunnel from OpenAI. The tunnel connects outward from your Mac, so nothing is opened on your router. This setup suits people who are comfortable with a terminal. An app in the ChatGPT catalog is in preparation, with no date.
Used on our work Mac, advanced setup
- MacApple Silicon (M1 or later)
- SystemmacOS 13 or later
- MercuryVersion 1.1.0
- AssistantChatGPT with access to OpenAI tunnels, and the tunnel-client program (installed with Homebrew)
- PlanFree: 100 actions a day on one Mac
- Take a screenshot of my Mac and tell me which apps are open.
- List the files in my Downloads folder and group them by type.
- Read ~/Documents/notes.txt and give me a three-line summary.
Four steps
-
1. Install Mercury
Download the installer, drag Mercury to Applications, and open it. Version 1.1.0 is not signed with an Apple Developer ID certificate, so macOS asks you to confirm once: follow the three steps on the download page.
-
2. Connect ChatGPT
Install the tunnel-client program with Homebrew (if you do not have Homebrew yet, install it first from brew.sh):
brew install openai/tools/tunnel-clientCreate a tunnel in the OpenAI platform and keep its tunnel ID and Runtime API key to yourself: do not paste them into files or chats. Then create the tunnel profile in Terminal.
tunnel-client init --sample sample_mcp_stdio_local --profile mercury --tunnel-id <tunnel-id> --mcp-command "'/Applications/Mercury Device Commander.app/Contents/MacOS/Mercury Device Commander' mcp"In the same Terminal window, give tunnel-client the Runtime API key through a variable (CONTROL_PLANE_API_KEY is that same Runtime API key). Type or paste the key (nothing is shown on screen) and press Return. The key stays out of files, chats, and the command history.
read -s CONTROL_PLANE_API_KEY && export CONTROL_PLANE_API_KEYThen check the setup and start the tunnel:
tunnel-client doctor --profile mercury --explain tunnel-client run --profile mercuryIn ChatGPT, choose your tunnel. Keep the last command running while you use Mercury. The variable lives only in this window: in every new Terminal window, set the key again (the read line above) before tunnel-client run.
-
3. Allow what you need
The first time a feature needs it, macOS asks for permission: Accessibility (click and type), Screen Recording (see the screen), Automation (control other apps). Grant only what your tasks need. You can revoke any permission later in System Settings.
-
4. Try it
Ask your assistant for something small first.
What ChatGPT can do on your Mac
Good to know
- v1 does not ask you before each action. Actions run according to the permission profile you give the assistant: full access, a list of named tools, or read-only.
- Mercury is not a sandbox. It is a privileged tool for the Mac owner.
- Mercury works on your Mac and listens on 127.0.0.1 only. Through the OpenAI tunnel, ChatGPT receives only the responses to its own tool calls. The action log records the assistant, the tool, the result, and the time, not the contents of requests.
- Mercury marks each tool as read-only or destructive, so ChatGPT can ask you before it runs one that changes something.
- Sign-in with Google or email is planned. It will tie your plan to your account. No date is announced.
- The Free plan is 100 actions a day on one Mac. See Pricing.
All guides · Download Mercury · Pricing · Security · Privacy Policy · Terms of Service