• Create an MCP controller with type assertion.

    Create an IAgenticaController.IMcp instance which represents an MCP (Model Context Protocol) controller with LLM function calling schemas and client connection.

    Type Parameters

    • Model extends Model

    Parameters

    • props: {
          client: Client;
          model: Model;
          name: string;
          options?: Partial<IOptions<Model>>;
      }

      Properties to create the MCP controller

      • client: Client

        Client connection to the MCP implementation.

      • model: Model

        Model schema of the LLM function calling.

      • name: string

        Name of the MCP implementation.

      • Optionaloptions?: Partial<IOptions<Model>>

        Options to create the MCP controller.

    Returns Promise<IMcp<Model>>

    MCP LLM application instance

    Samchon