Function getMCPSchema

  • Retrieves a registered MCP (Model Context Protocol) schema by name.

    Parameters

    • mcpName: string

      Unique MCP identifier

    Returns IMCPSchema

    The MCP schema configuration object

    Error if MCP is not registered

    const mcp = getMCPSchema("my-mcp");
    console.log(mcp.strategyName); // "my-strategy"
    console.log(mcp.positionCost); // entry cost override or undefined