aiq.front_ends.mcp.mcp_front_end_plugin#

Attributes#

Classes#

MCPFrontEndPlugin

MCP front end plugin implementation.

Module Contents#

logger#
class MCPFrontEndPlugin(full_config: aiq.data_models.config.AIQConfig)#

Bases: aiq.builder.front_end.FrontEndBase[aiq.front_ends.mcp.mcp_front_end_config.MCPFrontEndConfig]

MCP front end plugin implementation.

Initializes the FrontEndBase object with the specified AIQ Toolkit configuration.

Parameters#

full_configAIQConfig

The configuration object to use for the front end.

async run() None#

Run the MCP server.

_get_all_functions(
workflow: aiq.builder.workflow.Workflow,
) dict[str, aiq.builder.function.Function]#

Get all functions from the workflow.

Args:

workflow: The AIQ workflow.

Returns:

Dict mapping function names to Function objects.