@forklaunch/core 0.15.11 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/http/index.js CHANGED
@@ -3151,7 +3151,7 @@ function generateInputSchema(schemaValidator, body, params, query, requestHeader
3151
3151
  } : {}
3152
3152
  });
3153
3153
  }
3154
- function generateMcpServer(schemaValidator, protocol, host, port, version, application, appOptions, options2, contentTypeMap) {
3154
+ function generateMcpServer(schemaValidator, protocol, host, port, version, application, appOptions, options2, contentTypeMap, authenticate) {
3155
3155
  if (!(schemaValidator instanceof import_zod.ZodSchemaValidator)) {
3156
3156
  throw new Error(
3157
3157
  "Schema validator must be an instance of ZodSchemaValidator"
@@ -3160,7 +3160,8 @@ function generateMcpServer(schemaValidator, protocol, host, port, version, appli
3160
3160
  const mcpServer = new import_fastmcp_fork.FastMCP({
3161
3161
  ...options2,
3162
3162
  name: options2?.name ?? "mcp-server",
3163
- version
3163
+ version,
3164
+ authenticate
3164
3165
  });
3165
3166
  [
3166
3167
  {