MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / with_mcp_clients

Method with_mcp_clients

crates/opencode-session/src/prompt.rs:154–157  ·  view source on GitHub ↗
(mut self, clients: Arc<opencode_mcp::McpClientRegistry>)

Source from the content-addressed store, hash-verified

152 }
153
154 pub fn with_mcp_clients(mut self, clients: Arc<opencode_mcp::McpClientRegistry>) -> Self {
155 self.mcp_clients = Some(clients);
156 self
157 }
158
159 pub fn with_lsp_registry(mut self, registry: Arc<opencode_lsp::LspClientRegistry>) -> Self {
160 self.lsp_registry = Some(registry);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected