pub struct McpServeCommand { /* private fields */ }Expand description
Start the Claude Code MCP server.
§Example
use claude_wrapper::{Claude, ClaudeCommand, McpServeCommand};
let claude = Claude::builder().build()?;
McpServeCommand::new()
.verbose()
.execute(&claude)
.await?;Implementations§
Trait Implementations§
Source§impl ClaudeCommand for McpServeCommand
impl ClaudeCommand for McpServeCommand
Source§impl Clone for McpServeCommand
impl Clone for McpServeCommand
Source§fn clone(&self) -> McpServeCommand
fn clone(&self) -> McpServeCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for McpServeCommand
impl Debug for McpServeCommand
Source§impl Default for McpServeCommand
impl Default for McpServeCommand
Source§fn default() -> McpServeCommand
fn default() -> McpServeCommand
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for McpServeCommand
impl RefUnwindSafe for McpServeCommand
impl Send for McpServeCommand
impl Sync for McpServeCommand
impl Unpin for McpServeCommand
impl UnsafeUnpin for McpServeCommand
impl UnwindSafe for McpServeCommand
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