* add basic auth checks for MCP * working MCP auth * fix MCP * add get_allowed_mcp_servers for key, team * add get_allowed_mcp_servers * TOOLS FROM MCP SERVERS * fix - working context vars for handling auth to MCPs * fix imports * working _get_allowed_mcp_servers_for_key * TestUserAPIKeyAuthMCP * test_user_api_key_auth_mcp * fix code qa check * fix imports * test_mcp_server.py * fix: fix - working permission mgmt * Update litellm/proxy/_experimental/mcp_server/auth/user_api_key_auth_mcp.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| caching | ||
| enterprise/enterprise_callbacks/send_emails | ||
| experimental_mcp_client | ||
| integrations | ||
| litellm_core_utils | ||
| llms | ||
| passthrough | ||
| proxy | ||
| responses | ||
| router_strategy | ||
| router_utils/pre_call_checks | ||
| secret_managers | ||
| types | ||
| vector_stores | ||
| __init__.py | ||
| conftest.py | ||
| log.txt | ||
| readme.md | ||
| test_constants.py | ||
| test_cost_calculator.py | ||
| test_logging.py | ||
| test_main.py | ||
| test_router.py | ||
| test_utils.py | ||
Testing for litellm/
This directory 1:1 maps the the litellm/ directory, and can only contain mocked tests.
The point of this is to:
- Increase test coverage of
litellm/ - Make it easy for contributors to add tests for the
litellm/package and easily run tests without needing LLM API keys.
File name conventions
litellm/proxy/test_caching_routes.pymaps tolitellm/proxy/caching_routes.pytest_<filename>.pymaps tolitellm/<filename>.py