diff --git a/.circleci/scripts/unit_selection.sh b/.circleci/scripts/unit_selection.sh index 2f8087d1687..1daac42317a 100755 --- a/.circleci/scripts/unit_selection.sh +++ b/.circleci/scripts/unit_selection.sh @@ -65,11 +65,8 @@ legacy_paths() { echo tests/unit/experimental_mcp_client echo tests/unit/proxy/_experimental/mcp_server echo tests/unit/responses/mcp - echo tests/test_litellm/proxy/test_mcp_asgi_response.py - echo tests/test_litellm/proxy/_experimental/mcp_server/test_mcp_server.py - echo tests/test_litellm/proxy/_experimental/mcp_server/test_mcp_stale_session.py - echo tests/test_litellm/proxy/_experimental/mcp_server/test_mcp_tool_search.py - echo tests/test_litellm/proxy/management_endpoints/test_mcp_management_endpoints.py + echo tests/unit/proxy/test_mcp_asgi_response.py + echo tests/unit/proxy/management_endpoints/test_mcp_management_endpoints.py echo tests/mcp_tests/test_proxy_mcp_e2e.py ;; misc) find tests/unit -maxdepth 1 -name 'test_*.py' diff --git a/litellm/proxy/_experimental/mcp_server/server.py b/litellm/proxy/_experimental/mcp_server/server.py index e9770fa7444..bcaf121be13 100644 --- a/litellm/proxy/_experimental/mcp_server/server.py +++ b/litellm/proxy/_experimental/mcp_server/server.py @@ -2275,7 +2275,7 @@ if MCP_AVAILABLE: ): delete_capacity_response: Final = JSONResponse( status_code=429, - content={ # mutable-ok: JSONResponse content must be a plain dict + content={ "error": "Too Many Requests", "details": "Too many recently terminated MCP sessions. Retry after idle records expire.", },