litellm/tests/mcp_tests
Sameer Kankute 13980398fb
fix(mcp): optional broker auth + temp-session authorize test
Resolve proxy credentials on OAuth broker /authorize and /token when
Authorization is present so allowlist and non-admin temp-cache rules apply.
Add HTTP test that seeds a temp MCP server and asserts unauthenticated GET
/authorize redirects to the upstream IdP.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-05 20:28:51 +05:30
..
test_configs [Release Fix] (#22411) 2026-02-28 09:46:35 -08:00
conftest.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
mcp_server.py test: const 2026-01-19 12:03:26 +09:00
test_aresponses_api_with_mcp.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_mcp_auth_header_extraction.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_mcp_auth_priority.py [Feat] MCP Oauth2 Fixes - Add support for MCP M2M Oauth2 support (#20788) 2026-02-09 17:35:11 -08:00
test_mcp_chat_completions.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_mcp_client_unit.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_mcp_guardrails.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_mcp_hooks.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_mcp_litellm_client.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_mcp_logging.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_mcp_oauth_flow_http_respx.py fix(mcp): optional broker auth + temp-session authorize test 2026-05-05 20:28:51 +05:30
test_mcp_oauth_security_unit.py refactor(mcp): move OAuth tests into tests/mcp_tests so they run under existing CI job 2026-05-05 20:28:51 +05:30
test_mcp_server.py fix(mcp): set instructions=None in test_add_update_server_without_alias mock 2026-04-14 12:42:48 -07:00
test_oauth2_mcp_config.yaml [UI] M2M OAuth2 UI Flow (#20794) 2026-02-09 19:28:02 -08:00
test_openapi_spec_path_url.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_per_user_oauth_cache.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_proxy_mcp_e2e.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_semantic_tool_filter_e2e.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00