Skip to content

Authentication with key in header doesn't work #120

Description

@hiteshssathawane

MCP server URL

https://stitch.googleapis.com/mcp

Where does the issue occur?

Other

Transport used

streamable-http

Client registration type

Static

SSE only: Does your server return the expected status code for POST requests?

Not applicable (my server does not use SSE)

When did you last reproduce this?

27 March 26 9:56 Am IST

Browser and OS

Mac OS

Describe the issue

{
"mcpServers": {
"stitch": {
"serverUrl": "https://stitch.googleapis.com/mcp",
"headers": {
"X-Goog-Api-Key": "****"
}
}
}
}

there is map for claude code below but the above one does not work in claude desktop, no facility to add headers

claude mcp add stitch
--transport http
--url "https://stitch.googleapis.com/mcp"
--header "X-Goog-Api-Key: ****"

Issue details

there is map for claude code below but the above one does not work in claude desktop, no facility to add headers

Expected behavior

Image

Logs from your server

Some MCP servers could not be loaded
The following entries in claude_desktop_config.json are not valid MCP server configurations and were skipped: stitch

when clicked on connect
Couldn't reach the MCP server. You can check the server URL and verify the server is running. If this persists, share this reference with support: "ofid_fb463e2741519938"

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions