mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +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 |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| mcp_client.py | ||
| test_mcp_key_access_e2e.py | ||