librechat-data-provider 0.8.522 → 0.8.523

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.
Files changed (46) hide show
  1. package/dist/{data-service-CaB7saTP.mjs → data-service-Bx6IFaSa.mjs} +638 -27
  2. package/dist/data-service-Bx6IFaSa.mjs.map +1 -0
  3. package/dist/{data-service-D5kHzBt-.js → data-service-CTX0tVO5.js} +871 -26
  4. package/dist/data-service-CTX0tVO5.js.map +1 -0
  5. package/dist/index.js +557 -19
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +491 -20
  8. package/dist/index.mjs.map +1 -1
  9. package/dist/react-query/index.js +1 -1
  10. package/dist/react-query/index.mjs +1 -1
  11. package/dist/types/accessPermissions.d.ts +54 -1
  12. package/dist/types/api-endpoints.d.ts +6 -0
  13. package/dist/types/bedrock.d.ts +80 -20
  14. package/dist/types/code/approval.d.ts +26 -0
  15. package/dist/types/code/worker.d.ts +10 -0
  16. package/dist/types/code/workspace.d.ts +28 -0
  17. package/dist/types/codeEnvRef.d.ts +5 -0
  18. package/dist/types/config.d.ts +6062 -3828
  19. package/dist/types/data-service.d.ts +8 -0
  20. package/dist/types/errors.d.ts +2 -0
  21. package/dist/types/file-config.d.ts +137 -9
  22. package/dist/types/filters.d.ts +176 -176
  23. package/dist/types/generate.d.ts +28 -4
  24. package/dist/types/index.d.ts +7 -0
  25. package/dist/types/keys.d.ts +11 -1
  26. package/dist/types/mcp.d.ts +336 -330
  27. package/dist/types/messages.d.ts +19 -0
  28. package/dist/types/models.d.ts +367 -238
  29. package/dist/types/parameterSettings.d.ts +8 -0
  30. package/dist/types/providers.d.ts +1 -0
  31. package/dist/types/resolve-llm-delivery-path.d.ts +68 -0
  32. package/dist/types/schemas.d.ts +628 -317
  33. package/dist/types/svg.d.ts +34 -0
  34. package/dist/types/types/agents.d.ts +24 -0
  35. package/dist/types/types/assistants.d.ts +27 -3
  36. package/dist/types/types/files.d.ts +34 -0
  37. package/dist/types/types/insights.d.ts +9 -0
  38. package/dist/types/types/queries.d.ts +8 -1
  39. package/dist/types/types/queuedTurns.d.ts +16 -16
  40. package/dist/types/types/runs.d.ts +24 -5
  41. package/dist/types/types/schedules.d.ts +44 -11
  42. package/dist/types/types/traces.d.ts +85 -0
  43. package/dist/types/types.d.ts +41 -1
  44. package/package.json +2 -2
  45. package/dist/data-service-CaB7saTP.mjs.map +0 -1
  46. package/dist/data-service-D5kHzBt-.js.map +0 -1
@@ -1,5 +1,11 @@
1
1
  import { z } from 'zod';
2
2
  import { TokenExchangeMethodEnum } from './types/agents';
3
+ /**
4
+ * Upper bound on a stored MCP `iconPath` (URL or data URI). Enforced by
5
+ * `sanitizeMcpIconPath`, not a schema `.max()`, so re-submitting a server whose
6
+ * stored icon predates the cap clears the icon instead of rejecting the update.
7
+ */
8
+ export declare const MAX_MCP_ICON_PATH_LENGTH: number;
3
9
  export declare const MCP_SERVER_TITLE_PATTERN: RegExp;
4
10
  export declare const MCP_SERVER_TITLE_ERROR = "Title must start with a letter or number and can include spaces, hyphens, and apostrophes";
5
11
  export declare function isProcessMCPServerField(field: string): boolean;
