pub struct McpListCommand;Expand description
List configured MCP servers.
§Example
use claude_wrapper::{Claude, ClaudeCommand, McpListCommand};
let claude = Claude::builder().build()?;
let output = McpListCommand::new().execute(&claude).await?;
println!("{}", output.stdout);Implementations§
Trait Implementations§
Source§impl ClaudeCommand for McpListCommand
impl ClaudeCommand for McpListCommand
Source§impl Clone for McpListCommand
impl Clone for McpListCommand
Source§impl Debug for McpListCommand
impl Debug for McpListCommand
Auto Trait Implementations§
impl Freeze for McpListCommand
impl RefUnwindSafe for McpListCommand
impl Send for McpListCommand
impl Sync for McpListCommand
impl Unpin for McpListCommand
impl UnsafeUnpin for McpListCommand
impl UnwindSafe for McpListCommand
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.