mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
* fix(mcp): add AWS SigV4 auth for Bedrock AgentCore MCP servers Add aws_sigv4 auth type to MCP client via httpx.Auth subclass that signs each request with SigV4 using botocore. Enables mcp_servers config to connect to AgentCore-hosted MCP servers. * docs(mcp): add AWS SigV4 auth documentation for Bedrock AgentCore Add dedicated docs page for configuring MCP servers with AWS SigV4 authentication, update MCP overview with aws_sigv4 auth type and config example, and link from Bedrock AgentCore provider docs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(mcp): address Greptile review — requires_request_body, full header signing, health check - Add requires_request_body = True to MCPSigV4Auth so httpx buffers the request body before calling auth_flow (prevents empty body hash for streaming requests) - Pass all request headers to AWSRequest for canonical SigV4 signing instead of only Content-Type - Exclude aws_sigv4 from health check skip logic since it has its own credential fields (not authentication_token) - Fix docs: mark aws_access_key_id/aws_secret_access_key as optional (falls back to boto3 credential chain) - Add test for requires_request_body flag Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com> |
||
|---|---|---|
| .. | ||
| auth | ||
| guardrail_translation | ||
| test_byok_oauth_endpoints.py | ||
| test_discoverable_endpoints.py | ||
| test_jwt_mcp_enforcement.py | ||
| test_jwt_mcp_simple.py | ||
| test_mcp_cost_calculator.py | ||
| test_mcp_custom_fields.py | ||
| test_mcp_debug.py | ||
| test_mcp_discovery.py | ||
| test_mcp_metadata_preservation.py | ||
| test_mcp_server.py | ||
| test_mcp_server_manager.py | ||
| test_mcp_sigv4_auth.py | ||
| test_mcp_stale_session.py | ||
| test_oauth2_token_cache.py | ||
| test_openapi_to_mcp_generator.py | ||
| test_rest_endpoints.py | ||
| test_semantic_tool_filter.py | ||
| test_ui_session_utils.py | ||