MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / get_mcp_oauth_manager

Function get_mcp_oauth_manager

crates/opencode-server/src/routes.rs:2509–2511  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2507static MCP_OAUTH_MANAGER: std::sync::OnceLock<McpOAuthManager> = std::sync::OnceLock::new();
2508
2509fn get_mcp_oauth_manager() -> &'static McpOAuthManager {
2510 MCP_OAUTH_MANAGER.get_or_init(McpOAuthManager::new)
2511}
2512
2513impl From<McpServerInfoStruct> for McpStatusInfo {
2514 fn from(info: McpServerInfoStruct) -> Self {

Callers 10

get_mcp_statusFunction · 0.85
add_mcp_serverFunction · 0.85
start_mcp_authFunction · 0.85
mcp_auth_callbackFunction · 0.85
mcp_authenticateFunction · 0.85
remove_mcp_authFunction · 0.85
connect_mcpFunction · 0.85
disconnect_mcpFunction · 0.85
get_mcp_logsFunction · 0.85
restart_mcpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected