MCP client that owns the managed servers.
Adapter used to convert MCP capabilities.
OptionalmanagementTools: StructuredToolInterface<ToolInputSchemaBase, any, any>[]
Optional replacement for the built-in server management tools.
Server whose cached tools are currently exposed.
ReadonlyadapterAdapter used to create LangChain tools.
ReadonlyclientMCP client that owns server configurations and sessions.
ReadonlyinitializedWhether capabilities have been loaded for each configured server.
ReadonlyserverCached LangChain tools, resources, and prompts by server name.
Management tools plus cached tools from the active server, if any.
Validates that the client contains at least one server configuration.
Writes current connection and tool-cache state at debug level.
Label describing why the state was logged.
Connects configured servers as needed and caches all tools, resources, and prompts.
Replaces the management tools returned by ServerManager.tools.
Complete replacement tool list.
Selects an active MCP server and exposes its LangChain tools.