nat.plugins.fastmcp.server.front_end_config#

FastMCP front end configuration.

Attributes#

Classes#

FastMCPFrontEndConfig

FastMCP front end configuration.

Module Contents#

logger#
class FastMCPFrontEndConfig#

Bases: nat.data_models.front_end.FrontEndBaseConfig

FastMCP front end configuration.

A FastMCP front end for NeMo Agent Toolkit workflows.

name: str = None#
host: str = None#
port: int = None#
debug: bool = None#
log_level: str = None#
tool_names: list[str] = None#
transport: Literal['sse', 'streamable-http'] = None#
runner_class: str | None = None#
base_path: str | None = None#
server_auth: nat.authentication.oauth2.oauth2_resource_server_config.OAuth2ResourceServerConfig | None = None#
classmethod validate_base_path(v: str | None) str | None#

Validate that base_path starts with ‘/’ and does not end with ‘/’.