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.
15 lines • 577 B
TypeScript
import type { IServerManager } from "../types.js";
import { StructuredTool } from "@langchain/core/tools";
import { z } from "zod";
export declare class AddMCPServerFromConfigTool extends StructuredTool {
name: string;
description: string;
schema: z.ZodObject<{
serverName: z.ZodString;
serverConfig: z.ZodAny;
}, z.core.$strip>;
private manager;
constructor(manager: IServerManager);
protected _call({ serverName, serverConfig, }: z.infer<typeof this.schema>): Promise<string>;
}
//# sourceMappingURL=add_server_from_config.d.ts.map