Skip to content

[Feature]: Support dynamic auth propagation for stdio MCP servers #14382

@berri-teddy

Description

@berri-teddy

The Feature

Description:
Currently, LiteLLM MCP supports server-specific auth headers for HTTP/SSE servers, which allows passing tokens dynamically on each request. However, for stdio MCP servers, the auth_value is only set at process start (via config.yaml), and there’s no mechanism to dynamically pass authentication per request.

User request:
• Ability to run an HTTP → stdio bridge where the client can send a token per request.
• That token should be passed through to the stdio MCP server, rather than being hardcoded in the config.
• Today, auth headers work fine for HTTP MCP servers, but for stdio there’s no equivalent.

Motivation, pitch

Need for the auth to be dynamically passed rather than hardcoded in the config.yaml

LiteLLM is hiring a founding backend engineer, are you interested in joining us and shipping to all our users?

No

Twitter / LinkedIn details

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