MCPcopy Create free account
hub / github.com/GCWing/BitFun / get_mcp_service

Function get_mcp_service

src/apps/cli/src/main.rs:56–58  ·  view source on GitHub ↗

Get the global MCP service instance (if initialized)

()

Source from the content-addressed store, hash-verified

54
55/// Get the global MCP service instance (if initialized)
56pub fn get_mcp_service() -> Option<&'static std::sync::Arc<bitfun_core::service::mcp::MCPService>> {
57 MCP_SERVICE.get()
58}
59
60#[derive(Parser)]
61#[command(name = "bitfun")]

Callers 5

shutdown_mcp_serversFunction · 0.85
get_mcp_itemsMethod · 0.85
execute_mcp_toggleMethod · 0.85
execute_mcp_addMethod · 0.85
execute_mcp_deleteMethod · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected