nat.front_ends.mcp.mcp_front_end_plugin#
Attributes#
Classes#
MCP front end plugin implementation. |
Module Contents#
- logger#
- class MCPFrontEndPlugin(full_config: nat.data_models.config.Config)#
Bases:
nat.builder.front_end.FrontEndBase[nat.front_ends.mcp.mcp_front_end_config.MCPFrontEndConfig]MCP front end plugin implementation.
Initializes the FrontEndBase object with the specified NAT configuration.
Parameters#
- full_configConfig
The configuration object to use for the front end.
- get_worker_class() type[nat.front_ends.mcp.mcp_front_end_plugin_worker.MCPFrontEndPluginWorkerBase]#
Get the worker class for handling MCP routes.
- _get_worker_instance() nat.front_ends.mcp.mcp_front_end_plugin_worker.MCPFrontEndPluginWorkerBase#
Get an instance of the worker class.
- async _create_token_verifier(
- token_verifier_config: nat.authentication.oauth2.oauth2_resource_server_config.OAuth2ResourceServerConfig,
Create a token verifier based on configuration.