pub struct ClaudeCodeMcpHandler;Expand description
MCP handler for Claude Code.
Claude Code configures MCP servers directly in .mcp.json at project root
by reading from source locations (no intermediate file copying).
Trait Implementations§
Source§impl McpHandler for ClaudeCodeMcpHandler
impl McpHandler for ClaudeCodeMcpHandler
Source§fn configure_mcp_servers(
&self,
project_root: &Path,
_artifact_base: &Path,
lockfile_entries: &[LockedResource],
cache: &Cache,
manifest: &Manifest,
) -> Pin<Box<dyn Future<Output = Result<(Vec<(String, AppliedPatches)>, usize)>> + Send + '_>>
fn configure_mcp_servers( &self, project_root: &Path, _artifact_base: &Path, lockfile_entries: &[LockedResource], cache: &Cache, manifest: &Manifest, ) -> Pin<Box<dyn Future<Output = Result<(Vec<(String, AppliedPatches)>, usize)>> + Send + '_>>
Configure MCP servers by reading directly from source and merging into config file. Read more
Auto Trait Implementations§
impl Freeze for ClaudeCodeMcpHandler
impl RefUnwindSafe for ClaudeCodeMcpHandler
impl Send for ClaudeCodeMcpHandler
impl Sync for ClaudeCodeMcpHandler
impl Unpin for ClaudeCodeMcpHandler
impl UnwindSafe for ClaudeCodeMcpHandler
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more