How to connect Gemini CLI to Anchor
Step-by-step setup for every MCP-compatible agent. One URL, OAuth sign-in, and you're done.
Gemini CLI
- Open
~/.gemini/settings.jsonin a text editor and add the Anchor server:Paste this at the end of the file: - Launch Gemini CLI with
gemini. - Enable the server:
- Authenticate: A sign-in window opens — use your Anchor account to connect.
- Ask Gemini CLI "What is Anchor, and what can I use it for?"