Expand description
CORS (Cross-Origin Resource Sharing) support for Lambda MCP servers
This module provides CORS header injection for Lambda responses, since Tower middleware cannot be used in the Lambda execution environment.
Structs§
- Cors
Config - CORS configuration for Lambda MCP servers
Functions§
- create_
preflight_ response - Create a CORS preflight response
- inject_
cors_ headers - Inject CORS headers into a Lambda response (generic over body type)
- validate_
config - Validate CORS configuration