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.

14 lines 644 B
import type { StructuredToolInterface } from "@langchain/core/tools"; import type { LangChainAdapter } from "../adapters/langchain_adapter.js"; import type { MCPClient } from "../client.js"; export interface IServerManager { readonly initializedServers: Record<string, boolean>; readonly serverTools: Record<string, StructuredToolInterface[]>; readonly client: MCPClient; readonly adapter: LangChainAdapter; activeServer: string | null; setManagementTools(tools: StructuredToolInterface[]): void; prefetchServerTools(): Promise<void>; get tools(): StructuredToolInterface[]; } //# sourceMappingURL=types.d.ts.map