⌨️claude mcp login Command
Also known as claude mcp login, claude mcp logout, MCP sign-in from the shell
It signs you in to one MCP server from the shell.
Think of it like
It is like you show your card at the door, and then they let you in.
Example
Jack works on a remote machine over SSH. He runs claude mcp login with --no-browser, opens the link on his laptop, and pastes the result back.
Why it matters
A server that needs you to sign in can be set up by a script or over SSH too.
Definition
Example code
bash
claude mcp login sentry --no-browserCommon mistake
Key takeaways
- 1One server. By name.
- 2--no-browser. For SSH.
- 3logout. Clears it.