Skip to content

[FEATURE] Support configurable header passthrough for MCP server requestsΒ #3316

@Derek2Tu

Description

@Derek2Tu

Description:

Currently, ToolHive passes through certain headers to MCP servers as a side effect of not stripping them, rather than through intentional configuration. We should implement explicit support for specifying additional headers to forward to MCP servers.

Requirements:

  • Add configuration option to define a list of headers that should be passed through to MCP servers
  • Support this functionality in both local and Kubernetes deployment modes
  • Make header passthrough behavior intentional and documented rather than incidental

Metadata

Metadata

Labels

enhancementNew feature or requestgoPull requests that update go code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions