Skip to content

Command reference

claude mcp login<name>

Runs a configured MCP server's OAuth flow without opening the interactive /mcp panel.

Terminal commandsIntegrations and environmentcurrent

What the documentation does not say

--no-browser prints the authorization URL instead of opening a browser and takes the redirect URL back at the prompt. On a remote machine over SSH that is the only form that completes.

Arguments
<name>
Since
2.1.186