@@ -115,8 +121,9 @@ export declare const StdioOptionsSchema: z.ZodObject<{
115
121
  /** OAuth revocation endpoint authentication methods supported (optional - can be auto-discovered) */
116
122
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
117
123
  }, "strip", z.ZodTypeAny, {
118
- authorization_url?: string | undefined;
124
+ audience?: string | undefined;
119
125
  scope?: string | undefined;
126
+ authorization_url?: string | undefined;
120
127
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
121
128
  token_url?: string | undefined;
122
129
  client_id?: string | undefined;
@@ -127,13 +134,13 @@ export declare const StdioOptionsSchema: z.ZodObject<{
127
134
  response_types_supported?: string[] | undefined;
128
135
  code_challenge_methods_supported?: string[] | undefined;
129
136
  skip_code_challenge_check?: boolean | undefined;
130
- audience?: string | undefined;
131
137
  forward_audience_on_refresh?: boolean | undefined;
132
138
  revocation_endpoint?: string | undefined;
133
139
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
134
140
  }, {
135
- authorization_url?: string | undefined;
141
+ audience?: string | undefined;
136
142
  scope?: string | undefined;
143
+ authorization_url?: string | undefined;
137
144
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
138
145
  token_url?: string | undefined;
139
146
  client_id?: string | undefined;
@@ -144,13 +151,13 @@ export declare const StdioOptionsSchema: z.ZodObject<{
144
151
  response_types_supported?: string[] | undefined;
145
152
  code_challenge_methods_supported?: string[] | undefined;
146
153
  skip_code_challenge_check?: boolean | undefined;
147
- audience?: string | undefined;
148
154
  forward_audience_on_refresh?: boolean | undefined;
149
155
  revocation_endpoint?: string | undefined;
150
156
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
151
157
  }>, {
152
- authorization_url?: string | undefined;
158
+ audience?: string | undefined;
153
159
  scope?: string | undefined;
160
+ authorization_url?: string | undefined;
154
161
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
155
162
  token_url?: string | undefined;
156
163
  client_id?: string | undefined;
@@ -161,13 +168,13 @@ export declare const StdioOptionsSchema: z.ZodObject<{
161
168
  response_types_supported?: string[] | undefined;
162
169
  code_challenge_methods_supported?: string[] | undefined;
163
170
  skip_code_challenge_check?: boolean | undefined;
164
- audience?: string | undefined;
165
171
  forward_audience_on_refresh?: boolean | undefined;
166
172
  revocation_endpoint?: string | undefined;
167
173
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
168
174
  }, {
169
- authorization_url?: string | undefined;
175
+ audience?: string | undefined;
170
176
  scope?: string | undefined;
177
+ authorization_url?: string | undefined;
171
178
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
172
179
  token_url?: string | undefined;
173
180
  client_id?: string | undefined;
@@ -178,7 +185,6 @@ export declare const StdioOptionsSchema: z.ZodObject<{
178
185
  response_types_supported?: string[] | undefined;
179
186
  code_challenge_methods_supported?: string[] | undefined;
180
187
  skip_code_challenge_check?: boolean | undefined;
181
- audience?: string | undefined;
182
188
  forward_audience_on_refresh?: boolean | undefined;
183
189
  revocation_endpoint?: string | undefined;
184
190
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
@@ -264,8 +270,13 @@ export declare const StdioOptionsSchema: z.ZodObject<{
264
270
  description?: string | undefined;
265
271
  title?: string | undefined;
266
272
  chatMenu?: boolean | undefined;
273
+ apiKey?: {
274
+ source: "user" | "admin";
275
+ authorization_type: "custom" | "basic" | "bearer";
276
+ key?: string | undefined;
277
+ custom_header?: string | undefined;
278
+ } | undefined;
267
279
  timeout?: number | undefined;
268
- env?: Record<string, string> | undefined;
269
280
  startup?: boolean | undefined;
270
281
  iconPath?: string | undefined;
271
282
  sseReadTimeout?: number | undefined;
@@ -273,8 +284,9 @@ export declare const StdioOptionsSchema: z.ZodObject<{
273
284
  serverInstructions?: string | boolean | undefined;
274
285
  requiresOAuth?: boolean | undefined;
275
286
  oauth?: {
276
- authorization_url?: string | undefined;
287
+ audience?: string | undefined;
277
288
  scope?: string | undefined;
289
+ authorization_url?: string | undefined;
278
290
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
279
291
  token_url?: string | undefined;
280
292
  client_id?: string | undefined;
@@ -285,23 +297,17 @@ export declare const StdioOptionsSchema: z.ZodObject<{
285
297
  response_types_supported?: string[] | undefined;
286
298
  code_challenge_methods_supported?: string[] | undefined;
287
299
  skip_code_challenge_check?: boolean | undefined;
288
- audience?: string | undefined;
289
300
  forward_audience_on_refresh?: boolean | undefined;
290
301
  revocation_endpoint?: string | undefined;
291
302
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
292
303
  } | undefined;
293
304
  oauth_headers?: Record<string, string> | undefined;
294
- apiKey?: {
295
- source: "user" | "admin";
296
- authorization_type: "custom" | "basic" | "bearer";
297
- key?: string | undefined;
298
- custom_header?: string | undefined;
299
- } | undefined;
300
305
  customUserVars?: Record<string, {
301
306
  description: string;
302
307
  title: string;
303
308
  sensitive?: boolean | undefined;
304
309
  }> | undefined;
310
+ env?: Record<string, string> | undefined;
305
311
  cwd?: string | undefined;
306
312
  stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
307
313
  obo?: undefined;
@@ -312,8 +318,13 @@ export declare const StdioOptionsSchema: z.ZodObject<{
312
318
  description?: string | undefined;
313
319
  title?: string | undefined;
314
320
  chatMenu?: boolean | undefined;
321
+ apiKey?: {
322
+ source: "user" | "admin";
323
+ authorization_type: "custom" | "basic" | "bearer";
324
+ key?: string | undefined;
325
+ custom_header?: string | undefined;
326
+ } | undefined;
315
327
  timeout?: number | undefined;
316
- env?: Record<string, string> | undefined;
317
328
  startup?: boolean | undefined;
318
329
  iconPath?: string | undefined;
319
330
  sseReadTimeout?: number | undefined;
@@ -321,8 +332,9 @@ export declare const StdioOptionsSchema: z.ZodObject<{
321
332
  serverInstructions?: string | boolean | undefined;
322
333
  requiresOAuth?: boolean | undefined;
323
334
  oauth?: {
324
- authorization_url?: string | undefined;
335
+ audience?: string | undefined;
325
336
  scope?: string | undefined;
337
+ authorization_url?: string | undefined;
326
338
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
327
339
  token_url?: string | undefined;
328
340
  client_id?: string | undefined;
@@ -333,23 +345,17 @@ export declare const StdioOptionsSchema: z.ZodObject<{
333
345
  response_types_supported?: string[] | undefined;
334
346
  code_challenge_methods_supported?: string[] | undefined;
335
347
  skip_code_challenge_check?: boolean | undefined;
336
- audience?: string | undefined;
337
348
  forward_audience_on_refresh?: boolean | undefined;
338
349
  revocation_endpoint?: string | undefined;
339
350
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
340
351
  } | undefined;
341
352
  oauth_headers?: Record<string, string> | undefined;
342
- apiKey?: {
343
- source: "user" | "admin";
344
- authorization_type: "custom" | "basic" | "bearer";
345
- key?: string | undefined;
346
- custom_header?: string | undefined;
347
- } | undefined;
348
353
  customUserVars?: Record<string, {
349
354
  description: string;
350
355
  title: string;
351
356
  sensitive?: boolean | undefined;
352
357
  }> | undefined;
358
+ env?: Record<string, string> | undefined;
353
359
  cwd?: string | undefined;
354
360
  stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
355
361
  obo?: undefined;
@@ -464,8 +470,9 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
464
470
  /** OAuth revocation endpoint authentication methods supported (optional - can be auto-discovered) */
465
471
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
466
472
  }, "strip", z.ZodTypeAny, {
467
- authorization_url?: string | undefined;
473
+ audience?: string | undefined;
468
474
  scope?: string | undefined;
475
+ authorization_url?: string | undefined;
469
476
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
470
477
  token_url?: string | undefined;
471
478
  client_id?: string | undefined;
@@ -476,13 +483,13 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
476
483
  response_types_supported?: string[] | undefined;
477
484
  code_challenge_methods_supported?: string[] | undefined;
478
485
  skip_code_challenge_check?: boolean | undefined;
479
- audience?: string | undefined;
480
486
  forward_audience_on_refresh?: boolean | undefined;
481
487
  revocation_endpoint?: string | undefined;
482
488
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
483
489
  }, {
484
- authorization_url?: string | undefined;
490
+ audience?: string | undefined;
485
491
  scope?: string | undefined;
492
+ authorization_url?: string | undefined;
486
493
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
487
494
  token_url?: string | undefined;
488
495
  client_id?: string | undefined;
@@ -493,13 +500,13 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
493
500
  response_types_supported?: string[] | undefined;
494
501
  code_challenge_methods_supported?: string[] | undefined;
495
502
  skip_code_challenge_check?: boolean | undefined;
496
- audience?: string | undefined;
497
503
  forward_audience_on_refresh?: boolean | undefined;
498
504
  revocation_endpoint?: string | undefined;
499
505
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
500
506
  }>, {
501
- authorization_url?: string | undefined;
507
+ audience?: string | undefined;
502
508
  scope?: string | undefined;
509
+ authorization_url?: string | undefined;
503
510
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
504
511
  token_url?: string | undefined;
505
512
  client_id?: string | undefined;
@@ -510,13 +517,13 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
510
517
  response_types_supported?: string[] | undefined;
511
518
  code_challenge_methods_supported?: string[] | undefined;
512
519
  skip_code_challenge_check?: boolean | undefined;
513
- audience?: string | undefined;
514
520
  forward_audience_on_refresh?: boolean | undefined;
515
521
  revocation_endpoint?: string | undefined;
516
522
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
517
523
  }, {
518
- authorization_url?: string | undefined;
524
+ audience?: string | undefined;
519
525
  scope?: string | undefined;
526
+ authorization_url?: string | undefined;
520
527
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
521
528
  token_url?: string | undefined;
522
529
  client_id?: string | undefined;
@@ -527,7 +534,6 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
527
534
  response_types_supported?: string[] | undefined;
528
535
  code_challenge_methods_supported?: string[] | undefined;
529
536
  skip_code_challenge_check?: boolean | undefined;
530
- audience?: string | undefined;
531
537
  forward_audience_on_refresh?: boolean | undefined;
532
538
  revocation_endpoint?: string | undefined;
533
539
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
@@ -587,6 +593,12 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
587
593
  description?: string | undefined;
588
594
  title?: string | undefined;
589
595
  chatMenu?: boolean | undefined;
596
+ apiKey?: {
597
+ source: "user" | "admin";
598
+ authorization_type: "custom" | "basic" | "bearer";
599
+ key?: string | undefined;
600
+ custom_header?: string | undefined;
601
+ } | undefined;
590
602
  timeout?: number | undefined;
591
603
  startup?: boolean | undefined;
592
604
  iconPath?: string | undefined;
@@ -595,8 +607,9 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
595
607
  serverInstructions?: string | boolean | undefined;
596
608
  requiresOAuth?: boolean | undefined;
597
609
  oauth?: {
598
- authorization_url?: string | undefined;
610
+ audience?: string | undefined;
599
611
  scope?: string | undefined;
612
+ authorization_url?: string | undefined;
600
613
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
601
614
  token_url?: string | undefined;
602
615
  client_id?: string | undefined;
@@ -607,18 +620,11 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
607
620
  response_types_supported?: string[] | undefined;
608
621
  code_challenge_methods_supported?: string[] | undefined;
609
622
  skip_code_challenge_check?: boolean | undefined;
610
- audience?: string | undefined;
611
623
  forward_audience_on_refresh?: boolean | undefined;
612
624
  revocation_endpoint?: string | undefined;
613
625
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
614
626
  } | undefined;
615
627
  oauth_headers?: Record<string, string> | undefined;
616
- apiKey?: {
617
- source: "user" | "admin";
618
- authorization_type: "custom" | "basic" | "bearer";
619
- key?: string | undefined;
620
- custom_header?: string | undefined;
621
- } | undefined;
622
628
  customUserVars?: Record<string, {
623
629
  description: string;
624
630
  title: string;
@@ -631,6 +637,12 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
631
637
  description?: string | undefined;
632
638
  title?: string | undefined;
633
639
  chatMenu?: boolean | undefined;
640
+ apiKey?: {
641
+ source: "user" | "admin";
642
+ authorization_type: "custom" | "basic" | "bearer";
643
+ key?: string | undefined;
644
+ custom_header?: string | undefined;
645
+ } | undefined;
634
646
  timeout?: number | undefined;
635
647
  startup?: boolean | undefined;
636
648
  iconPath?: string | undefined;
@@ -639,8 +651,9 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
639
651
  serverInstructions?: string | boolean | undefined;
640
652
  requiresOAuth?: boolean | undefined;
641
653
  oauth?: {
642
- authorization_url?: string | undefined;
654
+ audience?: string | undefined;
643
655
  scope?: string | undefined;
656
+ authorization_url?: string | undefined;
644
657
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
645
658
  token_url?: string | undefined;
646
659
  client_id?: string | undefined;
@@ -651,18 +664,11 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
651
664
  response_types_supported?: string[] | undefined;
652
665
  code_challenge_methods_supported?: string[] | undefined;
653
666
  skip_code_challenge_check?: boolean | undefined;
654
- audience?: string | undefined;
655
667
  forward_audience_on_refresh?: boolean | undefined;
656
668
  revocation_endpoint?: string | undefined;
657
669
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
658
670
  } | undefined;
659
671
  oauth_headers?: Record<string, string> | undefined;
660
- apiKey?: {
661
- source: "user" | "admin";
662
- authorization_type: "custom" | "basic" | "bearer";
663
- key?: string | undefined;
664
- custom_header?: string | undefined;
665
- } | undefined;
666
672
  customUserVars?: Record<string, {
667
673
  description: string;
668
674
  title: string;
@@ -780,8 +786,9 @@ export declare const SSEOptionsSchema: z.ZodObject<{
780
786
  /** OAuth revocation endpoint authentication methods supported (optional - can be auto-discovered) */
781
787
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
782
788
  }, "strip", z.ZodTypeAny, {
783
- authorization_url?: string | undefined;
789
+ audience?: string | undefined;
784
790
  scope?: string | undefined;
791
+ authorization_url?: string | undefined;
785
792
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
786
793
  token_url?: string | undefined;
787
794
  client_id?: string | undefined;
@@ -792,13 +799,13 @@ export declare const SSEOptionsSchema: z.ZodObject<{
792
799
  response_types_supported?: string[] | undefined;
793
800
  code_challenge_methods_supported?: string[] | undefined;
794
801
  skip_code_challenge_check?: boolean | undefined;
795
- audience?: string | undefined;
796
802
  forward_audience_on_refresh?: boolean | undefined;
797
803
  revocation_endpoint?: string | undefined;
798
804
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
799
805
  }, {
800
- authorization_url?: string | undefined;
806
+ audience?: string | undefined;
801
807
  scope?: string | undefined;
808
+ authorization_url?: string | undefined;
802
809
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
803
810
  token_url?: string | undefined;
804
811
  client_id?: string | undefined;
@@ -809,13 +816,13 @@ export declare const SSEOptionsSchema: z.ZodObject<{
809
816
  response_types_supported?: string[] | undefined;
810
817
  code_challenge_methods_supported?: string[] | undefined;
811
818
  skip_code_challenge_check?: boolean | undefined;
812
- audience?: string | undefined;
813
819
  forward_audience_on_refresh?: boolean | undefined;
814
820
  revocation_endpoint?: string | undefined;
815
821
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
816
822
  }>, {
817
- authorization_url?: string | undefined;
823
+ audience?: string | undefined;
818
824
  scope?: string | undefined;
825
+ authorization_url?: string | undefined;
819
826
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
820
827
  token_url?: string | undefined;
821
828
  client_id?: string | undefined;
@@ -826,13 +833,13 @@ export declare const SSEOptionsSchema: z.ZodObject<{
826
833
  response_types_supported?: string[] | undefined;
827
834
  code_challenge_methods_supported?: string[] | undefined;
828
835
  skip_code_challenge_check?: boolean | undefined;
829
- audience?: string | undefined;
830
836
  forward_audience_on_refresh?: boolean | undefined;
831
837
  revocation_endpoint?: string | undefined;
832
838
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
833
839
  }, {
834
- authorization_url?: string | undefined;
840
+ audience?: string | undefined;
835
841
  scope?: string | undefined;
842
+ authorization_url?: string | undefined;
836
843
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
837
844
  token_url?: string | undefined;
838
845
  client_id?: string | undefined;
@@ -843,7 +850,6 @@ export declare const SSEOptionsSchema: z.ZodObject<{
843
850
  response_types_supported?: string[] | undefined;
844
851
  code_challenge_methods_supported?: string[] | undefined;
845
852
  skip_code_challenge_check?: boolean | undefined;
846
- audience?: string | undefined;
847
853
  forward_audience_on_refresh?: boolean | undefined;
848
854
  revocation_endpoint?: string | undefined;
849
855
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
@@ -920,6 +926,13 @@ export declare const SSEOptionsSchema: z.ZodObject<{
920
926
  description?: string | undefined;
921
927
  title?: string | undefined;
922
928
  chatMenu?: boolean | undefined;
929
+ headers?: Record<string, string> | undefined;
930
+ apiKey?: {
931
+ source: "user" | "admin";
932
+ authorization_type: "custom" | "basic" | "bearer";
933
+ key?: string | undefined;
934
+ custom_header?: string | undefined;
935
+ } | undefined;
923
936
  timeout?: number | undefined;
924
937
  startup?: boolean | undefined;
925
938
  iconPath?: string | undefined;
@@ -928,8 +941,9 @@ export declare const SSEOptionsSchema: z.ZodObject<{
928
941
  serverInstructions?: string | boolean | undefined;
929
942
  requiresOAuth?: boolean | undefined;
930
943
  oauth?: {
931
- authorization_url?: string | undefined;
944
+ audience?: string | undefined;
932
945
  scope?: string | undefined;
946
+ authorization_url?: string | undefined;
933
947
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
934
948
  token_url?: string | undefined;
935
949
  client_id?: string | undefined;
@@ -940,18 +954,11 @@ export declare const SSEOptionsSchema: z.ZodObject<{
940
954
  response_types_supported?: string[] | undefined;
941
955
  code_challenge_methods_supported?: string[] | undefined;
942
956
  skip_code_challenge_check?: boolean | undefined;
943
- audience?: string | undefined;
944
957
  forward_audience_on_refresh?: boolean | undefined;
945
958
  revocation_endpoint?: string | undefined;
946
959
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
947
960
  } | undefined;
948
961
  oauth_headers?: Record<string, string> | undefined;
949
- apiKey?: {
950
- source: "user" | "admin";
951
- authorization_type: "custom" | "basic" | "bearer";
952
- key?: string | undefined;
953
- custom_header?: string | undefined;
954
- } | undefined;
955
962
  customUserVars?: Record<string, {
956
963
  description: string;
957
964
  title: string;
@@ -960,7 +967,6 @@ export declare const SSEOptionsSchema: z.ZodObject<{
960
967
  obo?: {
961
968
  scopes: string;
962
969
  } | undefined;
963
- headers?: Record<string, string> | undefined;
964
970
  proxy?: string | undefined;
965
971
  }, {
966
972
  url: string;
@@ -968,6 +974,13 @@ export declare const SSEOptionsSchema: z.ZodObject<{
968
974
  description?: string | undefined;
969
975
  title?: string | undefined;
970
976
  chatMenu?: boolean | undefined;
977
+ headers?: Record<string, string> | undefined;
978
+ apiKey?: {
979
+ source: "user" | "admin";
980
+ authorization_type: "custom" | "basic" | "bearer";
981
+ key?: string | undefined;
982
+ custom_header?: string | undefined;
983
+ } | undefined;
971
984
  timeout?: number | undefined;
972
985
  startup?: boolean | undefined;
973
986
  iconPath?: string | undefined;
@@ -976,8 +989,9 @@ export declare const SSEOptionsSchema: z.ZodObject<{
976
989
  serverInstructions?: string | boolean | undefined;
977
990
  requiresOAuth?: boolean | undefined;
978
991
  oauth?: {
979
- authorization_url?: string | undefined;
992
+ audience?: string | undefined;
980
993
  scope?: string | undefined;
994
+ authorization_url?: string | undefined;
981
995
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
982
996
  token_url?: string | undefined;
983
997
  client_id?: string | undefined;
@@ -988,18 +1002,11 @@ export declare const SSEOptionsSchema: z.ZodObject<{
988
1002
  response_types_supported?: string[] | undefined;
989
1003
  code_challenge_methods_supported?: string[] | undefined;
990
1004
  skip_code_challenge_check?: boolean | undefined;
991
- audience?: string | undefined;
992
1005
  forward_audience_on_refresh?: boolean | undefined;
993
1006
  revocation_endpoint?: string | undefined;
994
1007
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
995
1008
  } | undefined;
996
1009
  oauth_headers?: Record<string, string> | undefined;
997
- apiKey?: {
998
- source: "user" | "admin";
999
- authorization_type: "custom" | "basic" | "bearer";
1000
- key?: string | undefined;
1001
- custom_header?: string | undefined;
1002
- } | undefined;
1003
1010
  customUserVars?: Record<string, {
1004
1011
  description: string;
1005
1012
  title: string;
@@ -1008,7 +1015,6 @@ export declare const SSEOptionsSchema: z.ZodObject<{
1008
1015
  obo?: {
1009
1016
  scopes: string;
1010
1017
  } | undefined;
1011
- headers?: Record<string, string> | undefined;
1012
1018
  proxy?: string | undefined;
1013
1019
  }>;
1014
1020
  export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
@@ -1121,8 +1127,9 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1121
1127
  /** OAuth revocation endpoint authentication methods supported (optional - can be auto-discovered) */
1122
1128
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1123
1129
  }, "strip", z.ZodTypeAny, {
1124
- authorization_url?: string | undefined;
1130
+ audience?: string | undefined;
1125
1131
  scope?: string | undefined;
1132
+ authorization_url?: string | undefined;
1126
1133
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1127
1134
  token_url?: string | undefined;
1128
1135
  client_id?: string | undefined;
@@ -1133,13 +1140,13 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1133
1140
  response_types_supported?: string[] | undefined;
1134
1141
  code_challenge_methods_supported?: string[] | undefined;
1135
1142
  skip_code_challenge_check?: boolean | undefined;
1136
- audience?: string | undefined;
1137
1143
  forward_audience_on_refresh?: boolean | undefined;
1138
1144
  revocation_endpoint?: string | undefined;
1139
1145
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1140
1146
  }, {
1141
- authorization_url?: string | undefined;
1147
+ audience?: string | undefined;
1142
1148
  scope?: string | undefined;
1149
+ authorization_url?: string | undefined;
1143
1150
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1144
1151
  token_url?: string | undefined;
1145
1152
  client_id?: string | undefined;
@@ -1150,13 +1157,13 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1150
1157
  response_types_supported?: string[] | undefined;
1151
1158
  code_challenge_methods_supported?: string[] | undefined;
1152
1159
  skip_code_challenge_check?: boolean | undefined;
1153
- audience?: string | undefined;
1154
1160
  forward_audience_on_refresh?: boolean | undefined;
1155
1161
  revocation_endpoint?: string | undefined;
1156
1162
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1157
1163
  }>, {
1158
- authorization_url?: string | undefined;
1164
+ audience?: string | undefined;
1159
1165
  scope?: string | undefined;
1166
+ authorization_url?: string | undefined;
1160
1167
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1161
1168
  token_url?: string | undefined;
1162
1169
  client_id?: string | undefined;
@@ -1167,13 +1174,13 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1167
1174
  response_types_supported?: string[] | undefined;
1168
1175
  code_challenge_methods_supported?: string[] | undefined;
1169
1176
  skip_code_challenge_check?: boolean | undefined;
1170
- audience?: string | undefined;
1171
1177
  forward_audience_on_refresh?: boolean | undefined;
1172
1178
  revocation_endpoint?: string | undefined;
1173
1179
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1174
1180
  }, {
1175
- authorization_url?: string | undefined;
1181
+ audience?: string | undefined;
1176
1182
  scope?: string | undefined;
1183
+ authorization_url?: string | undefined;
1177
1184
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1178
1185
  token_url?: string | undefined;
1179
1186
  client_id?: string | undefined;
@@ -1184,7 +1191,6 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1184
1191
  response_types_supported?: string[] | undefined;
1185
1192
  code_challenge_methods_supported?: string[] | undefined;
1186
1193
  skip_code_challenge_check?: boolean | undefined;
1187
- audience?: string | undefined;
1188
1194
  forward_audience_on_refresh?: boolean | undefined;
1189
1195
  revocation_endpoint?: string | undefined;
1190
1196
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
@@ -1261,6 +1267,13 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1261
1267
  description?: string | undefined;
1262
1268
  title?: string | undefined;
1263
1269
  chatMenu?: boolean | undefined;
1270
+ headers?: Record<string, string> | undefined;
1271
+ apiKey?: {
1272
+ source: "user" | "admin";
1273
+ authorization_type: "custom" | "basic" | "bearer";
1274
+ key?: string | undefined;
1275
+ custom_header?: string | undefined;
1276
+ } | undefined;
1264
1277
  timeout?: number | undefined;
1265
1278
  startup?: boolean | undefined;
1266
1279
  iconPath?: string | undefined;
@@ -1269,8 +1282,9 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1269
1282
  serverInstructions?: string | boolean | undefined;
1270
1283
  requiresOAuth?: boolean | undefined;
1271
1284
  oauth?: {
1272
- authorization_url?: string | undefined;
1285
+ audience?: string | undefined;
1273
1286
  scope?: string | undefined;
1287
+ authorization_url?: string | undefined;
1274
1288
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1275
1289
  token_url?: string | undefined;
1276
1290
  client_id?: string | undefined;
@@ -1281,18 +1295,11 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1281
1295
  response_types_supported?: string[] | undefined;
1282
1296
  code_challenge_methods_supported?: string[] | undefined;
1283
1297
  skip_code_challenge_check?: boolean | undefined;
1284
- audience?: string | undefined;
1285
1298
  forward_audience_on_refresh?: boolean | undefined;
1286
1299
  revocation_endpoint?: string | undefined;
1287
1300
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1288
1301
  } | undefined;
1289
1302
  oauth_headers?: Record<string, string> | undefined;
1290
- apiKey?: {
1291
- source: "user" | "admin";
1292
- authorization_type: "custom" | "basic" | "bearer";
1293
- key?: string | undefined;
1294
- custom_header?: string | undefined;
1295
- } | undefined;
1296
1303
  customUserVars?: Record<string, {
1297
1304
  description: string;
1298
1305
  title: string;
@@ -1301,7 +1308,6 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1301
1308
  obo?: {
1302
1309
  scopes: string;
1303
1310
  } | undefined;
1304
- headers?: Record<string, string> | undefined;
1305
1311
  proxy?: string | undefined;
1306
1312
  }, {
1307
1313
  type: "streamable-http" | "http";
@@ -1309,6 +1315,13 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1309
1315
  description?: string | undefined;
1310
1316
  title?: string | undefined;
1311
1317
  chatMenu?: boolean | undefined;
1318
+ headers?: Record<string, string> | undefined;
1319
+ apiKey?: {
1320
+ source: "user" | "admin";
1321
+ authorization_type: "custom" | "basic" | "bearer";
1322
+ key?: string | undefined;
1323
+ custom_header?: string | undefined;
1324
+ } | undefined;
1312
1325
  timeout?: number | undefined;
1313
1326
  startup?: boolean | undefined;
1314
1327
  iconPath?: string | undefined;
@@ -1317,8 +1330,9 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1317
1330
  serverInstructions?: string | boolean | undefined;
1318
1331
  requiresOAuth?: boolean | undefined;
1319
1332
  oauth?: {
1320
- authorization_url?: string | undefined;
1333
+ audience?: string | undefined;
1321
1334
  scope?: string | undefined;
1335
+ authorization_url?: string | undefined;
1322
1336
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1323
1337
  token_url?: string | undefined;
1324
1338
  client_id?: string | undefined;
@@ -1329,18 +1343,11 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1329
1343
  response_types_supported?: string[] | undefined;
1330
1344
  code_challenge_methods_supported?: string[] | undefined;
1331
1345
  skip_code_challenge_check?: boolean | undefined;
1332
- audience?: string | undefined;
1333
1346
  forward_audience_on_refresh?: boolean | undefined;
1334
1347
  revocation_endpoint?: string | undefined;
1335
1348
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1336
1349
  } | undefined;
1337
1350
  oauth_headers?: Record<string, string> | undefined;
1338
- apiKey?: {
1339
- source: "user" | "admin";
1340
- authorization_type: "custom" | "basic" | "bearer";
1341
- key?: string | undefined;
1342
- custom_header?: string | undefined;
1343
- } | undefined;
1344
1351
  customUserVars?: Record<string, {
1345
1352
  description: string;
1346
1353
  title: string;
@@ -1349,7 +1356,6 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1349
1356
  obo?: {
1350
1357
  scopes: string;
1351
1358
  } | undefined;
1352
- headers?: Record<string, string> | undefined;
1353
1359
  proxy?: string | undefined;
1354
1360
  }>;
1355
1361
  export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
@@ -1462,8 +1468,9 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1462
1468
  /** OAuth revocation endpoint authentication methods supported (optional - can be auto-discovered) */
1463
1469
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1464
1470
  }, "strip", z.ZodTypeAny, {
1465
- authorization_url?: string | undefined;
1471
+ audience?: string | undefined;
1466
1472
  scope?: string | undefined;
1473
+ authorization_url?: string | undefined;
1467
1474
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1468
1475
  token_url?: string | undefined;
1469
1476
  client_id?: string | undefined;
@@ -1474,13 +1481,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1474
1481
  response_types_supported?: string[] | undefined;
1475
1482
  code_challenge_methods_supported?: string[] | undefined;
1476
1483
  skip_code_challenge_check?: boolean | undefined;
1477
- audience?: string | undefined;
1478
1484
  forward_audience_on_refresh?: boolean | undefined;
1479
1485
  revocation_endpoint?: string | undefined;
1480
1486
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1481
1487
  }, {
1482
- authorization_url?: string | undefined;
1488
+ audience?: string | undefined;
1483
1489
  scope?: string | undefined;
1490
+ authorization_url?: string | undefined;
1484
1491
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1485
1492
  token_url?: string | undefined;
1486
1493
  client_id?: string | undefined;
@@ -1491,13 +1498,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1491
1498
  response_types_supported?: string[] | undefined;
1492
1499
  code_challenge_methods_supported?: string[] | undefined;
1493
1500
  skip_code_challenge_check?: boolean | undefined;
1494
- audience?: string | undefined;
1495
1501
  forward_audience_on_refresh?: boolean | undefined;
1496
1502
  revocation_endpoint?: string | undefined;
1497
1503
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1498
1504
  }>, {
1499
- authorization_url?: string | undefined;
1505
+ audience?: string | undefined;
1500
1506
  scope?: string | undefined;
1507
+ authorization_url?: string | undefined;
1501
1508
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1502
1509
  token_url?: string | undefined;
1503
1510
  client_id?: string | undefined;
@@ -1508,13 +1515,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1508
1515
  response_types_supported?: string[] | undefined;
1509
1516
  code_challenge_methods_supported?: string[] | undefined;
1510
1517
  skip_code_challenge_check?: boolean | undefined;
1511
- audience?: string | undefined;
1512
1518
  forward_audience_on_refresh?: boolean | undefined;
1513
1519
  revocation_endpoint?: string | undefined;
1514
1520
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1515
1521
  }, {
1516
- authorization_url?: string | undefined;
1522
+ audience?: string | undefined;
1517
1523
  scope?: string | undefined;
1524
+ authorization_url?: string | undefined;
1518
1525
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1519
1526
  token_url?: string | undefined;
1520
1527
  client_id?: string | undefined;
@@ -1525,7 +1532,6 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1525
1532
  response_types_supported?: string[] | undefined;
1526
1533
  code_challenge_methods_supported?: string[] | undefined;
1527
1534
  skip_code_challenge_check?: boolean | undefined;
1528
- audience?: string | undefined;
1529
1535
  forward_audience_on_refresh?: boolean | undefined;
1530
1536
  revocation_endpoint?: string | undefined;
1531
1537
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
@@ -1611,8 +1617,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1611
1617
  description?: string | undefined;
1612
1618
  title?: string | undefined;
1613
1619
  chatMenu?: boolean | undefined;
1620
+ apiKey?: {
1621
+ source: "user" | "admin";
1622
+ authorization_type: "custom" | "basic" | "bearer";
1623
+ key?: string | undefined;
1624
+ custom_header?: string | undefined;
1625
+ } | undefined;
1614
1626
  timeout?: number | undefined;
1615
- env?: Record<string, string> | undefined;
1616
1627
  startup?: boolean | undefined;
1617
1628
  iconPath?: string | undefined;
1618
1629
  sseReadTimeout?: number | undefined;
@@ -1620,8 +1631,9 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1620
1631
  serverInstructions?: string | boolean | undefined;
1621
1632
  requiresOAuth?: boolean | undefined;
1622
1633
  oauth?: {
1623
- authorization_url?: string | undefined;
1634
+ audience?: string | undefined;
1624
1635
  scope?: string | undefined;
1636
+ authorization_url?: string | undefined;
1625
1637
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1626
1638
  token_url?: string | undefined;
1627
1639
  client_id?: string | undefined;
@@ -1632,23 +1644,17 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1632
1644
  response_types_supported?: string[] | undefined;
1633
1645
  code_challenge_methods_supported?: string[] | undefined;
1634
1646
  skip_code_challenge_check?: boolean | undefined;
1635
- audience?: string | undefined;
1636
1647
  forward_audience_on_refresh?: boolean | undefined;
1637
1648
  revocation_endpoint?: string | undefined;
1638
1649
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1639
1650
  } | undefined;
1640
1651
  oauth_headers?: Record<string, string> | undefined;
1641
- apiKey?: {
1642
- source: "user" | "admin";
1643
- authorization_type: "custom" | "basic" | "bearer";
1644
- key?: string | undefined;
1645
- custom_header?: string | undefined;
1646
- } | undefined;
1647
1652
  customUserVars?: Record<string, {
1648
1653
  description: string;
1649
1654
  title: string;
1650
1655
  sensitive?: boolean | undefined;
1651
1656
  }> | undefined;
1657
+ env?: Record<string, string> | undefined;
1652
1658
  cwd?: string | undefined;
1653
1659
  stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
1654
1660
  obo?: undefined;
@@ -1659,8 +1665,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1659
1665
  description?: string | undefined;
1660
1666
  title?: string | undefined;
1661
1667
  chatMenu?: boolean | undefined;
1668
+ apiKey?: {
1669
+ source: "user" | "admin";
1670
+ authorization_type: "custom" | "basic" | "bearer";
1671
+ key?: string | undefined;
1672
+ custom_header?: string | undefined;
1673
+ } | undefined;
1662
1674
  timeout?: number | undefined;
1663
- env?: Record<string, string> | undefined;
1664
1675
  startup?: boolean | undefined;
1665
1676
  iconPath?: string | undefined;
1666
1677
  sseReadTimeout?: number | undefined;
@@ -1668,8 +1679,9 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1668
1679
  serverInstructions?: string | boolean | undefined;
1669
1680
  requiresOAuth?: boolean | undefined;
1670
1681
  oauth?: {
1671
- authorization_url?: string | undefined;
1682
+ audience?: string | undefined;
1672
1683
  scope?: string | undefined;
1684
+ authorization_url?: string | undefined;
1673
1685
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1674
1686
  token_url?: string | undefined;
1675
1687
  client_id?: string | undefined;
@@ -1680,23 +1692,17 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1680
1692
  response_types_supported?: string[] | undefined;
1681
1693
  code_challenge_methods_supported?: string[] | undefined;
1682
1694
  skip_code_challenge_check?: boolean | undefined;
1683
- audience?: string | undefined;
1684
1695
  forward_audience_on_refresh?: boolean | undefined;
1685
1696
  revocation_endpoint?: string | undefined;
1686
1697
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1687
1698
  } | undefined;
1688
1699
  oauth_headers?: Record<string, string> | undefined;
1689
- apiKey?: {
1690
- source: "user" | "admin";
1691
- authorization_type: "custom" | "basic" | "bearer";
1692
- key?: string | undefined;
1693
- custom_header?: string | undefined;
1694
- } | undefined;
1695
1700
  customUserVars?: Record<string, {
1696
1701
  description: string;
1697
1702
  title: string;
1698
1703
  sensitive?: boolean | undefined;
1699
1704
  }> | undefined;
1705
+ env?: Record<string, string> | undefined;
1700
1706
  cwd?: string | undefined;
1701
1707
  stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
1702
1708
  obo?: undefined;
@@ -1810,8 +1816,9 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1810
1816
  /** OAuth revocation endpoint authentication methods supported (optional - can be auto-discovered) */
1811
1817
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1812
1818
  }, "strip", z.ZodTypeAny, {
1813
- authorization_url?: string | undefined;
1819
+ audience?: string | undefined;
1814
1820
  scope?: string | undefined;
1821
+ authorization_url?: string | undefined;
1815
1822
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1816
1823
  token_url?: string | undefined;
1817
1824
  client_id?: string | undefined;
@@ -1822,13 +1829,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1822
1829
  response_types_supported?: string[] | undefined;
1823
1830
  code_challenge_methods_supported?: string[] | undefined;
1824
1831
  skip_code_challenge_check?: boolean | undefined;
1825
- audience?: string | undefined;
1826
1832
  forward_audience_on_refresh?: boolean | undefined;
1827
1833
  revocation_endpoint?: string | undefined;
1828
1834
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1829
1835
  }, {
1830
- authorization_url?: string | undefined;
1836
+ audience?: string | undefined;
1831
1837
  scope?: string | undefined;
1838
+ authorization_url?: string | undefined;
1832
1839
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1833
1840
  token_url?: string | undefined;
1834
1841
  client_id?: string | undefined;
@@ -1839,13 +1846,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1839
1846
  response_types_supported?: string[] | undefined;
1840
1847
  code_challenge_methods_supported?: string[] | undefined;
1841
1848
  skip_code_challenge_check?: boolean | undefined;
1842
- audience?: string | undefined;
1843
1849
  forward_audience_on_refresh?: boolean | undefined;
1844
1850
  revocation_endpoint?: string | undefined;
1845
1851
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1846
1852
  }>, {
1847
- authorization_url?: string | undefined;
1853
+ audience?: string | undefined;
1848
1854
  scope?: string | undefined;
1855
+ authorization_url?: string | undefined;
1849
1856
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1850
1857
  token_url?: string | undefined;
1851
1858
  client_id?: string | undefined;
@@ -1856,13 +1863,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1856
1863
  response_types_supported?: string[] | undefined;
1857
1864
  code_challenge_methods_supported?: string[] | undefined;
1858
1865
  skip_code_challenge_check?: boolean | undefined;
1859
- audience?: string | undefined;
1860
1866
  forward_audience_on_refresh?: boolean | undefined;
1861
1867
  revocation_endpoint?: string | undefined;
1862
1868
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1863
1869
  }, {
1864
- authorization_url?: string | undefined;
1870
+ audience?: string | undefined;
1865
1871
  scope?: string | undefined;
1872
+ authorization_url?: string | undefined;
1866
1873
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1867
1874
  token_url?: string | undefined;
1868
1875
  client_id?: string | undefined;
@@ -1873,7 +1880,6 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1873
1880
  response_types_supported?: string[] | undefined;
1874
1881
  code_challenge_methods_supported?: string[] | undefined;
1875
1882
  skip_code_challenge_check?: boolean | undefined;
1876
- audience?: string | undefined;
1877
1883
  forward_audience_on_refresh?: boolean | undefined;
1878
1884
  revocation_endpoint?: string | undefined;
1879
1885
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
@@ -1933,6 +1939,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1933
1939
  description?: string | undefined;
1934
1940
  title?: string | undefined;
1935
1941
  chatMenu?: boolean | undefined;
1942
+ apiKey?: {
1943
+ source: "user" | "admin";
1944
+ authorization_type: "custom" | "basic" | "bearer";
1945
+ key?: string | undefined;
1946
+ custom_header?: string | undefined;
1947
+ } | undefined;
1936
1948
  timeout?: number | undefined;
1937
1949
  startup?: boolean | undefined;
1938
1950
  iconPath?: string | undefined;
@@ -1941,8 +1953,9 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1941
1953
  serverInstructions?: string | boolean | undefined;
1942
1954
  requiresOAuth?: boolean | undefined;
1943
1955
  oauth?: {
1944
- authorization_url?: string | undefined;
1956
+ audience?: string | undefined;
1945
1957
  scope?: string | undefined;
1958
+ authorization_url?: string | undefined;
1946
1959
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1947
1960
  token_url?: string | undefined;
1948
1961
  client_id?: string | undefined;
@@ -1953,18 +1966,11 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1953
1966
  response_types_supported?: string[] | undefined;
1954
1967
  code_challenge_methods_supported?: string[] | undefined;
1955
1968
  skip_code_challenge_check?: boolean | undefined;
1956
- audience?: string | undefined;
1957
1969
  forward_audience_on_refresh?: boolean | undefined;
1958
1970
  revocation_endpoint?: string | undefined;
1959
1971
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1960
1972
  } | undefined;
1961
1973
  oauth_headers?: Record<string, string> | undefined;
1962
- apiKey?: {
1963
- source: "user" | "admin";
1964
- authorization_type: "custom" | "basic" | "bearer";
1965
- key?: string | undefined;
1966
- custom_header?: string | undefined;
1967
- } | undefined;
1968
1974
  customUserVars?: Record<string, {
1969
1975
  description: string;
1970
1976
  title: string;
@@ -1977,6 +1983,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1977
1983
  description?: string | undefined;
1978
1984
  title?: string | undefined;
1979
1985
  chatMenu?: boolean | undefined;
1986
+ apiKey?: {
1987
+ source: "user" | "admin";
1988
+ authorization_type: "custom" | "basic" | "bearer";
1989
+ key?: string | undefined;
1990
+ custom_header?: string | undefined;
1991
+ } | undefined;
1980
1992
  timeout?: number | undefined;
1981
1993
  startup?: boolean | undefined;
1982
1994
  iconPath?: string | undefined;
@@ -1985,8 +1997,9 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1985
1997
  serverInstructions?: string | boolean | undefined;
1986
1998
  requiresOAuth?: boolean | undefined;
1987
1999
  oauth?: {
1988
- authorization_url?: string | undefined;
2000
+ audience?: string | undefined;
1989
2001
  scope?: string | undefined;
2002
+ authorization_url?: string | undefined;
1990
2003
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
1991
2004
  token_url?: string | undefined;
1992
2005
  client_id?: string | undefined;
@@ -1997,18 +2010,11 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1997
2010
  response_types_supported?: string[] | undefined;
1998
2011
  code_challenge_methods_supported?: string[] | undefined;
1999
2012
  skip_code_challenge_check?: boolean | undefined;
2000
- audience?: string | undefined;
2001
2013
  forward_audience_on_refresh?: boolean | undefined;
2002
2014
  revocation_endpoint?: string | undefined;
2003
2015
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2004
2016
  } | undefined;
2005
2017
  oauth_headers?: Record<string, string> | undefined;
2006
- apiKey?: {
2007
- source: "user" | "admin";
2008
- authorization_type: "custom" | "basic" | "bearer";
2009
- key?: string | undefined;
2010
- custom_header?: string | undefined;
2011
- } | undefined;
2012
2018
  customUserVars?: Record<string, {
2013
2019
  description: string;
2014
2020
  title: string;
@@ -2125,8 +2131,9 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2125
2131
  /** OAuth revocation endpoint authentication methods supported (optional - can be auto-discovered) */
2126
2132
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2127
2133
  }, "strip", z.ZodTypeAny, {
2128
- authorization_url?: string | undefined;
2134
+ audience?: string | undefined;
2129
2135
  scope?: string | undefined;
2136
+ authorization_url?: string | undefined;
2130
2137
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
2131
2138
  token_url?: string | undefined;
2132
2139
  client_id?: string | undefined;
@@ -2137,13 +2144,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2137
2144
  response_types_supported?: string[] | undefined;
2138
2145
  code_challenge_methods_supported?: string[] | undefined;
2139
2146
  skip_code_challenge_check?: boolean | undefined;
2140
- audience?: string | undefined;
2141
2147
  forward_audience_on_refresh?: boolean | undefined;
2142
2148
  revocation_endpoint?: string | undefined;
2143
2149
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2144
2150
  }, {
2145
- authorization_url?: string | undefined;
2151
+ audience?: string | undefined;
2146
2152
  scope?: string | undefined;
2153
+ authorization_url?: string | undefined;
2147
2154
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
2148
2155
  token_url?: string | undefined;
2149
2156
  client_id?: string | undefined;
@@ -2154,13 +2161,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2154
2161
  response_types_supported?: string[] | undefined;
2155
2162
  code_challenge_methods_supported?: string[] | undefined;
2156
2163
  skip_code_challenge_check?: boolean | undefined;
2157
- audience?: string | undefined;
2158
2164
  forward_audience_on_refresh?: boolean | undefined;
2159
2165
  revocation_endpoint?: string | undefined;
2160
2166
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2161
2167
  }>, {
2162
- authorization_url?: string | undefined;
2168
+ audience?: string | undefined;
2163
2169
  scope?: string | undefined;
2170
+ authorization_url?: string | undefined;
2164
2171
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
2165
2172
  token_url?: string | undefined;
2166
2173
  client_id?: string | undefined;
@@ -2171,13 +2178,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2171
2178
  response_types_supported?: string[] | undefined;
2172
2179
  code_challenge_methods_supported?: string[] | undefined;
2173
2180
  skip_code_challenge_check?: boolean | undefined;
2174
- audience?: string | undefined;
2175
2181
  forward_audience_on_refresh?: boolean | undefined;
2176
2182
  revocation_endpoint?: string | undefined;
2177
2183
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2178
2184
  }, {
2179
- authorization_url?: string | undefined;
2185
+ audience?: string | undefined;
2180
2186
  scope?: string | undefined;
2187
+ authorization_url?: string | undefined;
2181
2188
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
2182
2189
  token_url?: string | undefined;
2183
2190
  client_id?: string | undefined;
@@ -2188,7 +2195,6 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2188
2195
  response_types_supported?: string[] | undefined;
2189
2196
  code_challenge_methods_supported?: string[] | undefined;
2190
2197
  skip_code_challenge_check?: boolean | undefined;
2191
- audience?: string | undefined;
2192
2198
  forward_audience_on_refresh?: boolean | undefined;
2193
2199
  revocation_endpoint?: string | undefined;
2194
2200
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
@@ -2265,6 +2271,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2265
2271
  description?: string | undefined;
2266
2272
  title?: string | undefined;
2267
2273
  chatMenu?: boolean | undefined;
2274
+ headers?: Record<string, string> | undefined;
2275
+ apiKey?: {
2276
+ source: "user" | "admin";
2277
+ authorization_type: "custom" | "basic" | "bearer";
2278
+ key?: string | undefined;
2279
+ custom_header?: string | undefined;
2280
+ } | undefined;
2268
2281
  timeout?: number | undefined;
2269
2282
  startup?: boolean | undefined;
2270
2283
  iconPath?: string | undefined;
@@ -2273,8 +2286,9 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2273
2286
  serverInstructions?: string | boolean | undefined;
2274
2287
  requiresOAuth?: boolean | undefined;
2275
2288
  oauth?: {
2276
- authorization_url?: string | undefined;
2289
+ audience?: string | undefined;
2277
2290
  scope?: string | undefined;
2291
+ authorization_url?: string | undefined;
2278
2292
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
2279
2293
  token_url?: string | undefined;
2280
2294
  client_id?: string | undefined;
@@ -2285,18 +2299,11 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2285
2299
  response_types_supported?: string[] | undefined;
2286
2300
  code_challenge_methods_supported?: string[] | undefined;
2287
2301
  skip_code_challenge_check?: boolean | undefined;
2288
- audience?: string | undefined;
2289
2302
  forward_audience_on_refresh?: boolean | undefined;
2290
2303
  revocation_endpoint?: string | undefined;
2291
2304
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2292
2305
  } | undefined;
2293
2306
  oauth_headers?: Record<string, string> | undefined;
2294
- apiKey?: {
2295
- source: "user" | "admin";
2296
- authorization_type: "custom" | "basic" | "bearer";
2297
- key?: string | undefined;
2298
- custom_header?: string | undefined;
2299
- } | undefined;
2300
2307
  customUserVars?: Record<string, {
2301
2308
  description: string;
2302
2309
  title: string;
@@ -2305,7 +2312,6 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2305
2312
  obo?: {
2306
2313
  scopes: string;
2307
2314
  } | undefined;
2308
- headers?: Record<string, string> | undefined;
2309
2315
  proxy?: string | undefined;
2310
2316
  }, {
2311
2317
  url: string;
@@ -2313,6 +2319,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2313
2319
  description?: string | undefined;
2314
2320
  title?: string | undefined;
2315
2321
  chatMenu?: boolean | undefined;
2322
+ headers?: Record<string, string> | undefined;
2323
+ apiKey?: {
2324
+ source: "user" | "admin";
2325
+ authorization_type: "custom" | "basic" | "bearer";
2326
+ key?: string | undefined;
2327
+ custom_header?: string | undefined;
2328
+ } | undefined;
2316
2329
  timeout?: number | undefined;
2317
2330
  startup?: boolean | undefined;
2318
2331
  iconPath?: string | undefined;
@@ -2321,8 +2334,9 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2321
2334
  serverInstructions?: string | boolean | undefined;
2322
2335
  requiresOAuth?: boolean | undefined;
2323
2336
  oauth?: {
2324
- authorization_url?: string | undefined;
2337
+ audience?: string | undefined;
2325
2338
  scope?: string | undefined;
2339
+ authorization_url?: string | undefined;
2326
2340
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
2327
2341
  token_url?: string | undefined;
2328
2342
  client_id?: string | undefined;
@@ -2333,18 +2347,11 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2333
2347
  response_types_supported?: string[] | undefined;
2334
2348
  code_challenge_methods_supported?: string[] | undefined;
2335
2349
  skip_code_challenge_check?: boolean | undefined;
2336
- audience?: string | undefined;
2337
2350
  forward_audience_on_refresh?: boolean | undefined;
2338
2351
  revocation_endpoint?: string | undefined;
2339
2352
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2340
2353
  } | undefined;
2341
2354
  oauth_headers?: Record<string, string> | undefined;
2342
- apiKey?: {
2343
- source: "user" | "admin";
2344
- authorization_type: "custom" | "basic" | "bearer";
2345
- key?: string | undefined;
2346
- custom_header?: string | undefined;
2347
- } | undefined;
2348
2355
  customUserVars?: Record<string, {
2349
2356
  description: string;
2350
2357
  title: string;
@@ -2353,7 +2360,6 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2353
2360
  obo?: {
2354
2361
  scopes: string;
2355
2362
  } | undefined;
2356
- headers?: Record<string, string> | undefined;
2357
2363
  proxy?: string | undefined;
2358
2364
  }>, z.ZodObject<{
2359
2365
  /** Display name for the MCP server */
@@ -2465,8 +2471,9 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2465
2471
  /** OAuth revocation endpoint authentication methods supported (optional - can be auto-discovered) */
2466
2472
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2467
2473
  }, "strip", z.ZodTypeAny, {
2468
- authorization_url?: string | undefined;
2474
+ audience?: string | undefined;
2469
2475
  scope?: string | undefined;
2476
+ authorization_url?: string | undefined;
2470
2477
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
2471
2478
  token_url?: string | undefined;
2472
2479
  client_id?: string | undefined;
@@ -2477,13 +2484,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2477
2484
  response_types_supported?: string[] | undefined;
2478
2485
  code_challenge_methods_supported?: string[] | undefined;
2479
2486
  skip_code_challenge_check?: boolean | undefined;
2480
- audience?: string | undefined;
2481
2487
  forward_audience_on_refresh?: boolean | undefined;
2482
2488
  revocation_endpoint?: string | undefined;
2483
2489
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2484
2490
  }, {
2485
- authorization_url?: string | undefined;
2491
+ audience?: string | undefined;
2486
2492
  scope?: string | undefined;
2493
+ authorization_url?: string | undefined;
2487
2494
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
2488
2495
  token_url?: string | undefined;
2489
2496
  client_id?: string | undefined;
@@ -2494,13 +2501,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2494
2501
  response_types_supported?: string[] | undefined;
2495
2502
  code_challenge_methods_supported?: string[] | undefined;
2496
2503
  skip_code_challenge_check?: boolean | undefined;
2497
- audience?: string | undefined;
2498
2504
  forward_audience_on_refresh?: boolean | undefined;
2499
2505
  revocation_endpoint?: string | undefined;
2500
2506
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2501
2507
  }>, {
2502
- authorization_url?: string | undefined;
2508
+ audience?: string | undefined;
2503
2509
  scope?: string | undefined;
2510
+ authorization_url?: string | undefined;
2504
2511
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
2505
2512
  token_url?: string | undefined;
2506
2513
  client_id?: string | undefined;
@@ -2511,13 +2518,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2511
2518
  response_types_supported?: string[] | undefined;
2512
2519
  code_challenge_methods_supported?: string[] | undefined;
2513
2520
  skip_code_challenge_check?: boolean | undefined;
2514
- audience?: string | undefined;
2515
2521
  forward_audience_on_refresh?: boolean | undefined;
2516
2522
  revocation_endpoint?: string | undefined;
2517
2523
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2518
2524
  }, {
2519
- authorization_url?: string | undefined;
2525
+ audience?: string | undefined;
2520
2526
  scope?: string | undefined;
2527
+ authorization_url?: string | undefined;
2521
2528
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
2522
2529
  token_url?: string | undefined;
2523
2530
  client_id?: string | undefined;
@@ -2528,7 +2535,6 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2528
2535
  response_types_supported?: string[] | undefined;
2529
2536
  code_challenge_methods_supported?: string[] | undefined;
2530
2537
  skip_code_challenge_check?: boolean | undefined;
2531
- audience?: string | undefined;
2532
2538
  forward_audience_on_refresh?: boolean | undefined;
2533
2539
  revocation_endpoint?: string | undefined;
2534
2540
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
@@ -2605,6 +2611,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2605
2611
  description?: string | undefined;
2606
2612
  title?: string | undefined;
2607
2613
  chatMenu?: boolean | undefined;
2614
+ headers?: Record<string, string> | undefined;
2615
+ apiKey?: {
2616
+ source: "user" | "admin";
2617
+ authorization_type: "custom" | "basic" | "bearer";
2618
+ key?: string | undefined;
2619
+ custom_header?: string | undefined;
2620
+ } | undefined;
2608
2621
  timeout?: number | undefined;
2609
2622
  startup?: boolean | undefined;
2610
2623
  iconPath?: string | undefined;
@@ -2613,8 +2626,9 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2613
2626
  serverInstructions?: string | boolean | undefined;
2614
2627
  requiresOAuth?: boolean | undefined;
2615
2628
  oauth?: {
2616
- authorization_url?: string | undefined;
2629
+ audience?: string | undefined;
2617
2630
  scope?: string | undefined;
2631
+ authorization_url?: string | undefined;
2618
2632
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
2619
2633
  token_url?: string | undefined;
2620
2634
  client_id?: string | undefined;
@@ -2625,18 +2639,11 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2625
2639
  response_types_supported?: string[] | undefined;
2626
2640
  code_challenge_methods_supported?: string[] | undefined;
2627
2641
  skip_code_challenge_check?: boolean | undefined;
2628
- audience?: string | undefined;
2629
2642
  forward_audience_on_refresh?: boolean | undefined;
2630
2643
  revocation_endpoint?: string | undefined;
2631
2644
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2632
2645
  } | undefined;
2633
2646
  oauth_headers?: Record<string, string> | undefined;
2634
- apiKey?: {
2635
- source: "user" | "admin";
2636
- authorization_type: "custom" | "basic" | "bearer";
2637
- key?: string | undefined;
2638
- custom_header?: string | undefined;
2639
- } | undefined;
2640
2647
  customUserVars?: Record<string, {
2641
2648
  description: string;
2642
2649
  title: string;
@@ -2645,7 +2652,6 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2645
2652
  obo?: {
2646
2653
  scopes: string;
2647
2654
  } | undefined;
2648
- headers?: Record<string, string> | undefined;
2649
2655
  proxy?: string | undefined;
2650
2656
  }, {
2651
2657
  type: "streamable-http" | "http";
@@ -2653,6 +2659,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2653
2659
  description?: string | undefined;
2654
2660
  title?: string | undefined;
2655
2661
  chatMenu?: boolean | undefined;
2662
+ headers?: Record<string, string> | undefined;
2663
+ apiKey?: {
2664
+ source: "user" | "admin";
2665
+ authorization_type: "custom" | "basic" | "bearer";
2666
+ key?: string | undefined;
2667
+ custom_header?: string | undefined;
2668
+ } | undefined;
2656
2669
  timeout?: number | undefined;
2657
2670
  startup?: boolean | undefined;
2658
2671
  iconPath?: string | undefined;
@@ -2661,8 +2674,9 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2661
2674
  serverInstructions?: string | boolean | undefined;
2662
2675
  requiresOAuth?: boolean | undefined;
2663
2676
  oauth?: {
2664
- authorization_url?: string | undefined;
2677
+ audience?: string | undefined;
2665
2678
  scope?: string | undefined;
2679
+ authorization_url?: string | undefined;
2666
2680
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
2667
2681
  token_url?: string | undefined;
2668
2682
  client_id?: string | undefined;
@@ -2673,18 +2687,11 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2673
2687
  response_types_supported?: string[] | undefined;
2674
2688
  code_challenge_methods_supported?: string[] | undefined;
2675
2689
  skip_code_challenge_check?: boolean | undefined;
2676
- audience?: string | undefined;
2677
2690
  forward_audience_on_refresh?: boolean | undefined;
2678
2691
  revocation_endpoint?: string | undefined;
2679
2692
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2680
2693
  } | undefined;
2681
2694
  oauth_headers?: Record<string, string> | undefined;
2682
- apiKey?: {
2683
- source: "user" | "admin";
2684
- authorization_type: "custom" | "basic" | "bearer";
2685
- key?: string | undefined;
2686
- custom_header?: string | undefined;
2687
- } | undefined;
2688
2695
  customUserVars?: Record<string, {
2689
2696
  description: string;
2690
2697
  title: string;
@@ -2693,7 +2700,6 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2693
2700
  obo?: {
2694
2701
  scopes: string;
2695
2702
  } | undefined;
2696
- headers?: Record<string, string> | undefined;
2697
2703
  proxy?: string | undefined;
2698
2704
  }>]>;
2699
2705
  export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -2806,8 +2812,9 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2806
2812
  /** OAuth revocation endpoint authentication methods supported (optional - can be auto-discovered) */
2807
2813
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2808
2814
  }, "strip", z.ZodTypeAny, {
2809
- authorization_url?: string | undefined;
2815
+ audience?: string | undefined;
2810
2816
  scope?: string | undefined;
2817
+ authorization_url?: string | undefined;
2811
2818
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
2812
2819
  token_url?: string | undefined;
2813
2820
  client_id?: string | undefined;
@@ -2818,13 +2825,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2818
2825
  response_types_supported?: string[] | undefined;
2819
2826
  code_challenge_methods_supported?: string[] | undefined;
2820
2827
  skip_code_challenge_check?: boolean | undefined;
2821
- audience?: string | undefined;
2822
2828
  forward_audience_on_refresh?: boolean | undefined;
2823
2829
  revocation_endpoint?: string | undefined;
2824
2830
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2825
2831
  }, {
2826
- authorization_url?: string | undefined;
2832
+ audience?: string | undefined;
2827
2833
  scope?: string | undefined;
2834
+ authorization_url?: string | undefined;
2828
2835
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
2829
2836
  token_url?: string | undefined;
2830
2837
  client_id?: string | undefined;
@@ -2835,13 +2842,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2835
2842
  response_types_supported?: string[] | undefined;
2836
2843
  code_challenge_methods_supported?: string[] | undefined;
2837
2844
  skip_code_challenge_check?: boolean | undefined;
2838
- audience?: string | undefined;
2839
2845
  forward_audience_on_refresh?: boolean | undefined;
2840
2846
  revocation_endpoint?: string | undefined;
2841
2847
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2842
2848
  }>, {
2843
- authorization_url?: string | undefined;
2849
+ audience?: string | undefined;
2844
2850
  scope?: string | undefined;
2851
+ authorization_url?: string | undefined;
2845
2852
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
2846
2853
  token_url?: string | undefined;
2847
2854
  client_id?: string | undefined;
@@ -2852,13 +2859,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2852
2859
  response_types_supported?: string[] | undefined;
2853
2860
  code_challenge_methods_supported?: string[] | undefined;
2854
2861
  skip_code_challenge_check?: boolean | undefined;
2855
- audience?: string | undefined;
2856
2862
  forward_audience_on_refresh?: boolean | undefined;
2857
2863
  revocation_endpoint?: string | undefined;
2858
2864
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2859
2865
  }, {
2860
- authorization_url?: string | undefined;
2866
+ audience?: string | undefined;
2861
2867
  scope?: string | undefined;
2868
+ authorization_url?: string | undefined;
2862
2869
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
2863
2870
  token_url?: string | undefined;
2864
2871
  client_id?: string | undefined;
@@ -2869,7 +2876,6 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2869
2876
  response_types_supported?: string[] | undefined;
2870
2877
  code_challenge_methods_supported?: string[] | undefined;
2871
2878
  skip_code_challenge_check?: boolean | undefined;
2872
- audience?: string | undefined;
2873
2879
  forward_audience_on_refresh?: boolean | undefined;
2874
2880
  revocation_endpoint?: string | undefined;
2875
2881
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
@@ -2955,8 +2961,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2955
2961
  description?: string | undefined;
2956
2962
  title?: string | undefined;
2957
2963
  chatMenu?: boolean | undefined;
2964
+ apiKey?: {
2965
+ source: "user" | "admin";
2966
+ authorization_type: "custom" | "basic" | "bearer";
2967
+ key?: string | undefined;
2968
+ custom_header?: string | undefined;
2969
+ } | undefined;
2958
2970
  timeout?: number | undefined;
2959
- env?: Record<string, string> | undefined;
2960
2971
  startup?: boolean | undefined;
2961
2972
  iconPath?: string | undefined;
2962
2973
  sseReadTimeout?: number | undefined;
@@ -2964,8 +2975,9 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2964
2975
  serverInstructions?: string | boolean | undefined;
2965
2976
  requiresOAuth?: boolean | undefined;
2966
2977
  oauth?: {
2967
- authorization_url?: string | undefined;
2978
+ audience?: string | undefined;
2968
2979
  scope?: string | undefined;
2980
+ authorization_url?: string | undefined;
2969
2981
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
2970
2982
  token_url?: string | undefined;
2971
2983
  client_id?: string | undefined;
@@ -2976,23 +2988,17 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2976
2988
  response_types_supported?: string[] | undefined;
2977
2989
  code_challenge_methods_supported?: string[] | undefined;
2978
2990
  skip_code_challenge_check?: boolean | undefined;
2979
- audience?: string | undefined;
2980
2991
  forward_audience_on_refresh?: boolean | undefined;
2981
2992
  revocation_endpoint?: string | undefined;
2982
2993
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2983
2994
  } | undefined;
2984
2995
  oauth_headers?: Record<string, string> | undefined;
2985
- apiKey?: {
2986
- source: "user" | "admin";
2987
- authorization_type: "custom" | "basic" | "bearer";
2988
- key?: string | undefined;
2989
- custom_header?: string | undefined;
2990
- } | undefined;
2991
2996
  customUserVars?: Record<string, {
2992
2997
  description: string;
2993
2998
  title: string;
2994
2999
  sensitive?: boolean | undefined;
2995
3000
  }> | undefined;
3001
+ env?: Record<string, string> | undefined;
2996
3002
  cwd?: string | undefined;
2997
3003
  stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
2998
3004
  obo?: undefined;
@@ -3003,8 +3009,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3003
3009
  description?: string | undefined;
3004
3010
  title?: string | undefined;
3005
3011
  chatMenu?: boolean | undefined;
3012
+ apiKey?: {
3013
+ source: "user" | "admin";
3014
+ authorization_type: "custom" | "basic" | "bearer";
3015
+ key?: string | undefined;
3016
+ custom_header?: string | undefined;
3017
+ } | undefined;
3006
3018
  timeout?: number | undefined;
3007
- env?: Record<string, string> | undefined;
3008
3019
  startup?: boolean | undefined;
3009
3020
  iconPath?: string | undefined;
3010
3021
  sseReadTimeout?: number | undefined;
@@ -3012,8 +3023,9 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3012
3023
  serverInstructions?: string | boolean | undefined;
3013
3024
  requiresOAuth?: boolean | undefined;
3014
3025
  oauth?: {
3015
- authorization_url?: string | undefined;
3026
+ audience?: string | undefined;
3016
3027
  scope?: string | undefined;
3028
+ authorization_url?: string | undefined;
3017
3029
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3018
3030
  token_url?: string | undefined;
3019
3031
  client_id?: string | undefined;
@@ -3024,23 +3036,17 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3024
3036
  response_types_supported?: string[] | undefined;
3025
3037
  code_challenge_methods_supported?: string[] | undefined;
3026
3038
  skip_code_challenge_check?: boolean | undefined;
3027
- audience?: string | undefined;
3028
3039
  forward_audience_on_refresh?: boolean | undefined;
3029
3040
  revocation_endpoint?: string | undefined;
3030
3041
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3031
3042
  } | undefined;
3032
3043
  oauth_headers?: Record<string, string> | undefined;
3033
- apiKey?: {
3034
- source: "user" | "admin";
3035
- authorization_type: "custom" | "basic" | "bearer";
3036
- key?: string | undefined;
3037
- custom_header?: string | undefined;
3038
- } | undefined;
3039
3044
  customUserVars?: Record<string, {
3040
3045
  description: string;
3041
3046
  title: string;
3042
3047
  sensitive?: boolean | undefined;
3043
3048
  }> | undefined;
3049
+ env?: Record<string, string> | undefined;
3044
3050
  cwd?: string | undefined;
3045
3051
  stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
3046
3052
  obo?: undefined;
@@ -3154,8 +3160,9 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3154
3160
  /** OAuth revocation endpoint authentication methods supported (optional - can be auto-discovered) */
3155
3161
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3156
3162
  }, "strip", z.ZodTypeAny, {
3157
- authorization_url?: string | undefined;
3163
+ audience?: string | undefined;
3158
3164
  scope?: string | undefined;
3165
+ authorization_url?: string | undefined;
3159
3166
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3160
3167
  token_url?: string | undefined;
3161
3168
  client_id?: string | undefined;
@@ -3166,13 +3173,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3166
3173
  response_types_supported?: string[] | undefined;
3167
3174
  code_challenge_methods_supported?: string[] | undefined;
3168
3175
  skip_code_challenge_check?: boolean | undefined;
3169
- audience?: string | undefined;
3170
3176
  forward_audience_on_refresh?: boolean | undefined;
3171
3177
  revocation_endpoint?: string | undefined;
3172
3178
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3173
3179
  }, {
3174
- authorization_url?: string | undefined;
3180
+ audience?: string | undefined;
3175
3181
  scope?: string | undefined;
3182
+ authorization_url?: string | undefined;
3176
3183
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3177
3184
  token_url?: string | undefined;
3178
3185
  client_id?: string | undefined;
@@ -3183,13 +3190,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3183
3190
  response_types_supported?: string[] | undefined;
3184
3191
  code_challenge_methods_supported?: string[] | undefined;
3185
3192
  skip_code_challenge_check?: boolean | undefined;
3186
- audience?: string | undefined;
3187
3193
  forward_audience_on_refresh?: boolean | undefined;
3188
3194
  revocation_endpoint?: string | undefined;
3189
3195
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3190
3196
  }>, {
3191
- authorization_url?: string | undefined;
3197
+ audience?: string | undefined;
3192
3198
  scope?: string | undefined;
3199
+ authorization_url?: string | undefined;
3193
3200
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3194
3201
  token_url?: string | undefined;
3195
3202
  client_id?: string | undefined;
@@ -3200,13 +3207,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3200
3207
  response_types_supported?: string[] | undefined;
3201
3208
  code_challenge_methods_supported?: string[] | undefined;
3202
3209
  skip_code_challenge_check?: boolean | undefined;
3203
- audience?: string | undefined;
3204
3210
  forward_audience_on_refresh?: boolean | undefined;
3205
3211
  revocation_endpoint?: string | undefined;
3206
3212
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3207
3213
  }, {
3208
- authorization_url?: string | undefined;
3214
+ audience?: string | undefined;
3209
3215
  scope?: string | undefined;
3216
+ authorization_url?: string | undefined;
3210
3217
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3211
3218
  token_url?: string | undefined;
3212
3219
  client_id?: string | undefined;
@@ -3217,7 +3224,6 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3217
3224
  response_types_supported?: string[] | undefined;
3218
3225
  code_challenge_methods_supported?: string[] | undefined;
3219
3226
  skip_code_challenge_check?: boolean | undefined;
3220
- audience?: string | undefined;
3221
3227
  forward_audience_on_refresh?: boolean | undefined;
3222
3228
  revocation_endpoint?: string | undefined;
3223
3229
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
@@ -3277,6 +3283,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3277
3283
  description?: string | undefined;
3278
3284
  title?: string | undefined;
3279
3285
  chatMenu?: boolean | undefined;
3286
+ apiKey?: {
3287
+ source: "user" | "admin";
3288
+ authorization_type: "custom" | "basic" | "bearer";
3289
+ key?: string | undefined;
3290
+ custom_header?: string | undefined;
3291
+ } | undefined;
3280
3292
  timeout?: number | undefined;
3281
3293
  startup?: boolean | undefined;
3282
3294
  iconPath?: string | undefined;
@@ -3285,8 +3297,9 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3285
3297
  serverInstructions?: string | boolean | undefined;
3286
3298
  requiresOAuth?: boolean | undefined;
3287
3299
  oauth?: {
3288
- authorization_url?: string | undefined;
3300
+ audience?: string | undefined;
3289
3301
  scope?: string | undefined;
3302
+ authorization_url?: string | undefined;
3290
3303
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3291
3304
  token_url?: string | undefined;
3292
3305
  client_id?: string | undefined;
@@ -3297,18 +3310,11 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3297
3310
  response_types_supported?: string[] | undefined;
3298
3311
  code_challenge_methods_supported?: string[] | undefined;
3299
3312
  skip_code_challenge_check?: boolean | undefined;
3300
- audience?: string | undefined;
3301
3313
  forward_audience_on_refresh?: boolean | undefined;
3302
3314
  revocation_endpoint?: string | undefined;
3303
3315
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3304
3316
  } | undefined;
3305
3317
  oauth_headers?: Record<string, string> | undefined;
3306
- apiKey?: {
3307
- source: "user" | "admin";
3308
- authorization_type: "custom" | "basic" | "bearer";
3309
- key?: string | undefined;
3310
- custom_header?: string | undefined;
3311
- } | undefined;
3312
3318
  customUserVars?: Record<string, {
3313
3319
  description: string;
3314
3320
  title: string;
@@ -3321,6 +3327,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3321
3327
  description?: string | undefined;
3322
3328
  title?: string | undefined;
3323
3329
  chatMenu?: boolean | undefined;
3330
+ apiKey?: {
3331
+ source: "user" | "admin";
3332
+ authorization_type: "custom" | "basic" | "bearer";
3333
+ key?: string | undefined;
3334
+ custom_header?: string | undefined;
3335
+ } | undefined;
3324
3336
  timeout?: number | undefined;
3325
3337
  startup?: boolean | undefined;
3326
3338
  iconPath?: string | undefined;
@@ -3329,8 +3341,9 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3329
3341
  serverInstructions?: string | boolean | undefined;
3330
3342
  requiresOAuth?: boolean | undefined;
3331
3343
  oauth?: {
3332
- authorization_url?: string | undefined;
3344
+ audience?: string | undefined;
3333
3345
  scope?: string | undefined;
3346
+ authorization_url?: string | undefined;
3334
3347
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3335
3348
  token_url?: string | undefined;
3336
3349
  client_id?: string | undefined;
@@ -3341,18 +3354,11 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3341
3354
  response_types_supported?: string[] | undefined;
3342
3355
  code_challenge_methods_supported?: string[] | undefined;
3343
3356
  skip_code_challenge_check?: boolean | undefined;
3344
- audience?: string | undefined;
3345
3357
  forward_audience_on_refresh?: boolean | undefined;
3346
3358
  revocation_endpoint?: string | undefined;
3347
3359
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3348
3360
  } | undefined;
3349
3361
  oauth_headers?: Record<string, string> | undefined;
3350
- apiKey?: {
3351
- source: "user" | "admin";
3352
- authorization_type: "custom" | "basic" | "bearer";
3353
- key?: string | undefined;
3354
- custom_header?: string | undefined;
3355
- } | undefined;
3356
3362
  customUserVars?: Record<string, {
3357
3363
  description: string;
3358
3364
  title: string;
@@ -3469,8 +3475,9 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3469
3475
  /** OAuth revocation endpoint authentication methods supported (optional - can be auto-discovered) */
3470
3476
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3471
3477
  }, "strip", z.ZodTypeAny, {
3472
- authorization_url?: string | undefined;
3478
+ audience?: string | undefined;
3473
3479
  scope?: string | undefined;
3480
+ authorization_url?: string | undefined;
3474
3481
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3475
3482
  token_url?: string | undefined;
3476
3483
  client_id?: string | undefined;
@@ -3481,13 +3488,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3481
3488
  response_types_supported?: string[] | undefined;
3482
3489
  code_challenge_methods_supported?: string[] | undefined;
3483
3490
  skip_code_challenge_check?: boolean | undefined;
3484
- audience?: string | undefined;
3485
3491
  forward_audience_on_refresh?: boolean | undefined;
3486
3492
  revocation_endpoint?: string | undefined;
3487
3493
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3488
3494
  }, {
3489
- authorization_url?: string | undefined;
3495
+ audience?: string | undefined;
3490
3496
  scope?: string | undefined;
3497
+ authorization_url?: string | undefined;
3491
3498
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3492
3499
  token_url?: string | undefined;
3493
3500
  client_id?: string | undefined;
@@ -3498,13 +3505,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3498
3505
  response_types_supported?: string[] | undefined;
3499
3506
  code_challenge_methods_supported?: string[] | undefined;
3500
3507
  skip_code_challenge_check?: boolean | undefined;
3501
- audience?: string | undefined;
3502
3508
  forward_audience_on_refresh?: boolean | undefined;
3503
3509
  revocation_endpoint?: string | undefined;
3504
3510
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3505
3511
  }>, {
3506
- authorization_url?: string | undefined;
3512
+ audience?: string | undefined;
3507
3513
  scope?: string | undefined;
3514
+ authorization_url?: string | undefined;
3508
3515
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3509
3516
  token_url?: string | undefined;
3510
3517
  client_id?: string | undefined;
@@ -3515,13 +3522,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3515
3522
  response_types_supported?: string[] | undefined;
3516
3523
  code_challenge_methods_supported?: string[] | undefined;
3517
3524
  skip_code_challenge_check?: boolean | undefined;
3518
- audience?: string | undefined;
3519
3525
  forward_audience_on_refresh?: boolean | undefined;
3520
3526
  revocation_endpoint?: string | undefined;
3521
3527
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3522
3528
  }, {
3523
- authorization_url?: string | undefined;
3529
+ audience?: string | undefined;
3524
3530
  scope?: string | undefined;
3531
+ authorization_url?: string | undefined;
3525
3532
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3526
3533
  token_url?: string | undefined;
3527
3534
  client_id?: string | undefined;
@@ -3532,7 +3539,6 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3532
3539
  response_types_supported?: string[] | undefined;
3533
3540
  code_challenge_methods_supported?: string[] | undefined;
3534
3541
  skip_code_challenge_check?: boolean | undefined;
3535
- audience?: string | undefined;
3536
3542
  forward_audience_on_refresh?: boolean | undefined;
3537
3543
  revocation_endpoint?: string | undefined;
3538
3544
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
@@ -3609,6 +3615,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3609
3615
  description?: string | undefined;
3610
3616
  title?: string | undefined;
3611
3617
  chatMenu?: boolean | undefined;
3618
+ headers?: Record<string, string> | undefined;
3619
+ apiKey?: {
3620
+ source: "user" | "admin";
3621
+ authorization_type: "custom" | "basic" | "bearer";
3622
+ key?: string | undefined;
3623
+ custom_header?: string | undefined;
3624
+ } | undefined;
3612
3625
  timeout?: number | undefined;
3613
3626
  startup?: boolean | undefined;
3614
3627
  iconPath?: string | undefined;
@@ -3617,8 +3630,9 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3617
3630
  serverInstructions?: string | boolean | undefined;
3618
3631
  requiresOAuth?: boolean | undefined;
3619
3632
  oauth?: {
3620
- authorization_url?: string | undefined;
3633
+ audience?: string | undefined;
3621
3634
  scope?: string | undefined;
3635
+ authorization_url?: string | undefined;
3622
3636
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3623
3637
  token_url?: string | undefined;
3624
3638
  client_id?: string | undefined;
@@ -3629,18 +3643,11 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3629
3643
  response_types_supported?: string[] | undefined;
3630
3644
  code_challenge_methods_supported?: string[] | undefined;
3631
3645
  skip_code_challenge_check?: boolean | undefined;
3632
- audience?: string | undefined;
3633
3646
  forward_audience_on_refresh?: boolean | undefined;
3634
3647
  revocation_endpoint?: string | undefined;
3635
3648
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3636
3649
  } | undefined;
3637
3650
  oauth_headers?: Record<string, string> | undefined;
3638
- apiKey?: {
3639
- source: "user" | "admin";
3640
- authorization_type: "custom" | "basic" | "bearer";
3641
- key?: string | undefined;
3642
- custom_header?: string | undefined;
3643
- } | undefined;
3644
3651
  customUserVars?: Record<string, {
3645
3652
  description: string;
3646
3653
  title: string;
@@ -3649,7 +3656,6 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3649
3656
  obo?: {
3650
3657
  scopes: string;
3651
3658
  } | undefined;
3652
- headers?: Record<string, string> | undefined;
3653
3659
  proxy?: string | undefined;
3654
3660
  }, {
3655
3661
  url: string;
@@ -3657,6 +3663,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3657
3663
  description?: string | undefined;
3658
3664
  title?: string | undefined;
3659
3665
  chatMenu?: boolean | undefined;
3666
+ headers?: Record<string, string> | undefined;
3667
+ apiKey?: {
3668
+ source: "user" | "admin";
3669
+ authorization_type: "custom" | "basic" | "bearer";
3670
+ key?: string | undefined;
3671
+ custom_header?: string | undefined;
3672
+ } | undefined;
3660
3673
  timeout?: number | undefined;
3661
3674
  startup?: boolean | undefined;
3662
3675
  iconPath?: string | undefined;
@@ -3665,8 +3678,9 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3665
3678
  serverInstructions?: string | boolean | undefined;
3666
3679
  requiresOAuth?: boolean | undefined;
3667
3680
  oauth?: {
3668
- authorization_url?: string | undefined;
3681
+ audience?: string | undefined;
3669
3682
  scope?: string | undefined;
3683
+ authorization_url?: string | undefined;
3670
3684
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3671
3685
  token_url?: string | undefined;
3672
3686
  client_id?: string | undefined;
@@ -3677,18 +3691,11 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3677
3691
  response_types_supported?: string[] | undefined;
3678
3692
  code_challenge_methods_supported?: string[] | undefined;
3679
3693
  skip_code_challenge_check?: boolean | undefined;
3680
- audience?: string | undefined;
3681
3694
  forward_audience_on_refresh?: boolean | undefined;
3682
3695
  revocation_endpoint?: string | undefined;
3683
3696
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3684
3697
  } | undefined;
3685
3698
  oauth_headers?: Record<string, string> | undefined;
3686
- apiKey?: {
3687
- source: "user" | "admin";
3688
- authorization_type: "custom" | "basic" | "bearer";
3689
- key?: string | undefined;
3690
- custom_header?: string | undefined;
3691
- } | undefined;
3692
3699
  customUserVars?: Record<string, {
3693
3700
  description: string;
3694
3701
  title: string;
@@ -3697,7 +3704,6 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3697
3704
  obo?: {
3698
3705
  scopes: string;
3699
3706
  } | undefined;
3700
- headers?: Record<string, string> | undefined;
3701
3707
  proxy?: string | undefined;
3702
3708
  }>, z.ZodObject<{
3703
3709
  /** Display name for the MCP server */
@@ -3809,8 +3815,9 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3809
3815
  /** OAuth revocation endpoint authentication methods supported (optional - can be auto-discovered) */
3810
3816
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3811
3817
  }, "strip", z.ZodTypeAny, {
3812
- authorization_url?: string | undefined;
3818
+ audience?: string | undefined;
3813
3819
  scope?: string | undefined;
3820
+ authorization_url?: string | undefined;
3814
3821
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3815
3822
  token_url?: string | undefined;
3816
3823
  client_id?: string | undefined;
@@ -3821,13 +3828,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3821
3828
  response_types_supported?: string[] | undefined;
3822
3829
  code_challenge_methods_supported?: string[] | undefined;
3823
3830
  skip_code_challenge_check?: boolean | undefined;
3824
- audience?: string | undefined;
3825
3831
  forward_audience_on_refresh?: boolean | undefined;
3826
3832
  revocation_endpoint?: string | undefined;
3827
3833
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3828
3834
  }, {
3829
- authorization_url?: string | undefined;
3835
+ audience?: string | undefined;
3830
3836
  scope?: string | undefined;
3837
+ authorization_url?: string | undefined;
3831
3838
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3832
3839
  token_url?: string | undefined;
3833
3840
  client_id?: string | undefined;
@@ -3838,13 +3845,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3838
3845
  response_types_supported?: string[] | undefined;
3839
3846
  code_challenge_methods_supported?: string[] | undefined;
3840
3847
  skip_code_challenge_check?: boolean | undefined;
3841
- audience?: string | undefined;
3842
3848
  forward_audience_on_refresh?: boolean | undefined;
3843
3849
  revocation_endpoint?: string | undefined;
3844
3850
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3845
3851
  }>, {
3846
- authorization_url?: string | undefined;
3852
+ audience?: string | undefined;
3847
3853
  scope?: string | undefined;
3854
+ authorization_url?: string | undefined;
3848
3855
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3849
3856
  token_url?: string | undefined;
3850
3857
  client_id?: string | undefined;
@@ -3855,13 +3862,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3855
3862
  response_types_supported?: string[] | undefined;
3856
3863
  code_challenge_methods_supported?: string[] | undefined;
3857
3864
  skip_code_challenge_check?: boolean | undefined;
3858
- audience?: string | undefined;
3859
3865
  forward_audience_on_refresh?: boolean | undefined;
3860
3866
  revocation_endpoint?: string | undefined;
3861
3867
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3862
3868
  }, {
3863
- authorization_url?: string | undefined;
3869
+ audience?: string | undefined;
3864
3870
  scope?: string | undefined;
3871
+ authorization_url?: string | undefined;
3865
3872
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3866
3873
  token_url?: string | undefined;
3867
3874
  client_id?: string | undefined;
@@ -3872,7 +3879,6 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3872
3879
  response_types_supported?: string[] | undefined;
3873
3880
  code_challenge_methods_supported?: string[] | undefined;
3874
3881
  skip_code_challenge_check?: boolean | undefined;
3875
- audience?: string | undefined;
3876
3882
  forward_audience_on_refresh?: boolean | undefined;
3877
3883
  revocation_endpoint?: string | undefined;
3878
3884
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
@@ -3949,6 +3955,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3949
3955
  description?: string | undefined;
3950
3956
  title?: string | undefined;
3951
3957
  chatMenu?: boolean | undefined;
3958
+ headers?: Record<string, string> | undefined;
3959
+ apiKey?: {
3960
+ source: "user" | "admin";
3961
+ authorization_type: "custom" | "basic" | "bearer";
3962
+ key?: string | undefined;
3963
+ custom_header?: string | undefined;
3964
+ } | undefined;
3952
3965
  timeout?: number | undefined;
3953
3966
  startup?: boolean | undefined;
3954
3967
  iconPath?: string | undefined;
@@ -3957,8 +3970,9 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3957
3970
  serverInstructions?: string | boolean | undefined;
3958
3971
  requiresOAuth?: boolean | undefined;
3959
3972
  oauth?: {
3960
- authorization_url?: string | undefined;
3973
+ audience?: string | undefined;
3961
3974
  scope?: string | undefined;
3975
+ authorization_url?: string | undefined;
3962
3976
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
3963
3977
  token_url?: string | undefined;
3964
3978
  client_id?: string | undefined;
@@ -3969,18 +3983,11 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3969
3983
  response_types_supported?: string[] | undefined;
3970
3984
  code_challenge_methods_supported?: string[] | undefined;
3971
3985
  skip_code_challenge_check?: boolean | undefined;
3972
- audience?: string | undefined;
3973
3986
  forward_audience_on_refresh?: boolean | undefined;
3974
3987
  revocation_endpoint?: string | undefined;
3975
3988
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3976
3989
  } | undefined;
3977
3990
  oauth_headers?: Record<string, string> | undefined;
3978
- apiKey?: {
3979
- source: "user" | "admin";
3980
- authorization_type: "custom" | "basic" | "bearer";
3981
- key?: string | undefined;
3982
- custom_header?: string | undefined;
3983
- } | undefined;
3984
3991
  customUserVars?: Record<string, {
3985
3992
  description: string;
3986
3993
  title: string;
@@ -3989,7 +3996,6 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3989
3996
  obo?: {
3990
3997
  scopes: string;
3991
3998
  } | undefined;
3992
- headers?: Record<string, string> | undefined;
3993
3999
  proxy?: string | undefined;
3994
4000
  }, {
3995
4001
  type: "streamable-http" | "http";
@@ -3997,6 +4003,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3997
4003
  description?: string | undefined;
3998
4004
  title?: string | undefined;
3999
4005
  chatMenu?: boolean | undefined;
4006
+ headers?: Record<string, string> | undefined;
4007
+ apiKey?: {
4008
+ source: "user" | "admin";
4009
+ authorization_type: "custom" | "basic" | "bearer";
4010
+ key?: string | undefined;
4011
+ custom_header?: string | undefined;
4012
+ } | undefined;
4000
4013
  timeout?: number | undefined;
4001
4014
  startup?: boolean | undefined;
4002
4015
  iconPath?: string | undefined;
@@ -4005,8 +4018,9 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
4005
4018
  serverInstructions?: string | boolean | undefined;
4006
4019
  requiresOAuth?: boolean | undefined;
4007
4020
  oauth?: {
4008
- authorization_url?: string | undefined;
4021
+ audience?: string | undefined;
4009
4022
  scope?: string | undefined;
4023
+ authorization_url?: string | undefined;
4010
4024
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
4011
4025
  token_url?: string | undefined;
4012
4026
  client_id?: string | undefined;
@@ -4017,18 +4031,11 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
4017
4031
  response_types_supported?: string[] | undefined;
4018
4032
  code_challenge_methods_supported?: string[] | undefined;
4019
4033
  skip_code_challenge_check?: boolean | undefined;
4020
- audience?: string | undefined;
4021
4034
  forward_audience_on_refresh?: boolean | undefined;
4022
4035
  revocation_endpoint?: string | undefined;
4023
4036
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4024
4037
  } | undefined;
4025
4038
  oauth_headers?: Record<string, string> | undefined;
4026
- apiKey?: {
4027
- source: "user" | "admin";
4028
- authorization_type: "custom" | "basic" | "bearer";
4029
- key?: string | undefined;
4030
- custom_header?: string | undefined;
4031
- } | undefined;
4032
4039
  customUserVars?: Record<string, {
4033
4040
  description: string;
4034
4041
  title: string;
@@ -4037,7 +4044,6 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
4037
4044
  obo?: {
4038
4045
  scopes: string;
4039
4046
  } | undefined;
4040
- headers?: Record<string, string> | undefined;
4041
4047
  proxy?: string | undefined;
4042
4048
  }>]>>;
4043
4049
  export type MCPOptions = z.infer<typeof MCPOptionsSchema>;
@@ -4080,8 +4086,9 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4080
4086
  audience: z.ZodOptional<z.ZodNever>;
4081
4087
  forward_audience_on_refresh: z.ZodOptional<z.ZodNever>;
4082
4088
  }, "strip", z.ZodTypeAny, {
4083
- authorization_url?: string | undefined;
4089
+ audience?: undefined;
4084
4090
  scope?: string | undefined;
4091
+ authorization_url?: string | undefined;
4085
4092
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
4086
4093
  token_url?: string | undefined;
4087
4094
  client_id?: string | undefined;
@@ -4092,13 +4099,13 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4092
4099
  response_types_supported?: string[] | undefined;
4093
4100
  code_challenge_methods_supported?: string[] | undefined;
4094
4101
  skip_code_challenge_check?: boolean | undefined;
4095
- audience?: undefined;
4096
4102
  forward_audience_on_refresh?: undefined;
4097
4103
  revocation_endpoint?: string | undefined;
4098
4104
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4099
4105
  }, {
4100
- authorization_url?: string | undefined;
4106
+ audience?: undefined;
4101
4107
  scope?: string | undefined;
4108
+ authorization_url?: string | undefined;
4102
4109
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
4103
4110
  token_url?: string | undefined;
4104
4111
  client_id?: string | undefined;
@@ -4109,13 +4116,13 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4109
4116
  response_types_supported?: string[] | undefined;
4110
4117
  code_challenge_methods_supported?: string[] | undefined;
4111
4118
  skip_code_challenge_check?: boolean | undefined;
4112
- audience?: undefined;
4113
4119
  forward_audience_on_refresh?: undefined;
4114
4120
  revocation_endpoint?: string | undefined;
4115
4121
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4116
4122
  }>, {
4117
- authorization_url?: string | undefined;
4123
+ audience?: undefined;
4118
4124
  scope?: string | undefined;
4125
+ authorization_url?: string | undefined;
4119
4126
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
4120
4127
  token_url?: string | undefined;
4121
4128
  client_id?: string | undefined;
@@ -4126,13 +4133,13 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4126
4133
  response_types_supported?: string[] | undefined;
4127
4134
  code_challenge_methods_supported?: string[] | undefined;
4128
4135
  skip_code_challenge_check?: boolean | undefined;
4129
- audience?: undefined;
4130
4136
  forward_audience_on_refresh?: undefined;
4131
4137
  revocation_endpoint?: string | undefined;
4132
4138
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4133
4139
  }, {
4134
- authorization_url?: string | undefined;
4140
+ audience?: undefined;
4135
4141
  scope?: string | undefined;
4142
+ authorization_url?: string | undefined;
4136
4143
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
4137
4144
  token_url?: string | undefined;
4138
4145
  client_id?: string | undefined;
@@ -4143,7 +4150,6 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4143
4150
  response_types_supported?: string[] | undefined;
4144
4151
  code_challenge_methods_supported?: string[] | undefined;
4145
4152
  skip_code_challenge_check?: boolean | undefined;
4146
- audience?: undefined;
4147
4153
  forward_audience_on_refresh?: undefined;
4148
4154
  revocation_endpoint?: string | undefined;
4149
4155
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
@@ -4182,8 +4188,9 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4182
4188
  audience: z.ZodOptional<z.ZodNever>;
4183
4189
  forward_audience_on_refresh: z.ZodOptional<z.ZodNever>;
4184
4190
  }, "strip", z.ZodTypeAny, {
4185
- authorization_url?: string | undefined;
4191
+ audience?: undefined;
4186
4192
  scope?: string | undefined;
4193
+ authorization_url?: string | undefined;
4187
4194
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
4188
4195
  token_url?: string | undefined;
4189
4196
  client_id?: string | undefined;
@@ -4194,13 +4201,13 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4194
4201
  response_types_supported?: string[] | undefined;
4195
4202
  code_challenge_methods_supported?: string[] | undefined;
4196
4203
  skip_code_challenge_check?: boolean | undefined;
4197
- audience?: undefined;
4198
4204
  forward_audience_on_refresh?: undefined;
4199
4205
  revocation_endpoint?: string | undefined;
4200
4206
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4201
4207
  }, {
4202
- authorization_url?: string | undefined;
4208
+ audience?: undefined;
4203
4209
  scope?: string | undefined;
4210
+ authorization_url?: string | undefined;
4204
4211
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
4205
4212
  token_url?: string | undefined;
4206
4213
  client_id?: string | undefined;
@@ -4211,13 +4218,13 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4211
4218
  response_types_supported?: string[] | undefined;
4212
4219
  code_challenge_methods_supported?: string[] | undefined;
4213
4220
  skip_code_challenge_check?: boolean | undefined;
4214
- audience?: undefined;
4215
4221
  forward_audience_on_refresh?: undefined;
4216
4222
  revocation_endpoint?: string | undefined;
4217
4223
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4218
4224
  }>, {
4219
- authorization_url?: string | undefined;
4225
+ audience?: undefined;
4220
4226
  scope?: string | undefined;
4227
+ authorization_url?: string | undefined;
4221
4228
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
4222
4229
  token_url?: string | undefined;
4223
4230
  client_id?: string | undefined;
@@ -4228,13 +4235,13 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4228
4235
  response_types_supported?: string[] | undefined;
4229
4236
  code_challenge_methods_supported?: string[] | undefined;
4230
4237
  skip_code_challenge_check?: boolean | undefined;
4231
- audience?: undefined;
4232
4238
  forward_audience_on_refresh?: undefined;
4233
4239
  revocation_endpoint?: string | undefined;
4234
4240
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4235
4241
  }, {
4236
- authorization_url?: string | undefined;
4242
+ audience?: undefined;
4237
4243
  scope?: string | undefined;
4244
+ authorization_url?: string | undefined;
4238
4245
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
4239
4246
  token_url?: string | undefined;
4240
4247
  client_id?: string | undefined;
@@ -4245,7 +4252,6 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4245
4252
  response_types_supported?: string[] | undefined;
4246
4253
  code_challenge_methods_supported?: string[] | undefined;
4247
4254
  skip_code_challenge_check?: boolean | undefined;
4248
- audience?: undefined;
4249
4255
  forward_audience_on_refresh?: undefined;
4250
4256
  revocation_endpoint?: string | undefined;
4251
4257
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
@@ -4287,8 +4293,9 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4287
4293
  audience: z.ZodOptional<z.ZodNever>;
4288
4294
  forward_audience_on_refresh: z.ZodOptional<z.ZodNever>;
4289
4295
  }, "strip", z.ZodTypeAny, {
4290
- authorization_url?: string | undefined;
4296
+ audience?: undefined;
4291
4297
  scope?: string | undefined;
4298
+ authorization_url?: string | undefined;
4292
4299
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
4293
4300
  token_url?: string | undefined;
4294
4301
  client_id?: string | undefined;
@@ -4299,13 +4306,13 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4299
4306
  response_types_supported?: string[] | undefined;
4300
4307
  code_challenge_methods_supported?: string[] | undefined;
4301
4308
  skip_code_challenge_check?: boolean | undefined;
4302
- audience?: undefined;
4303
4309
  forward_audience_on_refresh?: undefined;
4304
4310
  revocation_endpoint?: string | undefined;
4305
4311
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4306
4312
  }, {
4307
- authorization_url?: string | undefined;
4313
+ audience?: undefined;
4308
4314
  scope?: string | undefined;
4315
+ authorization_url?: string | undefined;
4309
4316
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
4310
4317
  token_url?: string | undefined;
4311
4318
  client_id?: string | undefined;
@@ -4316,13 +4323,13 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4316
4323
  response_types_supported?: string[] | undefined;
4317
4324
  code_challenge_methods_supported?: string[] | undefined;
4318
4325
  skip_code_challenge_check?: boolean | undefined;
4319
- audience?: undefined;
4320
4326
  forward_audience_on_refresh?: undefined;
4321
4327
  revocation_endpoint?: string | undefined;
4322
4328
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4323
4329
  }>, {
4324
- authorization_url?: string | undefined;
4330
+ audience?: undefined;
4325
4331
  scope?: string | undefined;
4332
+ authorization_url?: string | undefined;
4326
4333
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
4327
4334
  token_url?: string | undefined;
4328
4335
  client_id?: string | undefined;
@@ -4333,13 +4340,13 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4333
4340
  response_types_supported?: string[] | undefined;
4334
4341
  code_challenge_methods_supported?: string[] | undefined;
4335
4342
  skip_code_challenge_check?: boolean | undefined;
4336
- audience?: undefined;
4337
4343
  forward_audience_on_refresh?: undefined;
4338
4344
  revocation_endpoint?: string | undefined;
4339
4345
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4340
4346
  }, {
4341
- authorization_url?: string | undefined;
4347
+ audience?: undefined;
4342
4348
  scope?: string | undefined;
4349
+ authorization_url?: string | undefined;
4343
4350
  token_exchange_method?: TokenExchangeMethodEnum | undefined;
4344
4351
  token_url?: string | undefined;
4345
4352
  client_id?: string | undefined;
@@ -4350,7 +4357,6 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4350
4357
  response_types_supported?: string[] | undefined;
4351
4358
  code_challenge_methods_supported?: string[] | undefined;
4352
4359
  skip_code_challenge_check?: boolean | undefined;
4353
- audience?: undefined;
4354
4360
  forward_audience_on_refresh?: undefined;
4355
4361
  revocation_endpoint?: string | undefined;
4356
4362
  revocation_endpoint_auth_methods_supported?: string[] | undefined;