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.

18 lines 682 B
import type { IServerManager } from "../types.js"; import type { SchemaOutputT } from "./base.js"; import { z } from "zod"; import { MCPServerTool } from "./base.js"; declare const ConnectMCPServerSchema: z.ZodObject<{ serverName: z.ZodString; }, z.core.$strip>; export declare class ConnectMCPServerTool extends MCPServerTool<typeof ConnectMCPServerSchema> { name: string; description: string; schema: z.ZodObject<{ serverName: z.ZodString; }, z.core.$strip>; constructor(manager: IServerManager); _call({ serverName }: SchemaOutputT<typeof ConnectMCPServerSchema>): Promise<string>; } export {}; //# sourceMappingURL=connect_mcp_server.d.ts.map