Skip to content

setLibraryConfig

function setLibraryConfig(config): void;

Defined in: packages/core/src/config.ts:21

@cl-mcp/core

Transport-agnostic core of cl-mcp: metadata loading (multi-library registry), the search/resolution domain, and the tool handlers. Both frontends are thin adapters over this package:

  • @cl-mcp/mcp-server — MCP protocol (stdio) adapter
  • @cl-mcp/cli — shell adapter

Importing this package has no side effects; call loadPreloadedMetadata() before using any accessor or handler.

Parameter Type
config LibraryConfig

void