Stone.js API
    Preparing search index...

    Function SetMcpCommandsMiddleware

    • Register the mcp command on the CLI.

      Contributed by the plugin rather than by the application, which is the whole point: introspection is a development concern, and an application should not have to declare a development tool to get one. The CLI runs plugin blueprint middleware in its own pipeline, and the CLI is itself a Stone.js app on the console platform, so the command lands exactly where every other command does.

      Parameters

      • context: BlueprintContext<IBlueprint, ClassType>

        The blueprint context.

      • next: NextMiddleware<BlueprintContext<IBlueprint, ClassType>, IBlueprint>

        The next middleware.

      Returns Promise<IBlueprint>

      The blueprint.