R/mcptools-package.R

Defines functions .onLoad

# nocov start
#' @keywords internal
"_PACKAGE"

## usethis namespace: start
#' @import rlang
## usethis namespace: end
NULL

utils::globalVariables(c("packageVersion", "setNames"))

.onLoad <- function(libname, pkgname) {
  the$socket_url <- switch(
    Sys.info()[["sysname"]],
    Linux = "abstract://mcptools-socket",
    Windows = "ipc://mcptools-socket",
    "ipc:///tmp/mcptools-socket"
  )
}
# nocov end

Try the mcptools package in your browser

Any scripts or data that you put into this service are public.

mcptools documentation built on Sept. 9, 2025, 5:45 p.m.