UNPKG

mcp-use

Version:

Opinionated MCP Framework for TypeScript (@modelcontextprotocol/sdk compatible) - Build MCP Agents, Clients and Servers with support for ChatGPT Apps, Code Mode, OAuth, Notifications, Sampling, Observability and more.

19 lines 939 B
import type { StructuredToolInterface } from "@langchain/core/tools"; import type { LangChainAdapter } from "../adapters/langchain_adapter.js"; import type { MCPClient } from "../client.js"; import type { IServerManager } from "./types.js"; export declare class ServerManager implements IServerManager { readonly initializedServers: Record<string, boolean>; readonly serverTools: Record<string, StructuredToolInterface[]>; readonly client: MCPClient; readonly adapter: LangChainAdapter; activeServer: string | null; private overrideManagementTools?; constructor(client: MCPClient, adapter: LangChainAdapter, managementTools?: StructuredToolInterface[]); setManagementTools(tools: StructuredToolInterface[]): void; logState(context: string): void; initialize(): void; prefetchServerTools(): Promise<void>; get tools(): StructuredToolInterface[]; } //# sourceMappingURL=server_manager.d.ts.map