Support custom headers for SSE and streamable-http MCP servers #9475
Closed
gderemetz
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
When configuring MCP servers with
type: sseortype: streamable-http, there is currently no way to pass custom HTTP headers (such asAuthorization) to authenticate with the remote server.This is a blocker for connecting to MCP servers that require authentication (e.g., Jenkins MCP plugin, private MCP servers behind authentication).
Use Case
I'm trying to connect to a Jenkins instance with the Jenkins MCP Server plugin. The server requires Basic Authentication via the
Authorizationheader.Current Configuration (not working)
The
headersproperty seems to be ignored, and the MCP server receives the request without authentication headers, resulting in anonymous access.But via Continue MCP,
whoAmIreturnsanonymous.Expected Behavior
Support a
headersproperty forsseandstreamable-httpMCP server types:Environment
Beta Was this translation helpful? Give feedback.
All reactions