Skip to content

Feature request: Support configuration of Authentication Header in CLI Mode #420

@topjgc

Description

@topjgc

Is your feature request related to a problem? Please describe.
For inspector UI Mode, configuration of Authorization Header for Remote SSE URL has been already supported currently. However mcp config file do not support defining Authorization Header in CLI Mode.

Describe the solution you'd like
Example mcp config support defining http headers:

{
  "mcpServers": {
    "xxxx_mcp_server": {
      "url": "https://mcp.example.com/sse",
      "headers": [
        "Authentication": <my-token-here>
      ]
    }
  }
}

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliIssues and PRs specific to cli modeenhancementNew feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions