@adcp/client API Reference - v3.11.2
    Preparing search index...

    Function createMCPAuthHeaders

    • Create MCP authentication headers

      Sends both:

      • Authorization: Bearer (standard OAuth, required by OAuth-protected MCP servers)
      • x-adcp-auth (AdCP-specific header for backwards compatibility)

      Parameters

      • OptionalauthToken: string

      Returns Record<string, string>