litellm/tests/e2e/mcp
Tin Chi Lo 644d1ec28f test(e2e): a stored per-user token lets the key in Authorization list and call tools
Positive companion to the Authorization challenge-guard: once a user has
authorized (per-user token stored via the x-litellm-api-key dance), a plain
Authorization: Bearer <key> session needs no dance and the gateway serves
tools using the stored token. Seeds the token via the dance, then lists and
calls over an Authorization-key session, and asserts the upstream received the
stored per-user token (not the key) with no key leak. Claims the previously
unclaimed mcp.{list_tools,call_tool}.bearer.succeeds cells. Green on stock.
2026-07-16 17:41:34 -07:00
..
stub test(e2e): run the official MCP conformance suite through the gateway and cover prompt/resource primitives 2026-07-16 12:49:25 -07:00
auth_forwarder.py test(e2e): run the official MCP conformance suite through the gateway and cover prompt/resource primitives 2026-07-16 12:49:25 -07:00
conftest.py test(e2e): cover MCP gateway auth headers and per-server max concurrency 2026-07-16 12:49:08 -07:00
mcp_client.py test(e2e): run the official MCP conformance suite through the gateway and cover prompt/resource primitives 2026-07-16 12:49:25 -07:00
test_mcp_concurrency_e2e.py refactor(e2e): build wire headers and mint keys inline in the mcp test bodies 2026-07-16 12:49:25 -07:00
test_mcp_oauth_interactive_e2e.py test(e2e): a stored per-user token lets the key in Authorization list and call tools 2026-07-16 17:41:34 -07:00
test_mcp_tool_access_e2e.py test(e2e): assert the server record round-trips in the ingress rejection tests 2026-07-16 13:03:24 -07:00