nat.front_ends.mcp.mcp_front_end_config#
Attributes#
Classes#
MCP front end configuration. |
Module Contents#
- logger#
- class MCPFrontEndConfig(/, **data: Any)#
Bases:
nat.data_models.front_end.FrontEndBaseConfigMCP front end configuration.
A simple MCP (Model Context Protocol) front end for NeMo Agent toolkit.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- transport: Literal['sse', 'streamable-http'] = None#
- server_auth: nat.authentication.oauth2.oauth2_resource_server_config.OAuth2ResourceServerConfig | None = None#
- validate_security_configuration()#
Validate security configuration to prevent accidental misconfigurations.