Skip to content

No Way to Pass Custom Headers (e.g., Authorization) When Using go-sdk to Connect to MCP Server #616

@NiharDoshi99

Description

@NiharDoshi99

When using the go-sdk to communicate with an MCP server that requires authentication, there is currently no documented or supported way to pass custom HTTP headers (e.g., Authorization, x-api-key, etc.) during the connection or request initialization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions