pub struct McpLoginCommand { /* private fields */ }Expand description
Authenticate with an MCP server (HTTP, SSE, or claude.ai connector).
Drives an interactive OAuth flow. By default the CLI opens a browser;
use Self::no_browser for SSH/headless sessions, where the CLI
prints the authorization URL and waits for the redirect URL to be
pasted back.
Implementations§
Trait Implementations§
Source§impl ClaudeCommand for McpLoginCommand
impl ClaudeCommand for McpLoginCommand
Source§impl Clone for McpLoginCommand
impl Clone for McpLoginCommand
Source§fn clone(&self) -> McpLoginCommand
fn clone(&self) -> McpLoginCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for McpLoginCommand
impl RefUnwindSafe for McpLoginCommand
impl Send for McpLoginCommand
impl Sync for McpLoginCommand
impl Unpin for McpLoginCommand
impl UnsafeUnpin for McpLoginCommand
impl UnwindSafe for McpLoginCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClaudeCommandSyncExt for Twhere
T: ClaudeCommand<Output = CommandOutput>,
impl<T> ClaudeCommandSyncExt for Twhere
T: ClaudeCommand<Output = CommandOutput>,
Source§fn execute_sync(&self, claude: &Claude) -> Result<CommandOutput, Error>
fn execute_sync(&self, claude: &Claude) -> Result<CommandOutput, Error>
Blocking analog of
ClaudeCommand::execute for commands
producing CommandOutput.