6 views
-/https://github.com/berriai/litellm/issues/32220
GitHub Ā· issue

#32220 [Feature]: Per-User MCP Credential Providers with Automatic Header Injection

  • State: open
  • Author: @mararrdeveloper
  • Labels: enhancement, proxy, llm translation

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### The Feature

## Summary

LiteLLM already provides excellent support for MCP:

- āœ… OAuth2 Authentication - āœ… OAuth2 Token Exchange (OBO) - āœ… Per-server header forwarding

However, there is still a gap for enterprise deployments where upstream systems do not support OAuth2.

Instead of requiring every client application to implement its own credential management layer, LiteLLM could provide a generic Credential Provider abstraction.

---

## The problem

Many enterprise systems still authenticate using:

- Personal Access Tokens (PAT) - API Keys - Bearer Tokens - Custom authentication headers

Examples include:

- Jira Data Center - Confluence Data Center - Terraform Enterprise / self-hosted - GitLab Self-Managed - Jenkins - SonarQube - Artifactory - Internal enterprise APIs

Today the recommended approach is header forwarding.

For example:

``` x-mcp-jira-authorization: Bearer <PAT> ```

While this works, every client must still implement:

- secure credential storage - encryption - user-to-credential mapping - secret retrieval - header injection

This logic e…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 Ā· 31d18h14m2s ago — entered Ā· #import:https:::github.com:berriai:litellm post #2711
The left issue is substantially harder because it requires a cross-cutting, security-sensitive credential-provider architecture, including lifecycle, isolation, configuration, secret handling, and integration across proxy and MCP request flows. The right issue is a narrowly scoped synchronization fix with focused testing.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search