{"name":"--no-browser","slug":"no-browser","family":"cli","title":"CLI flags","noun":"CLI flag","description":"Option of `claude mcp login <name>`, which authenticates with an MCP server (HTTP, SSE or claude.ai connector). With it no browser is opened, so you use the printed authorization URL yourself. For HTTP and SSE servers you then paste the redirect URL back at the prompt (stdin must be a terminal); for a claude.ai connector you authorize on claude.ai and it appears in the next session. Meant for SSH or headless use.","description_source":"code","described_by":{"bundle":"2.1.285","author":"claude-opus-5-5"},"presence":{"first_seen":"2.1.186","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":107,"mined_builds":149,"first_cited":{"version":"2.1.195","released_at":"2026-06-26 18:16:23","spans":1}},"aliases":[],"entries":[{"version":"2.1.195","anchor":"mcp-login-from-cli-with-no-browser","heading":"MCP Login from CLI with --no-browser","line":null,"released_at":"2026-06-26 18:16:23","reason":"found in this entry's text"},{"version":"2.1.186","anchor":"mcp-oauth-login-and-logout-commands","heading":"MCP OAuth Login and Logout Commands","line":null,"released_at":"2026-06-22 18:03:48","reason":"found in this entry's text"}],"entries_total":2,"docs":[{"source":"api","path":"cli-sdks-libraries\/cli\/authentication","title":"On a remote host without a browser:","documented":false},{"source":"api","path":"cli-sdks-libraries\/cli\/sessions-connect","title":"sessions-connect","documented":false},{"source":"api","path":"get-started","title":"get-started","documented":false},{"source":"claude-code","path":"cli-reference","title":"CLI reference","documented":false},{"source":"claude-code","path":"mcp","title":"Connect Claude Code to tools via MCP","documented":false},{"source":"claude-code","path":"remote-control","title":"Continue local sessions from any device with Remote Control","documented":false},{"source":"claude-docs","path":"claude-science\/command-line-settings","title":"Command line settings","documented":false},{"source":"claude-docs","path":"claude-science\/get-started","title":"Get started","documented":false},{"source":"claude-docs","path":"claude-science\/run-on-remote-linux-server","title":"Run on a remote Linux server","documented":false}],"docs_total":9,"gates":[],"related":[{"name":"--no-check-expiry","slug":"no-check-expiry","description":"decode-token prints a session token's claims, verifying signature and expiry by default."},{"name":"--no-chrome","slug":"no-chrome","description":"Disable [Chrome browser integration](\/docs\/en\/chrome) for this session"},{"name":"--no-ext-diff","slug":"no-ext-diff","description":"Many more git commands now run with a scrubbed environment so stray variables can't redirect them."},{"name":"--no-home-settings","slug":"no-home-settings","description":"You now decide separately whether cloud sessions may use your plugins and your local settings."},{"name":"--no-post","slug":"no-post","description":"Ultra review adds --post and --no-post, so findings go to the PR as a comment from you."},{"name":"--no-publish","slug":"no-publish","description":"Plugin eval now writes report.html and publishes it to claude.ai unless you pass --no-publish."},{"name":"--no-scaffold","slug":"no-scaffold","description":"Option of `claude plugin eval`. Skips each case's `scaffold_script`, which is also the default when neither `--scaffold` nor `--no-scaffold` is passed; `--scaffold` turns it on and prints a note that the script runs as you."},{"name":"--no-session-persistence","slug":"no-session-persistence","description":"Disable session persistence so sessions are not saved to disk and cannot be resumed. Print mode only. The [`CLAUDE_CODE_SKIP_PROMPT_HISTORY`](\/docs\/en\/env-vars) environment variable does the same in any mode"},{"name":"--no-textconv","slug":"no-textconv","description":"Many more git commands now run with a scrubbed environment so stray variables can't redirect them."},{"name":"--no-verify","slug":"no-verify","description":"decode-token prints a session token's claims, verifying signature and expiry by default."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/cli\/no-browser","family_url":"https:\/\/changelogs.core-directive.com\/reference\/cli.json"}