mcp-use TypeScript API
    Preparing search index...

    Class AddMCPServerFromConfigTool

    Adds, connects, and activates an MCP server from model-supplied config.

    Hierarchy

    • StructuredTool
      • AddMCPServerFromConfigTool
    Index
    description: string = "Adds a new MCP server to the client from a configuration object and connects to it, making its tools available."

    Tool description exposed to the model.

    name: string = "add_mcp_server_from_config"

    Tool name exposed to the model.

    schema: ZodObject<{ serverConfig: ZodAny; serverName: ZodString }, $strip> = ...

    Input schema for the server name and transport configuration.