@forklaunch/core 0.15.12 → 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.
@@ -3088,7 +3088,7 @@ function generateInputSchema(schemaValidator, body, params, query, requestHeader
3088
3088
  } : {}
3089
3089
  });
3090
3090
  }
3091
- function generateMcpServer(schemaValidator, protocol, host, port, version, application, appOptions, options2, contentTypeMap) {
3091
+ function generateMcpServer(schemaValidator, protocol, host, port, version, application, appOptions, options2, contentTypeMap, authenticate) {
3092
3092
  if (!(schemaValidator instanceof ZodSchemaValidator)) {
3093
3093
  throw new Error(
3094
3094
  "Schema validator must be an instance of ZodSchemaValidator"
@@ -3097,7 +3097,8 @@ function generateMcpServer(schemaValidator, protocol, host, port, version, appli
3097
3097
  const mcpServer = new FastMCP({
3098
3098
  ...options2,
3099
3099
  name: options2?.name ?? "mcp-server",
3100
- version
3100
+ version,
3101
+ authenticate
3101
3102
  });
3102
3103
  [
3103
3104
  {