Skip to content

Headers not passed to MCP ? #3148

@aheritier

Description

@aheritier

Description

Following https://grafana.com/docs/grafana-cloud/machine-learning/assistant/configure/cloud-mcp/#client-configuration I tried to configure the MCP like this

grafana:
    remote:
      url: https://mcp.grafana.com/mcp
      transport_type: streamable
      headers:
        X-Grafana-URL: https://XXXXX.grafana.net/

It still ask for the grafana URL

Expected Behavior

Based on the documentation it shouldn't

Actual Behavior

The authentication screen ask for the instance URL

Steps to Reproduce

Detailed steps to reproduce the bug:

  1. Reference the MCP server as described above
  2. Authenticate
  3. The screen asks you the instance to use

Environment

  • Docker Agent Version: main
  • OS & Terminal: macOS
  • Model Used: sonnet

Metadata

Metadata

Assignees

Labels

area/configFor configuration parsing, YAML, environment variablesarea/mcpMCP protocol, MCP tool servers, integration

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions