mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
Feature-flagged (mcp_user_delegation_enabled, default off) delegation/consent layer for MCP: an agent-bound key whose agent has mcp_can_delegate and an active consent record from the asserted user resolves upstream per-user credentials as that user. Header, capability, and consent are validated once at admission for every transport; only the credential-resolution subject swaps, permissions and attribution stay on the agent key. Consent and email lookups are cached with grant/revoke invalidation. Part of LIT-4448. |
||
|---|---|---|
| .. | ||
| migrations | ||
| __init__.py | ||
| _logging.py | ||
| schema.prisma | ||
| utils.py | ||