CLI commands and flags

claude mcp logout <name>

Removes saved OAuth authentication credentials for a specified MCP server.

Syntax

claude mcp logout <name>

Example

Terminal
claude mcp logout sentry

Type to search the reference, templates and lessons.