litellm/tests/test_litellm/proxy/_experimental/mcp_server
joshua-berri 0d0f73cd14
fix(mcp): restore legacy SSE and bounded cancellation cleanup (#42382)
* fix(mcp): restore legacy SSE and bounded cancellation cleanup

* fix(mcp): drain termination despite repeated task cancellation

* fix(mcp): admit virtual keys on legacy SSE message routes

* fix(mcp): preserve cancellation through late transport failures

* fix(mcp): preserve process exits during cleanup

* test(mcp): drain idle sockets before server shutdown

---------

Co-authored-by: Joshua Valluru <326636767+joshua-berri@users.noreply.github.com>
2026-09-22 11:27:50 -07:00
..
auth fix(mcp): restore legacy SSE and bounded cancellation cleanup (#42382) 2026-09-22 11:27:50 -07:00
faults test(mcp): update MCP suites for SDK 2 APIs 2026-09-18 22:13:18 +00:00
guardrail_translation fix(mcp): preserve legacy behavior on SDK2 and streamline verification 2026-09-18 22:28:31 -07:00
outbound_credentials test(mcp): update MCP suites for SDK 2 APIs 2026-09-18 22:13:18 +00:00
conftest.py fix(mcp): preserve legacy behavior on SDK2 and streamline verification 2026-09-18 22:28:31 -07:00
test_byok_credential_cache.py
test_byok_oauth_endpoints.py refactor(mcp): extract explicit operation context and dispatch 2026-09-21 12:24:15 -07:00
test_callback_oauth_error_responses.py
test_client_allowlist.py feat(mcp): give each allowed MCP client an alias and a value 2026-09-18 22:29:17 +00:00
test_contracts.py refactor(mcp): extract explicit operation context and dispatch 2026-09-21 12:24:15 -07:00
test_db_credentials.py
test_discoverable_endpoints.py Merge pull request #42036 from BerriAI/litellm_team_membership_lookup_fail_closed 2026-09-21 14:58:46 -07:00
test_gateway_dcr_flow.py
test_idp_token_exchange.py
test_is_tool_name_prefixed.py
test_jwt_mcp_enforcement.py
test_jwt_mcp_simple.py
test_mcp_block_recording.py refactor(mcp): extract explicit operation context and dispatch 2026-09-21 12:24:15 -07:00
test_mcp_cost_calculator.py
test_mcp_custom_fields.py fix(mcp): preserve legacy behavior on SDK2 and streamline verification 2026-09-18 22:28:31 -07:00
test_mcp_debug.py fix(mcp): preserve legacy behavior on SDK2 and streamline verification 2026-09-18 22:28:31 -07:00
test_mcp_discovery.py
test_mcp_elicitation_handler.py test(mcp): update MCP suites for SDK 2 APIs 2026-09-18 22:13:18 +00:00
test_mcp_env_vars.py fix(mcp): preserve legacy behavior on SDK2 and streamline verification 2026-09-18 22:28:31 -07:00
test_mcp_guardrail_usage_monitor.py
test_mcp_header_alias_utils.py
test_mcp_hook_extra_headers.py refactor(mcp): extract explicit operation context and dispatch 2026-09-21 12:24:15 -07:00
test_mcp_max_concurrent_requests.py
test_mcp_metadata_preservation.py fix(mcp): preserve legacy behavior on SDK2 and streamline verification 2026-09-18 22:28:31 -07:00
test_mcp_oauth_passthrough.py
test_mcp_oauth_passthrough_cold_start.py
test_mcp_oauth_passthrough_tools.py refactor(mcp): extract explicit operation context and dispatch 2026-09-21 12:24:15 -07:00
test_mcp_partial_update.py
test_mcp_proxy_mode.py refactor(mcp): extract explicit operation context and dispatch 2026-09-21 12:24:15 -07:00
test_mcp_sampling_completion_flow.py test(mcp): update MCP suites for SDK2 handler signatures and ctx var 2026-09-18 23:34:30 +00:00
test_mcp_sampling_model_access.py test(mcp): update MCP suites for SDK 2 APIs 2026-09-18 22:13:18 +00:00
test_mcp_sampling_model_resolution.py
test_mcp_sampling_priority_selection.py
test_mcp_sampling_request_builder.py
test_mcp_sampling_response_conversion.py test(mcp): update MCP suites for SDK2 handler signatures and ctx var 2026-09-18 23:34:30 +00:00
test_mcp_sampling_tool_conversion.py fix(mcp): preserve legacy behavior on SDK2 and streamline verification 2026-09-18 22:28:31 -07:00
test_mcp_server.py fix(mcp): restore legacy SSE and bounded cancellation cleanup (#42382) 2026-09-22 11:27:50 -07:00
test_mcp_server_identity_env.py
test_mcp_server_manager.py fix(mcp): keep config-defined servers read-only (#42299) 2026-09-21 22:56:21 -07:00
test_mcp_session_logging.py
test_mcp_sigv4_auth.py fix(mcp): preserve legacy behavior on SDK2 and streamline verification 2026-09-18 22:28:31 -07:00
test_mcp_stale_session.py refactor(mcp): extract explicit operation context and dispatch 2026-09-21 12:24:15 -07:00
test_mcp_tool_search.py refactor(mcp): extract explicit operation context and dispatch 2026-09-21 12:24:15 -07:00
test_mcp_toolset_scope.py test(mcp): preserve toolset scope across explicit context 2026-09-21 12:31:48 -07:00
test_oauth2_flow_backfill.py
test_oauth2_token_cache.py test(mcp): give the new cache and tombstone patches TQ008 reasons and match the keyword eviction call 2026-09-18 02:49:41 +00:00
test_oauth_identity_binding.py
test_oauth_issuer_stamp_backfill.py
test_openapi_to_mcp_generator.py
test_openapi_tool_auth.py refactor(mcp): extract explicit operation context and dispatch 2026-09-21 12:24:15 -07:00
test_operations.py fix(mcp): keep OAuth prefetch failure logs free of caller data 2026-09-21 13:13:20 -07:00
test_proxy_api_credentials.py
test_rest_endpoints.py refactor(mcp): extract explicit operation context and dispatch 2026-09-21 12:24:15 -07:00
test_semantic_tool_filter.py fix(mcp): preserve legacy behavior on SDK2 and streamline verification 2026-09-18 22:28:31 -07:00
test_short_mcp_tool_prefix.py fix(mcp): preserve legacy behavior on SDK2 and streamline verification 2026-09-18 22:28:31 -07:00
test_ui_session_utils.py
test_utils.py fix(mcp): preserve legacy behavior on SDK2 and streamline verification 2026-09-18 22:28:31 -07:00