mcp-use TypeScript API
    Preparing search index...

    Function shouldAutoProvisionOAuth

    • Tests whether the client should create an OAuth provider for an HTTP server.

      Parameters

      • serverConfig: ServerConfig

        Server configuration to inspect.

      Returns serverConfig is HttpServerConfig

      true for an HTTP configuration without explicit authorization.