dive mcp
dive mcp login
Sign in to a server that uses OAuth, in your browser
Opens the server's sign-in page in your browser and waits up to 5 minutes for you to approve. The page's address is printed too, for when no browser opens. Only servers with a url sign in.
A server defined in this project's .dive/config.toml signs in for this project; one defined in the global config signs in for every project. --project or --global picks the other. A project's own sign-in is used instead of the global one, and no project sees another's. Sign-ins are kept in the OS credential store, shared with Loon Dive, and refresh on their own.
Arguments
The server name, as configured under [mcp.<name>]
Options
Sign in for this project only
Sign in for every project
Print a JSON envelope instead of text
Global options
Increase log verbosity (-v info, -vv debug, -vvv trace)
Act as this [identities] entry: runs get a run token minted for its tenant and user, which http tools send to the app
Format: IDENTITY.
dive mcp login [OPTIONS] <SERVER>