Skip to content

Feature: Client option to add http headers #104

@wagnerjt

Description

@wagnerjt

Is your feature request related to a problem? Please describe.

I do not believe we can hook into the underlying JSONRPCRequest and in the http.Client to add additional http headers being sent to the MCP server without relying on the Transport and implementing a RoundTripper.

Additional context

I am looking how we can send auth and other headers with this client. From the design doc, I see there are middleware options, but I believe the params are for the body of the request.

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