litellm/tests/mcp_tests
Alexsander Hamir 174fd8ac7e Fix test_mcp_server_manager_config_integration_with_database cancellation error
Mock _create_mcp_client to avoid network calls in health checks.
This prevents asyncio.CancelledError when the test teardown closes
the event loop while health checks are still pending.

The test focuses on conversion logic (access_groups, description)
not health check functionality, so mocking the network call is appropriate.
2026-01-26 10:50:35 -08:00
..
test_configs test: MCP E2E streamable_http 2026-01-19 11:12:36 +09:00
conftest.py [Perf] Improvements for Async Success Handler (Logging Callbacks) - Approx +130 RPS (#13905) 2025-08-23 13:13:23 -07:00
mcp_server.py test: const 2026-01-19 12:03:26 +09:00
test_aresponses_api_with_mcp.py test: Skip anthropic model test when ANTHROPIC_API_KEY is not set 2026-01-23 15:50:56 +09:00
test_mcp_auth_header_extraction.py Auth Header Fix for MCP Tool Call (#15736) 2025-10-21 13:58:03 -07:00
test_mcp_auth_priority.py feat: add dynamic OAuth2 metadata discovery for MCP servers (#16676) 2025-11-14 18:14:43 -08:00
test_mcp_chat_completions.py test: completions mcp output test 2026-01-23 15:17:14 +09:00
test_mcp_client_unit.py tests: patch MCP client mocks via module alias to avoid real network calls 2026-01-20 12:31:27 +09:00
test_mcp_guardrails.py [MCP Gateway] Litellm mcp pre and during guardrails (#13188) 2025-08-01 20:02:25 -07:00
test_mcp_hooks.py [MCP gateway] add pre and during call hooks init (#13067) 2025-07-29 11:06:58 -07:00
test_mcp_litellm_client.py [MCP Gateway] Litellm mcp client list fail (#13114) 2025-07-30 15:23:19 -07:00
test_mcp_logging.py test: add permission test 2026-01-14 07:58:21 +09:00
test_mcp_server.py Fix test_mcp_server_manager_config_integration_with_database cancellation error 2026-01-26 10:50:35 -08:00
test_proxy_mcp_e2e.py fix: ci mcp version up 2026-01-19 14:27:00 +09:00