The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(mcp): emit one operator warning per DCR re-registration event
Tin Chi Lo2254ffb7f826
diff --git a/litellm/proxy/_experimental/mcp_server/discoverable_endpoints.py b/litellm/proxy/_experimental/mcp_server/discoverable_endpoints.pyindex 67018915107..ebceb320906 100644--- a/litellm/proxy/_experimental/mcp_server/discoverable_endpoints.py+++ b/litellm/proxy/_experimental/mcp_server/discoverable_endpoints.py@@ -910,9 +910,10 @@ async def _reuse_persisted_dcr_client_if_available(return Falsepersisted_mcp_server, credentials = persistedif current_redirect_uri is not None and _redirect_uri_not_registered(credentials, current_redirect_uri):- verbose_logger.warning(+ verbose_logger.debug("register_client_with_server: not reusing persisted DCR client for server_id=%s; its registered "- "redirect_uris=%s do not include the current callback %s",+ "redirect_uris=%s do not include the current callback %s. The operator-facing warning for this "+ "re-registration event is emitted once by _persisted_dcr_redirect_uri_is_stale.",mcp_server.server_id,credentials.redirect_uris,current_redirect_uri,