mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
Adds a live e2e suite under tests/e2e/mcp asserting that a virtual key without an MCP grant sees none of a server's tools on tools/list and is refused a tools/call with a 403, while a permitted key on the same server sees and calls them. An admin registers a deterministic self-hosted upstream MCP server through the management API and it is deleted on teardown. Covers the registry rows mcp.list_tools.api_key.denied_without_permission and mcp.call_tool.api_key.denied_without_permission. Resolves LIT-4547 |
||
|---|---|---|
| .. | ||
| test_configs | ||
| conftest.py | ||
| mcp_e2e_upstream_server.py | ||
| mcp_server.py | ||
| test_aresponses_api_with_mcp.py | ||
| test_mcp_auth_header_extraction.py | ||
| test_mcp_auth_priority.py | ||
| test_mcp_chat_completions.py | ||
| test_mcp_client_unit.py | ||
| test_mcp_guardrails.py | ||
| test_mcp_hooks.py | ||
| test_mcp_litellm_client.py | ||
| test_mcp_logging.py | ||
| test_mcp_server.py | ||
| test_oauth2_mcp_config.yaml | ||
| test_openapi_spec_path_url.py | ||
| test_per_user_oauth_cache.py | ||
| test_proxy_mcp_e2e.py | ||
| test_semantic_tool_filter_e2e.py | ||