Mercury for Gemini CLI
Gemini CLI can use Mercury as a standard MCP server. We have not run this setup ourselves yet, so the steps follow the Gemini CLI commands. The Gemini app on the web is not supported.
Standard MCP setup, not yet tested by us
- MacApple Silicon (M1 or later)
- SystemmacOS 13 or later
- MercuryVersion 1.1.0
- AssistantGemini CLI
- 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 Gemini CLI
Run this once in Terminal.
gemini mcp add --scope user mercury "/Applications/Mercury Device Commander.app/Contents/MacOS/Mercury Device Commander" mcpCheck it with gemini mcp list. The gemini mcp add command writes this entry to ~/.gemini/settings.json, so you can also add it by hand:
{ "mcpServers": { "mercury": { "command": "/Applications/Mercury Device Commander.app/Contents/MacOS/Mercury Device Commander", "args": [ "mcp" ] } } } -
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 Gemini CLI 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. The action log records the assistant, the tool, the result, and the time, not the contents of requests.
- 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