litellm/tests/integration/mcp
shrey kharbanda 9aea48019d feat(mcp): refuse removing granted MCP auth profiles and check grants at startup
A PUT that drops a profile a key, team or agent still grants, deleting its server, or rejecting a loaded server is refused with 409 listing the grants by key alias, team alias or agent name. The PUT check runs in the same transaction as the profile write, so it rolls back. Once config and database servers are loaded, the proxy refuses to start when profile ids collide across config.yaml and the database, a profile sits on a server that cannot use it, or a grant names an unknown profile or two profiles of one server. An unreadable database skips the check with a warning, and any other failure of the check stops startup. A DCR client refresh keeps the profiles the registry already serves when it cannot read them from the database writer
2026-11-20 01:09:07 +00:00
..
_config_mcp_e2e.yaml chore: move LiteLLM's configs and e2e tests off gpt-4o and gpt-4.1 before their 2027-01-14 shutdown (#51800) 2026-11-14 10:50:59 -08:00
_math_server.py test: migrate proxy security, schema migration and MCP legacy tests (#45937) 2026-10-11 16:17:24 -07:00
test_admin_mcp_authorization.py fix(proxy): resolve admin MCP authorization without listing every key and team (#52096) 2026-11-16 14:05:10 -08:00
test_interactions.py test(integration): cap the OAuth metadata lookup in the mixed capabilities subscription case (#50867) 2026-11-10 18:11:16 +00:00
test_litellm_proxy_mcp_handler_real_io.py ci(unit): cut unit check time with cheaper per-test resets and fewer non-unit tests (#51864) 2026-11-14 15:41:30 -08:00
test_mcp_access_matrix.py test: update integration tests left stale by recent product changes (#49143) 2026-10-29 18:06:28 -07:00
test_mcp_accounting_guardrails.py fix(mcp): refuse calls to guardrail-hidden tools (#48669) 2026-10-27 17:13:40 -07:00
test_mcp_agent_365_guardrail.py test(integration): give each owned proxy a private database and Redis by default (#47213) 2026-10-18 03:37:41 +00:00
test_mcp_akto_logging_only.py test(integration): give each owned proxy a private database and Redis by default (#47213) 2026-10-18 03:37:41 +00:00
test_mcp_client_real_io.py ci(unit): cut unit check time with cheaper per-test resets and fewer non-unit tests (#51864) 2026-11-14 15:41:30 -08:00
test_mcp_credentials.py fix(mcp)!: forward the LiteLLM key when the admin configures it (#50604) 2026-11-10 20:51:34 -08:00
test_mcp_lifecycle.py test(mcp): cancel disconnected HTTP tool handlers (#49436) 2026-10-31 16:41:49 -07:00
test_mcp_listed_tool_metadata.py fix(mcp): refuse calls to guardrail-hidden tools (#48669) 2026-10-27 17:13:40 -07:00
test_mcp_llm_endpoints.py fix(mcp): return an upstream -32042 URL elicitation error from /mcp as a JSON-RPC error (#52384) 2026-11-19 08:56:01 -08:00
test_mcp_management.py feat(mcp): refuse removing granted MCP auth profiles and check grants at startup 2026-11-20 01:09:07 +00:00
test_mcp_model_armor_post_mcp_call.py feat(model_armor): scan MCP tool results on post_mcp_call (#51887) 2026-11-18 12:17:47 -08:00
test_mcp_oauth_flows.py fix(mcp): return an upstream -32042 URL elicitation error from /mcp as a JSON-RPC error (#52384) 2026-11-19 08:56:01 -08:00
test_mcp_protocol_errors.py fix(mcp): return an upstream -32042 URL elicitation error from /mcp as a JSON-RPC error (#52384) 2026-11-19 08:56:01 -08:00
test_mcp_rate_limits.py feat(mcp): rate limit all MCP operations and add server-level rpm (#44600) 2026-10-07 16:30:52 -07:00
test_mcp_resilience.py test: update integration tests left stale by recent product changes (#49143) 2026-10-29 18:06:28 -07:00
test_mcp_submission_rules.py fix(ui): read MCP submission rules from bare-array /config/list response (#44648) 2026-10-06 10:09:46 -07:00
test_mcp_tool_permission_merge.py refactor(types): replace Any with proven types in 7 files (#43704) 2026-09-29 06:12:58 -07:00
test_mcp_toolsets.py test: update integration tests left stale by recent product changes (#49143) 2026-10-29 18:06:28 -07:00
test_mcp_transports.py test(mcp): hold the progress test's upstream notification acks until they are dispatched (#49967) 2026-11-03 15:26:48 -08:00
test_mcp_url_elicitation.py fix(mcp): return an upstream -32042 URL elicitation error from /mcp as a JSON-RPC error (#52384) 2026-11-19 08:56:01 -08:00
test_mcp_user_env_vars.py test(integration): give each owned proxy a private database and Redis by default (#47213) 2026-10-18 03:37:41 +00:00
test_oauth_configuration.py test(integration): give each owned proxy a private database and Redis by default (#47213) 2026-10-18 03:37:41 +00:00
test_openapi_to_mcp_generator_real_io.py ci(unit): cut unit check time with cheaper per-test resets and fewer non-unit tests (#51864) 2026-11-14 15:41:30 -08:00
test_pagination.py chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
test_proxy_mcp_e2e.py test(mcp): give the startup-failure child process the rig's calibrated readiness budget (#52365) 2026-11-18 02:36:51 +00:00
test_responses_mcp_mixed_tools.py test: fix three order-dependent and timing-flaky tests (#44271) 2026-10-02 16:29:57 -07:00
test_responses_mcp_streaming_round_history.py fix(responses): keep every MCP tool round in streaming follow-up input (#47698) 2026-10-28 00:51:10 -07:00