Beta

Gemini CLI

Last updated Nov 19, 2026View as MarkdownAgent setup / MCP

Connect SMB

gemini mcp add --transport http --scope user smb https://api.smb.co/mcp

Start Gemini CLI, then type /mcp auth smb and sign in to SMB in your browser.

Try it

Try it in Gemini CLI

Not working?

What you seeWhat to do
SMB shows DISCONNECTEDRun gemini mcp list to see the error, then /mcp auth smb to sign in again.
No browser opens to sign inSign-in needs a browser on the same computer. Run Gemini CLI locally, not over SSH.

Read the Gemini CLI MCP guide

On this page