librechat-data-provider 0.8.521 → 0.8.522

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 (57) hide show
  1. package/dist/{data-service-pwrlWjJs.mjs → data-service-CaB7saTP.mjs} +1145 -37
  2. package/dist/data-service-CaB7saTP.mjs.map +1 -0
  3. package/dist/{data-service-DOIF4BkW.js → data-service-D5kHzBt-.js} +1588 -36
  4. package/dist/data-service-D5kHzBt-.js.map +1 -0
  5. package/dist/index.js +947 -36
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +825 -37
  8. package/dist/index.mjs.map +1 -1
  9. package/dist/react-query/index.js +2 -1
  10. package/dist/react-query/index.js.map +1 -1
  11. package/dist/react-query/index.mjs +2 -1
  12. package/dist/react-query/index.mjs.map +1 -1
  13. package/dist/types/accessPermissions.d.ts +4 -0
  14. package/dist/types/actions.d.ts +2 -2
  15. package/dist/types/agentToolOptions.d.ts +11 -0
  16. package/dist/types/api-endpoints.d.ts +18 -0
  17. package/dist/types/bedrock.d.ts +168 -0
  18. package/dist/types/cadence.d.ts +33 -0
  19. package/dist/types/codeEnvRef.d.ts +21 -0
  20. package/dist/types/config.d.ts +9060 -1135
  21. package/dist/types/data-service.d.ts +40 -2
  22. package/dist/types/file-config.d.ts +1 -0
  23. package/dist/types/filters.d.ts +1422 -0
  24. package/dist/types/generate.d.ts +79 -1
  25. package/dist/types/index.d.ts +10 -0
  26. package/dist/types/keys.d.ts +23 -2
  27. package/dist/types/langchain.d.ts +4 -0
  28. package/dist/types/limits.d.ts +13 -0
  29. package/dist/types/mcp.d.ts +299 -210
  30. package/dist/types/messages.d.ts +5 -0
  31. package/dist/types/models.d.ts +732 -68
  32. package/dist/types/parameterSettings.d.ts +5 -1
  33. package/dist/types/parsers.d.ts +10 -0
  34. package/dist/types/permissions.d.ts +42 -1
  35. package/dist/types/providers.d.ts +36 -0
  36. package/dist/types/request.d.ts +2 -2
  37. package/dist/types/roles.d.ts +34 -0
  38. package/dist/types/runSteps.d.ts +59 -0
  39. package/dist/types/schemas.d.ts +1191 -26
  40. package/dist/types/stateful-code.d.ts +7 -0
  41. package/dist/types/types/agents.d.ts +92 -7
  42. package/dist/types/types/assistants.d.ts +96 -5
  43. package/dist/types/types/files.d.ts +12 -2
  44. package/dist/types/types/index.d.ts +2 -0
  45. package/dist/types/types/insights.d.ts +62 -0
  46. package/dist/types/types/mutations.d.ts +1 -0
  47. package/dist/types/types/queries.d.ts +30 -2
  48. package/dist/types/types/queuedTurns.d.ts +870 -0
  49. package/dist/types/types/runs.d.ts +95 -4
  50. package/dist/types/types/schedules.d.ts +306 -0
  51. package/dist/types/types/skills.d.ts +9 -0
  52. package/dist/types/types/subagents.d.ts +159 -0
  53. package/dist/types/types/web.d.ts +12 -2
  54. package/dist/types/types.d.ts +61 -1
  55. package/package.json +4 -2
  56. package/dist/data-service-DOIF4BkW.js.map +0 -1
  57. package/dist/data-service-pwrlWjJs.mjs.map +0 -1
@@ -1,7 +1,12 @@
1
1
  import { z } from 'zod';
2
2
  import { TokenExchangeMethodEnum } from './types/agents';
3
+ export declare const MCP_SERVER_TITLE_PATTERN: RegExp;
4
+ export declare const MCP_SERVER_TITLE_ERROR = "Title must start with a letter or number and can include spaces, hyphens, and apostrophes";
5
+ export declare function isProcessMCPServerField(field: string): boolean;
6
+ export declare function isProcessMCPServerConfig(value: unknown): boolean;
7
+ export declare function hasProcessMCPServerConfig(value: unknown): boolean;
3
8
  export declare const StdioOptionsSchema: z.ZodObject<{
4
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
9
+ /** Display name for the MCP server */
5
10
  title: z.ZodOptional<z.ZodString>;
6
11
  /** Description of the MCP server */
7
12
  description: z.ZodOptional<z.ZodString>;
@@ -17,7 +22,14 @@ export declare const StdioOptionsSchema: z.ZodObject<{
17
22
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
18
23
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
19
24
  initTimeout: z.ZodOptional<z.ZodNumber>;
20
- /** Controls visibility in chat dropdown menu (MCPSelect) */
25
+ /**
26
+ * Whether the server is offered in chat.
27
+ *
28
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
29
+ * chat selection a request carries, so a stale or hand-written request cannot
30
+ * reach it either. It does not restrict agents, nor a server a model spec
31
+ * pins through `mcpServers` — both are the operator's own choice.
32
+ */
21
33
  chatMenu: z.ZodOptional<z.ZodBoolean>;
22
34
  /**
23
35
  * Controls server instruction behavior:
@@ -104,12 +116,12 @@ export declare const StdioOptionsSchema: z.ZodObject<{
104
116
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
105
117
  }, "strip", z.ZodTypeAny, {
106
118
  authorization_url?: string | undefined;
119
+ scope?: string | undefined;
120
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
107
121
  token_url?: string | undefined;
108
122
  client_id?: string | undefined;
109
123
  client_secret?: string | undefined;
110
- scope?: string | undefined;
111
124
  redirect_uri?: string | undefined;
112
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
113
125
  grant_types_supported?: string[] | undefined;
114
126
  token_endpoint_auth_methods_supported?: string[] | undefined;
115
127
  response_types_supported?: string[] | undefined;
@@ -121,12 +133,12 @@ export declare const StdioOptionsSchema: z.ZodObject<{
121
133
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
122
134
  }, {
123
135
  authorization_url?: string | undefined;
136
+ scope?: string | undefined;
137
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
124
138
  token_url?: string | undefined;
125
139
  client_id?: string | undefined;
126
140
  client_secret?: string | undefined;
127
- scope?: string | undefined;
128
141
  redirect_uri?: string | undefined;
129
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
130
142
  grant_types_supported?: string[] | undefined;
131
143
  token_endpoint_auth_methods_supported?: string[] | undefined;
132
144
  response_types_supported?: string[] | undefined;
@@ -138,12 +150,12 @@ export declare const StdioOptionsSchema: z.ZodObject<{
138
150
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
139
151
  }>, {
140
152
  authorization_url?: string | undefined;
153
+ scope?: string | undefined;
154
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
141
155
  token_url?: string | undefined;
142
156
  client_id?: string | undefined;
143
157
  client_secret?: string | undefined;
144
- scope?: string | undefined;
145
158
  redirect_uri?: string | undefined;
146
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
147
159
  grant_types_supported?: string[] | undefined;
148
160
  token_endpoint_auth_methods_supported?: string[] | undefined;
149
161
  response_types_supported?: string[] | undefined;
@@ -155,12 +167,12 @@ export declare const StdioOptionsSchema: z.ZodObject<{
155
167
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
156
168
  }, {
157
169
  authorization_url?: string | undefined;
170
+ scope?: string | undefined;
171
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
158
172
  token_url?: string | undefined;
159
173
  client_id?: string | undefined;
160
174
  client_secret?: string | undefined;
161
- scope?: string | undefined;
162
175
  redirect_uri?: string | undefined;
163
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
164
176
  grant_types_supported?: string[] | undefined;
165
177
  token_endpoint_auth_methods_supported?: string[] | undefined;
166
178
  response_types_supported?: string[] | undefined;
@@ -262,12 +274,12 @@ export declare const StdioOptionsSchema: z.ZodObject<{
262
274
  requiresOAuth?: boolean | undefined;
263
275
  oauth?: {
264
276
  authorization_url?: string | undefined;
277
+ scope?: string | undefined;
278
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
265
279
  token_url?: string | undefined;
266
280
  client_id?: string | undefined;
267
281
  client_secret?: string | undefined;
268
- scope?: string | undefined;
269
282
  redirect_uri?: string | undefined;
270
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
271
283
  grant_types_supported?: string[] | undefined;
272
284
  token_endpoint_auth_methods_supported?: string[] | undefined;
273
285
  response_types_supported?: string[] | undefined;
@@ -290,9 +302,9 @@ export declare const StdioOptionsSchema: z.ZodObject<{
290
302
  title: string;
291
303
  sensitive?: boolean | undefined;
292
304
  }> | undefined;
293
- obo?: undefined;
294
- stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
295
305
  cwd?: string | undefined;
306
+ stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
307
+ obo?: undefined;
296
308
  }, {
297
309
  command: string;
298
310
  args: string[];
@@ -310,12 +322,12 @@ export declare const StdioOptionsSchema: z.ZodObject<{
310
322
  requiresOAuth?: boolean | undefined;
311
323
  oauth?: {
312
324
  authorization_url?: string | undefined;
325
+ scope?: string | undefined;
326
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
313
327
  token_url?: string | undefined;
314
328
  client_id?: string | undefined;
315
329
  client_secret?: string | undefined;
316
- scope?: string | undefined;
317
330
  redirect_uri?: string | undefined;
318
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
319
331
  grant_types_supported?: string[] | undefined;
320
332
  token_endpoint_auth_methods_supported?: string[] | undefined;
321
333
  response_types_supported?: string[] | undefined;
@@ -338,12 +350,12 @@ export declare const StdioOptionsSchema: z.ZodObject<{
338
350
  title: string;
339
351
  sensitive?: boolean | undefined;
340
352
  }> | undefined;
341
- obo?: undefined;
342
- stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
343
353
  cwd?: string | undefined;
354
+ stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
355
+ obo?: undefined;
344
356
  }>;
345
357
  export declare const WebSocketOptionsSchema: z.ZodObject<{
346
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
358
+ /** Display name for the MCP server */
347
359
  title: z.ZodOptional<z.ZodString>;
348
360
  /** Description of the MCP server */
349
361
  description: z.ZodOptional<z.ZodString>;
@@ -359,7 +371,14 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
359
371
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
360
372
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
361
373
  initTimeout: z.ZodOptional<z.ZodNumber>;
362
- /** Controls visibility in chat dropdown menu (MCPSelect) */
374
+ /**
375
+ * Whether the server is offered in chat.
376
+ *
377
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
378
+ * chat selection a request carries, so a stale or hand-written request cannot
379
+ * reach it either. It does not restrict agents, nor a server a model spec
380
+ * pins through `mcpServers` — both are the operator's own choice.
381
+ */
363
382
  chatMenu: z.ZodOptional<z.ZodBoolean>;
364
383
  /**
365
384
  * Controls server instruction behavior:
@@ -446,12 +465,12 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
446
465
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
447
466
  }, "strip", z.ZodTypeAny, {
448
467
  authorization_url?: string | undefined;
468
+ scope?: string | undefined;
469
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
449
470
  token_url?: string | undefined;
450
471
  client_id?: string | undefined;
451
472
  client_secret?: string | undefined;
452
- scope?: string | undefined;
453
473
  redirect_uri?: string | undefined;
454
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
455
474
  grant_types_supported?: string[] | undefined;
456
475
  token_endpoint_auth_methods_supported?: string[] | undefined;
457
476
  response_types_supported?: string[] | undefined;
@@ -463,12 +482,12 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
463
482
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
464
483
  }, {
465
484
  authorization_url?: string | undefined;
485
+ scope?: string | undefined;
486
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
466
487
  token_url?: string | undefined;
467
488
  client_id?: string | undefined;
468
489
  client_secret?: string | undefined;
469
- scope?: string | undefined;
470
490
  redirect_uri?: string | undefined;
471
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
472
491
  grant_types_supported?: string[] | undefined;
473
492
  token_endpoint_auth_methods_supported?: string[] | undefined;
474
493
  response_types_supported?: string[] | undefined;
@@ -480,12 +499,12 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
480
499
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
481
500
  }>, {
482
501
  authorization_url?: string | undefined;
502
+ scope?: string | undefined;
503
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
483
504
  token_url?: string | undefined;
484
505
  client_id?: string | undefined;
485
506
  client_secret?: string | undefined;
486
- scope?: string | undefined;
487
507
  redirect_uri?: string | undefined;
488
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
489
508
  grant_types_supported?: string[] | undefined;
490
509
  token_endpoint_auth_methods_supported?: string[] | undefined;
491
510
  response_types_supported?: string[] | undefined;
@@ -497,12 +516,12 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
497
516
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
498
517
  }, {
499
518
  authorization_url?: string | undefined;
519
+ scope?: string | undefined;
520
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
500
521
  token_url?: string | undefined;
501
522
  client_id?: string | undefined;
502
523
  client_secret?: string | undefined;
503
- scope?: string | undefined;
504
524
  redirect_uri?: string | undefined;
505
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
506
525
  grant_types_supported?: string[] | undefined;
507
526
  token_endpoint_auth_methods_supported?: string[] | undefined;
508
527
  response_types_supported?: string[] | undefined;
@@ -577,12 +596,12 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
577
596
  requiresOAuth?: boolean | undefined;
578
597
  oauth?: {
579
598
  authorization_url?: string | undefined;
599
+ scope?: string | undefined;
600
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
580
601
  token_url?: string | undefined;
581
602
  client_id?: string | undefined;
582
603
  client_secret?: string | undefined;
583
- scope?: string | undefined;
584
604
  redirect_uri?: string | undefined;
585
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
586
605
  grant_types_supported?: string[] | undefined;
587
606
  token_endpoint_auth_methods_supported?: string[] | undefined;
588
607
  response_types_supported?: string[] | undefined;
@@ -621,12 +640,12 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
621
640
  requiresOAuth?: boolean | undefined;
622
641
  oauth?: {
623
642
  authorization_url?: string | undefined;
643
+ scope?: string | undefined;
644
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
624
645
  token_url?: string | undefined;
625
646
  client_id?: string | undefined;
626
647
  client_secret?: string | undefined;
627
- scope?: string | undefined;
628
648
  redirect_uri?: string | undefined;
629
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
630
649
  grant_types_supported?: string[] | undefined;
631
650
  token_endpoint_auth_methods_supported?: string[] | undefined;
632
651
  response_types_supported?: string[] | undefined;
@@ -652,7 +671,7 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
652
671
  obo?: undefined;
653
672
  }>;
654
673
  export declare const SSEOptionsSchema: z.ZodObject<{
655
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
674
+ /** Display name for the MCP server */
656
675
  title: z.ZodOptional<z.ZodString>;
657
676
  /** Description of the MCP server */
658
677
  description: z.ZodOptional<z.ZodString>;
@@ -668,7 +687,14 @@ export declare const SSEOptionsSchema: z.ZodObject<{
668
687
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
669
688
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
670
689
  initTimeout: z.ZodOptional<z.ZodNumber>;
671
- /** Controls visibility in chat dropdown menu (MCPSelect) */
690
+ /**
691
+ * Whether the server is offered in chat.
692
+ *
693
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
694
+ * chat selection a request carries, so a stale or hand-written request cannot
695
+ * reach it either. It does not restrict agents, nor a server a model spec
696
+ * pins through `mcpServers` — both are the operator's own choice.
697
+ */
672
698
  chatMenu: z.ZodOptional<z.ZodBoolean>;
673
699
  /**
674
700
  * Controls server instruction behavior:
@@ -755,12 +781,12 @@ export declare const SSEOptionsSchema: z.ZodObject<{
755
781
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
756
782
  }, "strip", z.ZodTypeAny, {
757
783
  authorization_url?: string | undefined;
784
+ scope?: string | undefined;
785
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
758
786
  token_url?: string | undefined;
759
787
  client_id?: string | undefined;
760
788
  client_secret?: string | undefined;
761
- scope?: string | undefined;
762
789
  redirect_uri?: string | undefined;
763
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
764
790
  grant_types_supported?: string[] | undefined;
765
791
  token_endpoint_auth_methods_supported?: string[] | undefined;
766
792
  response_types_supported?: string[] | undefined;
@@ -772,12 +798,12 @@ export declare const SSEOptionsSchema: z.ZodObject<{
772
798
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
773
799
  }, {
774
800
  authorization_url?: string | undefined;
801
+ scope?: string | undefined;
802
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
775
803
  token_url?: string | undefined;
776
804
  client_id?: string | undefined;
777
805
  client_secret?: string | undefined;
778
- scope?: string | undefined;
779
806
  redirect_uri?: string | undefined;
780
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
781
807
  grant_types_supported?: string[] | undefined;
782
808
  token_endpoint_auth_methods_supported?: string[] | undefined;
783
809
  response_types_supported?: string[] | undefined;
@@ -789,12 +815,12 @@ export declare const SSEOptionsSchema: z.ZodObject<{
789
815
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
790
816
  }>, {
791
817
  authorization_url?: string | undefined;
818
+ scope?: string | undefined;
819
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
792
820
  token_url?: string | undefined;
793
821
  client_id?: string | undefined;
794
822
  client_secret?: string | undefined;
795
- scope?: string | undefined;
796
823
  redirect_uri?: string | undefined;
797
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
798
824
  grant_types_supported?: string[] | undefined;
799
825
  token_endpoint_auth_methods_supported?: string[] | undefined;
800
826
  response_types_supported?: string[] | undefined;
@@ -806,12 +832,12 @@ export declare const SSEOptionsSchema: z.ZodObject<{
806
832
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
807
833
  }, {
808
834
  authorization_url?: string | undefined;
835
+ scope?: string | undefined;
836
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
809
837
  token_url?: string | undefined;
810
838
  client_id?: string | undefined;
811
839
  client_secret?: string | undefined;
812
- scope?: string | undefined;
813
840
  redirect_uri?: string | undefined;
814
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
815
841
  grant_types_supported?: string[] | undefined;
816
842
  token_endpoint_auth_methods_supported?: string[] | undefined;
817
843
  response_types_supported?: string[] | undefined;
@@ -903,12 +929,12 @@ export declare const SSEOptionsSchema: z.ZodObject<{
903
929
  requiresOAuth?: boolean | undefined;
904
930
  oauth?: {
905
931
  authorization_url?: string | undefined;
932
+ scope?: string | undefined;
933
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
906
934
  token_url?: string | undefined;
907
935
  client_id?: string | undefined;
908
936
  client_secret?: string | undefined;
909
- scope?: string | undefined;
910
937
  redirect_uri?: string | undefined;
911
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
912
938
  grant_types_supported?: string[] | undefined;
913
939
  token_endpoint_auth_methods_supported?: string[] | undefined;
914
940
  response_types_supported?: string[] | undefined;
@@ -951,12 +977,12 @@ export declare const SSEOptionsSchema: z.ZodObject<{
951
977
  requiresOAuth?: boolean | undefined;
952
978
  oauth?: {
953
979
  authorization_url?: string | undefined;
980
+ scope?: string | undefined;
981
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
954
982
  token_url?: string | undefined;
955
983
  client_id?: string | undefined;
956
984
  client_secret?: string | undefined;
957
- scope?: string | undefined;
958
985
  redirect_uri?: string | undefined;
959
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
960
986
  grant_types_supported?: string[] | undefined;
961
987
  token_endpoint_auth_methods_supported?: string[] | undefined;
962
988
  response_types_supported?: string[] | undefined;
@@ -986,7 +1012,7 @@ export declare const SSEOptionsSchema: z.ZodObject<{
986
1012
  proxy?: string | undefined;
987
1013
  }>;
988
1014
  export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
989
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
1015
+ /** Display name for the MCP server */
990
1016
  title: z.ZodOptional<z.ZodString>;
991
1017
  /** Description of the MCP server */
992
1018
  description: z.ZodOptional<z.ZodString>;
@@ -1002,7 +1028,14 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1002
1028
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
1003
1029
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
1004
1030
  initTimeout: z.ZodOptional<z.ZodNumber>;
1005
- /** Controls visibility in chat dropdown menu (MCPSelect) */
1031
+ /**
1032
+ * Whether the server is offered in chat.
1033
+ *
1034
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
1035
+ * chat selection a request carries, so a stale or hand-written request cannot
1036
+ * reach it either. It does not restrict agents, nor a server a model spec
1037
+ * pins through `mcpServers` — both are the operator's own choice.
1038
+ */
1006
1039
  chatMenu: z.ZodOptional<z.ZodBoolean>;
1007
1040
  /**
1008
1041
  * Controls server instruction behavior:
@@ -1089,12 +1122,12 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1089
1122
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1090
1123
  }, "strip", z.ZodTypeAny, {
1091
1124
  authorization_url?: string | undefined;
1125
+ scope?: string | undefined;
1126
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1092
1127
  token_url?: string | undefined;
1093
1128
  client_id?: string | undefined;
1094
1129
  client_secret?: string | undefined;
1095
- scope?: string | undefined;
1096
1130
  redirect_uri?: string | undefined;
1097
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1098
1131
  grant_types_supported?: string[] | undefined;
1099
1132
  token_endpoint_auth_methods_supported?: string[] | undefined;
1100
1133
  response_types_supported?: string[] | undefined;
@@ -1106,12 +1139,12 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1106
1139
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1107
1140
  }, {
1108
1141
  authorization_url?: string | undefined;
1142
+ scope?: string | undefined;
1143
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1109
1144
  token_url?: string | undefined;
1110
1145
  client_id?: string | undefined;
1111
1146
  client_secret?: string | undefined;
1112
- scope?: string | undefined;
1113
1147
  redirect_uri?: string | undefined;
1114
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1115
1148
  grant_types_supported?: string[] | undefined;
1116
1149
  token_endpoint_auth_methods_supported?: string[] | undefined;
1117
1150
  response_types_supported?: string[] | undefined;
@@ -1123,12 +1156,12 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1123
1156
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1124
1157
  }>, {
1125
1158
  authorization_url?: string | undefined;
1159
+ scope?: string | undefined;
1160
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1126
1161
  token_url?: string | undefined;
1127
1162
  client_id?: string | undefined;
1128
1163
  client_secret?: string | undefined;
1129
- scope?: string | undefined;
1130
1164
  redirect_uri?: string | undefined;
1131
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1132
1165
  grant_types_supported?: string[] | undefined;
1133
1166
  token_endpoint_auth_methods_supported?: string[] | undefined;
1134
1167
  response_types_supported?: string[] | undefined;
@@ -1140,12 +1173,12 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1140
1173
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1141
1174
  }, {
1142
1175
  authorization_url?: string | undefined;
1176
+ scope?: string | undefined;
1177
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1143
1178
  token_url?: string | undefined;
1144
1179
  client_id?: string | undefined;
1145
1180
  client_secret?: string | undefined;
1146
- scope?: string | undefined;
1147
1181
  redirect_uri?: string | undefined;
1148
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1149
1182
  grant_types_supported?: string[] | undefined;
1150
1183
  token_endpoint_auth_methods_supported?: string[] | undefined;
1151
1184
  response_types_supported?: string[] | undefined;
@@ -1237,12 +1270,12 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1237
1270
  requiresOAuth?: boolean | undefined;
1238
1271
  oauth?: {
1239
1272
  authorization_url?: string | undefined;
1273
+ scope?: string | undefined;
1274
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1240
1275
  token_url?: string | undefined;
1241
1276
  client_id?: string | undefined;
1242
1277
  client_secret?: string | undefined;
1243
- scope?: string | undefined;
1244
1278
  redirect_uri?: string | undefined;
1245
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1246
1279
  grant_types_supported?: string[] | undefined;
1247
1280
  token_endpoint_auth_methods_supported?: string[] | undefined;
1248
1281
  response_types_supported?: string[] | undefined;
@@ -1285,12 +1318,12 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1285
1318
  requiresOAuth?: boolean | undefined;
1286
1319
  oauth?: {
1287
1320
  authorization_url?: string | undefined;
1321
+ scope?: string | undefined;
1322
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1288
1323
  token_url?: string | undefined;
1289
1324
  client_id?: string | undefined;
1290
1325
  client_secret?: string | undefined;
1291
- scope?: string | undefined;
1292
1326
  redirect_uri?: string | undefined;
1293
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1294
1327
  grant_types_supported?: string[] | undefined;
1295
1328
  token_endpoint_auth_methods_supported?: string[] | undefined;
1296
1329
  response_types_supported?: string[] | undefined;
@@ -1320,7 +1353,7 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1320
1353
  proxy?: string | undefined;
1321
1354
  }>;
1322
1355
  export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1323
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
1356
+ /** Display name for the MCP server */
1324
1357
  title: z.ZodOptional<z.ZodString>;
1325
1358
  /** Description of the MCP server */
1326
1359
  description: z.ZodOptional<z.ZodString>;
@@ -1336,7 +1369,14 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1336
1369
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
1337
1370
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
1338
1371
  initTimeout: z.ZodOptional<z.ZodNumber>;
1339
- /** Controls visibility in chat dropdown menu (MCPSelect) */
1372
+ /**
1373
+ * Whether the server is offered in chat.
1374
+ *
1375
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
1376
+ * chat selection a request carries, so a stale or hand-written request cannot
1377
+ * reach it either. It does not restrict agents, nor a server a model spec
1378
+ * pins through `mcpServers` — both are the operator's own choice.
1379
+ */
1340
1380
  chatMenu: z.ZodOptional<z.ZodBoolean>;
1341
1381
  /**
1342
1382
  * Controls server instruction behavior:
@@ -1423,12 +1463,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1423
1463
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1424
1464
  }, "strip", z.ZodTypeAny, {
1425
1465
  authorization_url?: string | undefined;
1466
+ scope?: string | undefined;
1467
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1426
1468
  token_url?: string | undefined;
1427
1469
  client_id?: string | undefined;
1428
1470
  client_secret?: string | undefined;
1429
- scope?: string | undefined;
1430
1471
  redirect_uri?: string | undefined;
1431
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1432
1472
  grant_types_supported?: string[] | undefined;
1433
1473
  token_endpoint_auth_methods_supported?: string[] | undefined;
1434
1474
  response_types_supported?: string[] | undefined;
@@ -1440,12 +1480,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1440
1480
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1441
1481
  }, {
1442
1482
  authorization_url?: string | undefined;
1483
+ scope?: string | undefined;
1484
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1443
1485
  token_url?: string | undefined;
1444
1486
  client_id?: string | undefined;
1445
1487
  client_secret?: string | undefined;
1446
- scope?: string | undefined;
1447
1488
  redirect_uri?: string | undefined;
1448
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1449
1489
  grant_types_supported?: string[] | undefined;
1450
1490
  token_endpoint_auth_methods_supported?: string[] | undefined;
1451
1491
  response_types_supported?: string[] | undefined;
@@ -1457,12 +1497,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1457
1497
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1458
1498
  }>, {
1459
1499
  authorization_url?: string | undefined;
1500
+ scope?: string | undefined;
1501
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1460
1502
  token_url?: string | undefined;
1461
1503
  client_id?: string | undefined;
1462
1504
  client_secret?: string | undefined;
1463
- scope?: string | undefined;
1464
1505
  redirect_uri?: string | undefined;
1465
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1466
1506
  grant_types_supported?: string[] | undefined;
1467
1507
  token_endpoint_auth_methods_supported?: string[] | undefined;
1468
1508
  response_types_supported?: string[] | undefined;
@@ -1474,12 +1514,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1474
1514
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1475
1515
  }, {
1476
1516
  authorization_url?: string | undefined;
1517
+ scope?: string | undefined;
1518
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1477
1519
  token_url?: string | undefined;
1478
1520
  client_id?: string | undefined;
1479
1521
  client_secret?: string | undefined;
1480
- scope?: string | undefined;
1481
1522
  redirect_uri?: string | undefined;
1482
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1483
1523
  grant_types_supported?: string[] | undefined;
1484
1524
  token_endpoint_auth_methods_supported?: string[] | undefined;
1485
1525
  response_types_supported?: string[] | undefined;
@@ -1581,12 +1621,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1581
1621
  requiresOAuth?: boolean | undefined;
1582
1622
  oauth?: {
1583
1623
  authorization_url?: string | undefined;
1624
+ scope?: string | undefined;
1625
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1584
1626
  token_url?: string | undefined;
1585
1627
  client_id?: string | undefined;
1586
1628
  client_secret?: string | undefined;
1587
- scope?: string | undefined;
1588
1629
  redirect_uri?: string | undefined;
1589
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1590
1630
  grant_types_supported?: string[] | undefined;
1591
1631
  token_endpoint_auth_methods_supported?: string[] | undefined;
1592
1632
  response_types_supported?: string[] | undefined;
@@ -1609,9 +1649,9 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1609
1649
  title: string;
1610
1650
  sensitive?: boolean | undefined;
1611
1651
  }> | undefined;
1612
- obo?: undefined;
1613
- stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
1614
1652
  cwd?: string | undefined;
1653
+ stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
1654
+ obo?: undefined;
1615
1655
  }, {
1616
1656
  command: string;
1617
1657
  args: string[];
@@ -1629,12 +1669,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1629
1669
  requiresOAuth?: boolean | undefined;
1630
1670
  oauth?: {
1631
1671
  authorization_url?: string | undefined;
1672
+ scope?: string | undefined;
1673
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1632
1674
  token_url?: string | undefined;
1633
1675
  client_id?: string | undefined;
1634
1676
  client_secret?: string | undefined;
1635
- scope?: string | undefined;
1636
1677
  redirect_uri?: string | undefined;
1637
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1638
1678
  grant_types_supported?: string[] | undefined;
1639
1679
  token_endpoint_auth_methods_supported?: string[] | undefined;
1640
1680
  response_types_supported?: string[] | undefined;
@@ -1657,11 +1697,11 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1657
1697
  title: string;
1658
1698
  sensitive?: boolean | undefined;
1659
1699
  }> | undefined;
1660
- obo?: undefined;
1661
- stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
1662
1700
  cwd?: string | undefined;
1701
+ stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
1702
+ obo?: undefined;
1663
1703
  }>, z.ZodObject<{
1664
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
1704
+ /** Display name for the MCP server */
1665
1705
  title: z.ZodOptional<z.ZodString>;
1666
1706
  /** Description of the MCP server */
1667
1707
  description: z.ZodOptional<z.ZodString>;
@@ -1677,7 +1717,14 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1677
1717
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
1678
1718
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
1679
1719
  initTimeout: z.ZodOptional<z.ZodNumber>;
1680
- /** Controls visibility in chat dropdown menu (MCPSelect) */
1720
+ /**
1721
+ * Whether the server is offered in chat.
1722
+ *
1723
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
1724
+ * chat selection a request carries, so a stale or hand-written request cannot
1725
+ * reach it either. It does not restrict agents, nor a server a model spec
1726
+ * pins through `mcpServers` — both are the operator's own choice.
1727
+ */
1681
1728
  chatMenu: z.ZodOptional<z.ZodBoolean>;
1682
1729
  /**
1683
1730
  * Controls server instruction behavior:
@@ -1764,12 +1811,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1764
1811
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1765
1812
  }, "strip", z.ZodTypeAny, {
1766
1813
  authorization_url?: string | undefined;
1814
+ scope?: string | undefined;
1815
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1767
1816
  token_url?: string | undefined;
1768
1817
  client_id?: string | undefined;
1769
1818
  client_secret?: string | undefined;
1770
- scope?: string | undefined;
1771
1819
  redirect_uri?: string | undefined;
1772
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1773
1820
  grant_types_supported?: string[] | undefined;
1774
1821
  token_endpoint_auth_methods_supported?: string[] | undefined;
1775
1822
  response_types_supported?: string[] | undefined;
@@ -1781,12 +1828,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1781
1828
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1782
1829
  }, {
1783
1830
  authorization_url?: string | undefined;
1831
+ scope?: string | undefined;
1832
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1784
1833
  token_url?: string | undefined;
1785
1834
  client_id?: string | undefined;
1786
1835
  client_secret?: string | undefined;
1787
- scope?: string | undefined;
1788
1836
  redirect_uri?: string | undefined;
1789
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1790
1837
  grant_types_supported?: string[] | undefined;
1791
1838
  token_endpoint_auth_methods_supported?: string[] | undefined;
1792
1839
  response_types_supported?: string[] | undefined;
@@ -1798,12 +1845,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1798
1845
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1799
1846
  }>, {
1800
1847
  authorization_url?: string | undefined;
1848
+ scope?: string | undefined;
1849
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1801
1850
  token_url?: string | undefined;
1802
1851
  client_id?: string | undefined;
1803
1852
  client_secret?: string | undefined;
1804
- scope?: string | undefined;
1805
1853
  redirect_uri?: string | undefined;
1806
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1807
1854
  grant_types_supported?: string[] | undefined;
1808
1855
  token_endpoint_auth_methods_supported?: string[] | undefined;
1809
1856
  response_types_supported?: string[] | undefined;
@@ -1815,12 +1862,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1815
1862
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1816
1863
  }, {
1817
1864
  authorization_url?: string | undefined;
1865
+ scope?: string | undefined;
1866
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1818
1867
  token_url?: string | undefined;
1819
1868
  client_id?: string | undefined;
1820
1869
  client_secret?: string | undefined;
1821
- scope?: string | undefined;
1822
1870
  redirect_uri?: string | undefined;
1823
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1824
1871
  grant_types_supported?: string[] | undefined;
1825
1872
  token_endpoint_auth_methods_supported?: string[] | undefined;
1826
1873
  response_types_supported?: string[] | undefined;
@@ -1895,12 +1942,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1895
1942
  requiresOAuth?: boolean | undefined;
1896
1943
  oauth?: {
1897
1944
  authorization_url?: string | undefined;
1945
+ scope?: string | undefined;
1946
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1898
1947
  token_url?: string | undefined;
1899
1948
  client_id?: string | undefined;
1900
1949
  client_secret?: string | undefined;
1901
- scope?: string | undefined;
1902
1950
  redirect_uri?: string | undefined;
1903
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1904
1951
  grant_types_supported?: string[] | undefined;
1905
1952
  token_endpoint_auth_methods_supported?: string[] | undefined;
1906
1953
  response_types_supported?: string[] | undefined;
@@ -1939,12 +1986,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1939
1986
  requiresOAuth?: boolean | undefined;
1940
1987
  oauth?: {
1941
1988
  authorization_url?: string | undefined;
1989
+ scope?: string | undefined;
1990
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1942
1991
  token_url?: string | undefined;
1943
1992
  client_id?: string | undefined;
1944
1993
  client_secret?: string | undefined;
1945
- scope?: string | undefined;
1946
1994
  redirect_uri?: string | undefined;
1947
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1948
1995
  grant_types_supported?: string[] | undefined;
1949
1996
  token_endpoint_auth_methods_supported?: string[] | undefined;
1950
1997
  response_types_supported?: string[] | undefined;
@@ -1969,7 +2016,7 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1969
2016
  }> | undefined;
1970
2017
  obo?: undefined;
1971
2018
  }>, z.ZodObject<{
1972
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
2019
+ /** Display name for the MCP server */
1973
2020
  title: z.ZodOptional<z.ZodString>;
1974
2021
  /** Description of the MCP server */
1975
2022
  description: z.ZodOptional<z.ZodString>;
@@ -1985,7 +2032,14 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1985
2032
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
1986
2033
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
1987
2034
  initTimeout: z.ZodOptional<z.ZodNumber>;
1988
- /** Controls visibility in chat dropdown menu (MCPSelect) */
2035
+ /**
2036
+ * Whether the server is offered in chat.
2037
+ *
2038
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
2039
+ * chat selection a request carries, so a stale or hand-written request cannot
2040
+ * reach it either. It does not restrict agents, nor a server a model spec
2041
+ * pins through `mcpServers` — both are the operator's own choice.
2042
+ */
1989
2043
  chatMenu: z.ZodOptional<z.ZodBoolean>;
1990
2044
  /**
1991
2045
  * Controls server instruction behavior:
@@ -2072,12 +2126,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2072
2126
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2073
2127
  }, "strip", z.ZodTypeAny, {
2074
2128
  authorization_url?: string | undefined;
2129
+ scope?: string | undefined;
2130
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2075
2131
  token_url?: string | undefined;
2076
2132
  client_id?: string | undefined;
2077
2133
  client_secret?: string | undefined;
2078
- scope?: string | undefined;
2079
2134
  redirect_uri?: string | undefined;
2080
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2081
2135
  grant_types_supported?: string[] | undefined;
2082
2136
  token_endpoint_auth_methods_supported?: string[] | undefined;
2083
2137
  response_types_supported?: string[] | undefined;
@@ -2089,12 +2143,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2089
2143
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2090
2144
  }, {
2091
2145
  authorization_url?: string | undefined;
2146
+ scope?: string | undefined;
2147
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2092
2148
  token_url?: string | undefined;
2093
2149
  client_id?: string | undefined;
2094
2150
  client_secret?: string | undefined;
2095
- scope?: string | undefined;
2096
2151
  redirect_uri?: string | undefined;
2097
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2098
2152
  grant_types_supported?: string[] | undefined;
2099
2153
  token_endpoint_auth_methods_supported?: string[] | undefined;
2100
2154
  response_types_supported?: string[] | undefined;
@@ -2106,12 +2160,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2106
2160
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2107
2161
  }>, {
2108
2162
  authorization_url?: string | undefined;
2163
+ scope?: string | undefined;
2164
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2109
2165
  token_url?: string | undefined;
2110
2166
  client_id?: string | undefined;
2111
2167
  client_secret?: string | undefined;
2112
- scope?: string | undefined;
2113
2168
  redirect_uri?: string | undefined;
2114
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2115
2169
  grant_types_supported?: string[] | undefined;
2116
2170
  token_endpoint_auth_methods_supported?: string[] | undefined;
2117
2171
  response_types_supported?: string[] | undefined;
@@ -2123,12 +2177,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2123
2177
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2124
2178
  }, {
2125
2179
  authorization_url?: string | undefined;
2180
+ scope?: string | undefined;
2181
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2126
2182
  token_url?: string | undefined;
2127
2183
  client_id?: string | undefined;
2128
2184
  client_secret?: string | undefined;
2129
- scope?: string | undefined;
2130
2185
  redirect_uri?: string | undefined;
2131
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2132
2186
  grant_types_supported?: string[] | undefined;
2133
2187
  token_endpoint_auth_methods_supported?: string[] | undefined;
2134
2188
  response_types_supported?: string[] | undefined;
@@ -2220,12 +2274,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2220
2274
  requiresOAuth?: boolean | undefined;
2221
2275
  oauth?: {
2222
2276
  authorization_url?: string | undefined;
2277
+ scope?: string | undefined;
2278
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2223
2279
  token_url?: string | undefined;
2224
2280
  client_id?: string | undefined;
2225
2281
  client_secret?: string | undefined;
2226
- scope?: string | undefined;
2227
2282
  redirect_uri?: string | undefined;
2228
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2229
2283
  grant_types_supported?: string[] | undefined;
2230
2284
  token_endpoint_auth_methods_supported?: string[] | undefined;
2231
2285
  response_types_supported?: string[] | undefined;
@@ -2268,12 +2322,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2268
2322
  requiresOAuth?: boolean | undefined;
2269
2323
  oauth?: {
2270
2324
  authorization_url?: string | undefined;
2325
+ scope?: string | undefined;
2326
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2271
2327
  token_url?: string | undefined;
2272
2328
  client_id?: string | undefined;
2273
2329
  client_secret?: string | undefined;
2274
- scope?: string | undefined;
2275
2330
  redirect_uri?: string | undefined;
2276
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2277
2331
  grant_types_supported?: string[] | undefined;
2278
2332
  token_endpoint_auth_methods_supported?: string[] | undefined;
2279
2333
  response_types_supported?: string[] | undefined;
@@ -2302,7 +2356,7 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2302
2356
  headers?: Record<string, string> | undefined;
2303
2357
  proxy?: string | undefined;
2304
2358
  }>, z.ZodObject<{
2305
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
2359
+ /** Display name for the MCP server */
2306
2360
  title: z.ZodOptional<z.ZodString>;
2307
2361
  /** Description of the MCP server */
2308
2362
  description: z.ZodOptional<z.ZodString>;
@@ -2318,7 +2372,14 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2318
2372
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
2319
2373
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
2320
2374
  initTimeout: z.ZodOptional<z.ZodNumber>;
2321
- /** Controls visibility in chat dropdown menu (MCPSelect) */
2375
+ /**
2376
+ * Whether the server is offered in chat.
2377
+ *
2378
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
2379
+ * chat selection a request carries, so a stale or hand-written request cannot
2380
+ * reach it either. It does not restrict agents, nor a server a model spec
2381
+ * pins through `mcpServers` — both are the operator's own choice.
2382
+ */
2322
2383
  chatMenu: z.ZodOptional<z.ZodBoolean>;
2323
2384
  /**
2324
2385
  * Controls server instruction behavior:
@@ -2405,12 +2466,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2405
2466
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2406
2467
  }, "strip", z.ZodTypeAny, {
2407
2468
  authorization_url?: string | undefined;
2469
+ scope?: string | undefined;
2470
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2408
2471
  token_url?: string | undefined;
2409
2472
  client_id?: string | undefined;
2410
2473
  client_secret?: string | undefined;
2411
- scope?: string | undefined;
2412
2474
  redirect_uri?: string | undefined;
2413
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2414
2475
  grant_types_supported?: string[] | undefined;
2415
2476
  token_endpoint_auth_methods_supported?: string[] | undefined;
2416
2477
  response_types_supported?: string[] | undefined;
@@ -2422,12 +2483,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2422
2483
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2423
2484
  }, {
2424
2485
  authorization_url?: string | undefined;
2486
+ scope?: string | undefined;
2487
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2425
2488
  token_url?: string | undefined;
2426
2489
  client_id?: string | undefined;
2427
2490
  client_secret?: string | undefined;
2428
- scope?: string | undefined;
2429
2491
  redirect_uri?: string | undefined;
2430
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2431
2492
  grant_types_supported?: string[] | undefined;
2432
2493
  token_endpoint_auth_methods_supported?: string[] | undefined;
2433
2494
  response_types_supported?: string[] | undefined;
@@ -2439,12 +2500,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2439
2500
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2440
2501
  }>, {
2441
2502
  authorization_url?: string | undefined;
2503
+ scope?: string | undefined;
2504
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2442
2505
  token_url?: string | undefined;
2443
2506
  client_id?: string | undefined;
2444
2507
  client_secret?: string | undefined;
2445
- scope?: string | undefined;
2446
2508
  redirect_uri?: string | undefined;
2447
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2448
2509
  grant_types_supported?: string[] | undefined;
2449
2510
  token_endpoint_auth_methods_supported?: string[] | undefined;
2450
2511
  response_types_supported?: string[] | undefined;
@@ -2456,12 +2517,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2456
2517
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2457
2518
  }, {
2458
2519
  authorization_url?: string | undefined;
2520
+ scope?: string | undefined;
2521
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2459
2522
  token_url?: string | undefined;
2460
2523
  client_id?: string | undefined;
2461
2524
  client_secret?: string | undefined;
2462
- scope?: string | undefined;
2463
2525
  redirect_uri?: string | undefined;
2464
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2465
2526
  grant_types_supported?: string[] | undefined;
2466
2527
  token_endpoint_auth_methods_supported?: string[] | undefined;
2467
2528
  response_types_supported?: string[] | undefined;
@@ -2553,12 +2614,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2553
2614
  requiresOAuth?: boolean | undefined;
2554
2615
  oauth?: {
2555
2616
  authorization_url?: string | undefined;
2617
+ scope?: string | undefined;
2618
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2556
2619
  token_url?: string | undefined;
2557
2620
  client_id?: string | undefined;
2558
2621
  client_secret?: string | undefined;
2559
- scope?: string | undefined;
2560
2622
  redirect_uri?: string | undefined;
2561
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2562
2623
  grant_types_supported?: string[] | undefined;
2563
2624
  token_endpoint_auth_methods_supported?: string[] | undefined;
2564
2625
  response_types_supported?: string[] | undefined;
@@ -2601,12 +2662,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2601
2662
  requiresOAuth?: boolean | undefined;
2602
2663
  oauth?: {
2603
2664
  authorization_url?: string | undefined;
2665
+ scope?: string | undefined;
2666
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2604
2667
  token_url?: string | undefined;
2605
2668
  client_id?: string | undefined;
2606
2669
  client_secret?: string | undefined;
2607
- scope?: string | undefined;
2608
2670
  redirect_uri?: string | undefined;
2609
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2610
2671
  grant_types_supported?: string[] | undefined;
2611
2672
  token_endpoint_auth_methods_supported?: string[] | undefined;
2612
2673
  response_types_supported?: string[] | undefined;
@@ -2636,7 +2697,7 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2636
2697
  proxy?: string | undefined;
2637
2698
  }>]>;
2638
2699
  export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
2639
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
2700
+ /** Display name for the MCP server */
2640
2701
  title: z.ZodOptional<z.ZodString>;
2641
2702
  /** Description of the MCP server */
2642
2703
  description: z.ZodOptional<z.ZodString>;
@@ -2652,7 +2713,14 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2652
2713
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
2653
2714
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
2654
2715
  initTimeout: z.ZodOptional<z.ZodNumber>;
2655
- /** Controls visibility in chat dropdown menu (MCPSelect) */
2716
+ /**
2717
+ * Whether the server is offered in chat.
2718
+ *
2719
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
2720
+ * chat selection a request carries, so a stale or hand-written request cannot
2721
+ * reach it either. It does not restrict agents, nor a server a model spec
2722
+ * pins through `mcpServers` — both are the operator's own choice.
2723
+ */
2656
2724
  chatMenu: z.ZodOptional<z.ZodBoolean>;
2657
2725
  /**
2658
2726
  * Controls server instruction behavior:
@@ -2739,12 +2807,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2739
2807
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2740
2808
  }, "strip", z.ZodTypeAny, {
2741
2809
  authorization_url?: string | undefined;
2810
+ scope?: string | undefined;
2811
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2742
2812
  token_url?: string | undefined;
2743
2813
  client_id?: string | undefined;
2744
2814
  client_secret?: string | undefined;
2745
- scope?: string | undefined;
2746
2815
  redirect_uri?: string | undefined;
2747
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2748
2816
  grant_types_supported?: string[] | undefined;
2749
2817
  token_endpoint_auth_methods_supported?: string[] | undefined;
2750
2818
  response_types_supported?: string[] | undefined;
@@ -2756,12 +2824,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2756
2824
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2757
2825
  }, {
2758
2826
  authorization_url?: string | undefined;
2827
+ scope?: string | undefined;
2828
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2759
2829
  token_url?: string | undefined;
2760
2830
  client_id?: string | undefined;
2761
2831
  client_secret?: string | undefined;
2762
- scope?: string | undefined;
2763
2832
  redirect_uri?: string | undefined;
2764
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2765
2833
  grant_types_supported?: string[] | undefined;
2766
2834
  token_endpoint_auth_methods_supported?: string[] | undefined;
2767
2835
  response_types_supported?: string[] | undefined;
@@ -2773,12 +2841,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2773
2841
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2774
2842
  }>, {
2775
2843
  authorization_url?: string | undefined;
2844
+ scope?: string | undefined;
2845
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2776
2846
  token_url?: string | undefined;
2777
2847
  client_id?: string | undefined;
2778
2848
  client_secret?: string | undefined;
2779
- scope?: string | undefined;
2780
2849
  redirect_uri?: string | undefined;
2781
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2782
2850
  grant_types_supported?: string[] | undefined;
2783
2851
  token_endpoint_auth_methods_supported?: string[] | undefined;
2784
2852
  response_types_supported?: string[] | undefined;
@@ -2790,12 +2858,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2790
2858
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2791
2859
  }, {
2792
2860
  authorization_url?: string | undefined;
2861
+ scope?: string | undefined;
2862
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2793
2863
  token_url?: string | undefined;
2794
2864
  client_id?: string | undefined;
2795
2865
  client_secret?: string | undefined;
2796
- scope?: string | undefined;
2797
2866
  redirect_uri?: string | undefined;
2798
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2799
2867
  grant_types_supported?: string[] | undefined;
2800
2868
  token_endpoint_auth_methods_supported?: string[] | undefined;
2801
2869
  response_types_supported?: string[] | undefined;
@@ -2897,12 +2965,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2897
2965
  requiresOAuth?: boolean | undefined;
2898
2966
  oauth?: {
2899
2967
  authorization_url?: string | undefined;
2968
+ scope?: string | undefined;
2969
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2900
2970
  token_url?: string | undefined;
2901
2971
  client_id?: string | undefined;
2902
2972
  client_secret?: string | undefined;
2903
- scope?: string | undefined;
2904
2973
  redirect_uri?: string | undefined;
2905
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2906
2974
  grant_types_supported?: string[] | undefined;
2907
2975
  token_endpoint_auth_methods_supported?: string[] | undefined;
2908
2976
  response_types_supported?: string[] | undefined;
@@ -2925,9 +2993,9 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2925
2993
  title: string;
2926
2994
  sensitive?: boolean | undefined;
2927
2995
  }> | undefined;
2928
- obo?: undefined;
2929
- stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
2930
2996
  cwd?: string | undefined;
2997
+ stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
2998
+ obo?: undefined;
2931
2999
  }, {
2932
3000
  command: string;
2933
3001
  args: string[];
@@ -2945,12 +3013,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2945
3013
  requiresOAuth?: boolean | undefined;
2946
3014
  oauth?: {
2947
3015
  authorization_url?: string | undefined;
3016
+ scope?: string | undefined;
3017
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2948
3018
  token_url?: string | undefined;
2949
3019
  client_id?: string | undefined;
2950
3020
  client_secret?: string | undefined;
2951
- scope?: string | undefined;
2952
3021
  redirect_uri?: string | undefined;
2953
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2954
3022
  grant_types_supported?: string[] | undefined;
2955
3023
  token_endpoint_auth_methods_supported?: string[] | undefined;
2956
3024
  response_types_supported?: string[] | undefined;
@@ -2973,11 +3041,11 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2973
3041
  title: string;
2974
3042
  sensitive?: boolean | undefined;
2975
3043
  }> | undefined;
2976
- obo?: undefined;
2977
- stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
2978
3044
  cwd?: string | undefined;
3045
+ stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
3046
+ obo?: undefined;
2979
3047
  }>, z.ZodObject<{
2980
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
3048
+ /** Display name for the MCP server */
2981
3049
  title: z.ZodOptional<z.ZodString>;
2982
3050
  /** Description of the MCP server */
2983
3051
  description: z.ZodOptional<z.ZodString>;
@@ -2993,7 +3061,14 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2993
3061
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
2994
3062
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
2995
3063
  initTimeout: z.ZodOptional<z.ZodNumber>;
2996
- /** Controls visibility in chat dropdown menu (MCPSelect) */
3064
+ /**
3065
+ * Whether the server is offered in chat.
3066
+ *
3067
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
3068
+ * chat selection a request carries, so a stale or hand-written request cannot
3069
+ * reach it either. It does not restrict agents, nor a server a model spec
3070
+ * pins through `mcpServers` — both are the operator's own choice.
3071
+ */
2997
3072
  chatMenu: z.ZodOptional<z.ZodBoolean>;
2998
3073
  /**
2999
3074
  * Controls server instruction behavior:
@@ -3080,12 +3155,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3080
3155
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3081
3156
  }, "strip", z.ZodTypeAny, {
3082
3157
  authorization_url?: string | undefined;
3158
+ scope?: string | undefined;
3159
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3083
3160
  token_url?: string | undefined;
3084
3161
  client_id?: string | undefined;
3085
3162
  client_secret?: string | undefined;
3086
- scope?: string | undefined;
3087
3163
  redirect_uri?: string | undefined;
3088
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3089
3164
  grant_types_supported?: string[] | undefined;
3090
3165
  token_endpoint_auth_methods_supported?: string[] | undefined;
3091
3166
  response_types_supported?: string[] | undefined;
@@ -3097,12 +3172,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3097
3172
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3098
3173
  }, {
3099
3174
  authorization_url?: string | undefined;
3175
+ scope?: string | undefined;
3176
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3100
3177
  token_url?: string | undefined;
3101
3178
  client_id?: string | undefined;
3102
3179
  client_secret?: string | undefined;
3103
- scope?: string | undefined;
3104
3180
  redirect_uri?: string | undefined;
3105
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3106
3181
  grant_types_supported?: string[] | undefined;
3107
3182
  token_endpoint_auth_methods_supported?: string[] | undefined;
3108
3183
  response_types_supported?: string[] | undefined;
@@ -3114,12 +3189,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3114
3189
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3115
3190
  }>, {
3116
3191
  authorization_url?: string | undefined;
3192
+ scope?: string | undefined;
3193
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3117
3194
  token_url?: string | undefined;
3118
3195
  client_id?: string | undefined;
3119
3196
  client_secret?: string | undefined;
3120
- scope?: string | undefined;
3121
3197
  redirect_uri?: string | undefined;
3122
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3123
3198
  grant_types_supported?: string[] | undefined;
3124
3199
  token_endpoint_auth_methods_supported?: string[] | undefined;
3125
3200
  response_types_supported?: string[] | undefined;
@@ -3131,12 +3206,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3131
3206
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3132
3207
  }, {
3133
3208
  authorization_url?: string | undefined;
3209
+ scope?: string | undefined;
3210
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3134
3211
  token_url?: string | undefined;
3135
3212
  client_id?: string | undefined;
3136
3213
  client_secret?: string | undefined;
3137
- scope?: string | undefined;
3138
3214
  redirect_uri?: string | undefined;
3139
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3140
3215
  grant_types_supported?: string[] | undefined;
3141
3216
  token_endpoint_auth_methods_supported?: string[] | undefined;
3142
3217
  response_types_supported?: string[] | undefined;
@@ -3211,12 +3286,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3211
3286
  requiresOAuth?: boolean | undefined;
3212
3287
  oauth?: {
3213
3288
  authorization_url?: string | undefined;
3289
+ scope?: string | undefined;
3290
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3214
3291
  token_url?: string | undefined;
3215
3292
  client_id?: string | undefined;
3216
3293
  client_secret?: string | undefined;
3217
- scope?: string | undefined;
3218
3294
  redirect_uri?: string | undefined;
3219
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3220
3295
  grant_types_supported?: string[] | undefined;
3221
3296
  token_endpoint_auth_methods_supported?: string[] | undefined;
3222
3297
  response_types_supported?: string[] | undefined;
@@ -3255,12 +3330,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3255
3330
  requiresOAuth?: boolean | undefined;
3256
3331
  oauth?: {
3257
3332
  authorization_url?: string | undefined;
3333
+ scope?: string | undefined;
3334
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3258
3335
  token_url?: string | undefined;
3259
3336
  client_id?: string | undefined;
3260
3337
  client_secret?: string | undefined;
3261
- scope?: string | undefined;
3262
3338
  redirect_uri?: string | undefined;
3263
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3264
3339
  grant_types_supported?: string[] | undefined;
3265
3340
  token_endpoint_auth_methods_supported?: string[] | undefined;
3266
3341
  response_types_supported?: string[] | undefined;
@@ -3285,7 +3360,7 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3285
3360
  }> | undefined;
3286
3361
  obo?: undefined;
3287
3362
  }>, z.ZodObject<{
3288
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
3363
+ /** Display name for the MCP server */
3289
3364
  title: z.ZodOptional<z.ZodString>;
3290
3365
  /** Description of the MCP server */
3291
3366
  description: z.ZodOptional<z.ZodString>;
@@ -3301,7 +3376,14 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3301
3376
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
3302
3377
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
3303
3378
  initTimeout: z.ZodOptional<z.ZodNumber>;
3304
- /** Controls visibility in chat dropdown menu (MCPSelect) */
3379
+ /**
3380
+ * Whether the server is offered in chat.
3381
+ *
3382
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
3383
+ * chat selection a request carries, so a stale or hand-written request cannot
3384
+ * reach it either. It does not restrict agents, nor a server a model spec
3385
+ * pins through `mcpServers` — both are the operator's own choice.
3386
+ */
3305
3387
  chatMenu: z.ZodOptional<z.ZodBoolean>;
3306
3388
  /**
3307
3389
  * Controls server instruction behavior:
@@ -3388,12 +3470,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3388
3470
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3389
3471
  }, "strip", z.ZodTypeAny, {
3390
3472
  authorization_url?: string | undefined;
3473
+ scope?: string | undefined;
3474
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3391
3475
  token_url?: string | undefined;
3392
3476
  client_id?: string | undefined;
3393
3477
  client_secret?: string | undefined;
3394
- scope?: string | undefined;
3395
3478
  redirect_uri?: string | undefined;
3396
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3397
3479
  grant_types_supported?: string[] | undefined;
3398
3480
  token_endpoint_auth_methods_supported?: string[] | undefined;
3399
3481
  response_types_supported?: string[] | undefined;
@@ -3405,12 +3487,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3405
3487
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3406
3488
  }, {
3407
3489
  authorization_url?: string | undefined;
3490
+ scope?: string | undefined;
3491
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3408
3492
  token_url?: string | undefined;
3409
3493
  client_id?: string | undefined;
3410
3494
  client_secret?: string | undefined;
3411
- scope?: string | undefined;
3412
3495
  redirect_uri?: string | undefined;
3413
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3414
3496
  grant_types_supported?: string[] | undefined;
3415
3497
  token_endpoint_auth_methods_supported?: string[] | undefined;
3416
3498
  response_types_supported?: string[] | undefined;
@@ -3422,12 +3504,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3422
3504
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3423
3505
  }>, {
3424
3506
  authorization_url?: string | undefined;
3507
+ scope?: string | undefined;
3508
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3425
3509
  token_url?: string | undefined;
3426
3510
  client_id?: string | undefined;
3427
3511
  client_secret?: string | undefined;
3428
- scope?: string | undefined;
3429
3512
  redirect_uri?: string | undefined;
3430
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3431
3513
  grant_types_supported?: string[] | undefined;
3432
3514
  token_endpoint_auth_methods_supported?: string[] | undefined;
3433
3515
  response_types_supported?: string[] | undefined;
@@ -3439,12 +3521,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3439
3521
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3440
3522
  }, {
3441
3523
  authorization_url?: string | undefined;
3524
+ scope?: string | undefined;
3525
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3442
3526
  token_url?: string | undefined;
3443
3527
  client_id?: string | undefined;
3444
3528
  client_secret?: string | undefined;
3445
- scope?: string | undefined;
3446
3529
  redirect_uri?: string | undefined;
3447
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3448
3530
  grant_types_supported?: string[] | undefined;
3449
3531
  token_endpoint_auth_methods_supported?: string[] | undefined;
3450
3532
  response_types_supported?: string[] | undefined;
@@ -3536,12 +3618,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3536
3618
  requiresOAuth?: boolean | undefined;
3537
3619
  oauth?: {
3538
3620
  authorization_url?: string | undefined;
3621
+ scope?: string | undefined;
3622
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3539
3623
  token_url?: string | undefined;
3540
3624
  client_id?: string | undefined;
3541
3625
  client_secret?: string | undefined;
3542
- scope?: string | undefined;
3543
3626
  redirect_uri?: string | undefined;
3544
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3545
3627
  grant_types_supported?: string[] | undefined;
3546
3628
  token_endpoint_auth_methods_supported?: string[] | undefined;
3547
3629
  response_types_supported?: string[] | undefined;
@@ -3584,12 +3666,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3584
3666
  requiresOAuth?: boolean | undefined;
3585
3667
  oauth?: {
3586
3668
  authorization_url?: string | undefined;
3669
+ scope?: string | undefined;
3670
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3587
3671
  token_url?: string | undefined;
3588
3672
  client_id?: string | undefined;
3589
3673
  client_secret?: string | undefined;
3590
- scope?: string | undefined;
3591
3674
  redirect_uri?: string | undefined;
3592
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3593
3675
  grant_types_supported?: string[] | undefined;
3594
3676
  token_endpoint_auth_methods_supported?: string[] | undefined;
3595
3677
  response_types_supported?: string[] | undefined;
@@ -3618,7 +3700,7 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3618
3700
  headers?: Record<string, string> | undefined;
3619
3701
  proxy?: string | undefined;
3620
3702
  }>, z.ZodObject<{
3621
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
3703
+ /** Display name for the MCP server */
3622
3704
  title: z.ZodOptional<z.ZodString>;
3623
3705
  /** Description of the MCP server */
3624
3706
  description: z.ZodOptional<z.ZodString>;
@@ -3634,7 +3716,14 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3634
3716
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
3635
3717
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
3636
3718
  initTimeout: z.ZodOptional<z.ZodNumber>;
3637
- /** Controls visibility in chat dropdown menu (MCPSelect) */
3719
+ /**
3720
+ * Whether the server is offered in chat.
3721
+ *
3722
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
3723
+ * chat selection a request carries, so a stale or hand-written request cannot
3724
+ * reach it either. It does not restrict agents, nor a server a model spec
3725
+ * pins through `mcpServers` — both are the operator's own choice.
3726
+ */
3638
3727
  chatMenu: z.ZodOptional<z.ZodBoolean>;
3639
3728
  /**
3640
3729
  * Controls server instruction behavior:
@@ -3721,12 +3810,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3721
3810
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3722
3811
  }, "strip", z.ZodTypeAny, {
3723
3812
  authorization_url?: string | undefined;
3813
+ scope?: string | undefined;
3814
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3724
3815
  token_url?: string | undefined;
3725
3816
  client_id?: string | undefined;
3726
3817
  client_secret?: string | undefined;
3727
- scope?: string | undefined;
3728
3818
  redirect_uri?: string | undefined;
3729
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3730
3819
  grant_types_supported?: string[] | undefined;
3731
3820
  token_endpoint_auth_methods_supported?: string[] | undefined;
3732
3821
  response_types_supported?: string[] | undefined;
@@ -3738,12 +3827,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3738
3827
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3739
3828
  }, {
3740
3829
  authorization_url?: string | undefined;
3830
+ scope?: string | undefined;
3831
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3741
3832
  token_url?: string | undefined;
3742
3833
  client_id?: string | undefined;
3743
3834
  client_secret?: string | undefined;
3744
- scope?: string | undefined;
3745
3835
  redirect_uri?: string | undefined;
3746
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3747
3836
  grant_types_supported?: string[] | undefined;
3748
3837
  token_endpoint_auth_methods_supported?: string[] | undefined;
3749
3838
  response_types_supported?: string[] | undefined;
@@ -3755,12 +3844,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3755
3844
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3756
3845
  }>, {
3757
3846
  authorization_url?: string | undefined;
3847
+ scope?: string | undefined;
3848
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3758
3849
  token_url?: string | undefined;
3759
3850
  client_id?: string | undefined;
3760
3851
  client_secret?: string | undefined;
3761
- scope?: string | undefined;
3762
3852
  redirect_uri?: string | undefined;
3763
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3764
3853
  grant_types_supported?: string[] | undefined;
3765
3854
  token_endpoint_auth_methods_supported?: string[] | undefined;
3766
3855
  response_types_supported?: string[] | undefined;
@@ -3772,12 +3861,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3772
3861
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3773
3862
  }, {
3774
3863
  authorization_url?: string | undefined;
3864
+ scope?: string | undefined;
3865
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3775
3866
  token_url?: string | undefined;
3776
3867
  client_id?: string | undefined;
3777
3868
  client_secret?: string | undefined;
3778
- scope?: string | undefined;
3779
3869
  redirect_uri?: string | undefined;
3780
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3781
3870
  grant_types_supported?: string[] | undefined;
3782
3871
  token_endpoint_auth_methods_supported?: string[] | undefined;
3783
3872
  response_types_supported?: string[] | undefined;
@@ -3869,12 +3958,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3869
3958
  requiresOAuth?: boolean | undefined;
3870
3959
  oauth?: {
3871
3960
  authorization_url?: string | undefined;
3961
+ scope?: string | undefined;
3962
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3872
3963
  token_url?: string | undefined;
3873
3964
  client_id?: string | undefined;
3874
3965
  client_secret?: string | undefined;
3875
- scope?: string | undefined;
3876
3966
  redirect_uri?: string | undefined;
3877
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3878
3967
  grant_types_supported?: string[] | undefined;
3879
3968
  token_endpoint_auth_methods_supported?: string[] | undefined;
3880
3969
  response_types_supported?: string[] | undefined;
@@ -3917,12 +4006,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3917
4006
  requiresOAuth?: boolean | undefined;
3918
4007
  oauth?: {
3919
4008
  authorization_url?: string | undefined;
4009
+ scope?: string | undefined;
4010
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3920
4011
  token_url?: string | undefined;
3921
4012
  client_id?: string | undefined;
3922
4013
  client_secret?: string | undefined;
3923
- scope?: string | undefined;
3924
4014
  redirect_uri?: string | undefined;
3925
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3926
4015
  grant_types_supported?: string[] | undefined;
3927
4016
  token_endpoint_auth_methods_supported?: string[] | undefined;
3928
4017
  response_types_supported?: string[] | undefined;
@@ -3973,10 +4062,10 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
3973
4062
  [x: string]: z.ZodTypeAny;
3974
4063
  [x: number]: z.ZodTypeAny;
3975
4064
  oauth: z.ZodOptional<z.ZodEffects<z.ZodObject<{
3976
- client_id: z.ZodOptional<z.ZodString>;
3977
- client_secret: z.ZodOptional<z.ZodString>;
3978
4065
  scope: z.ZodOptional<z.ZodString>;
3979
4066
  token_exchange_method: z.ZodOptional<z.ZodNativeEnum<typeof TokenExchangeMethodEnum>>;
4067
+ client_id: z.ZodOptional<z.ZodString>;
4068
+ client_secret: z.ZodOptional<z.ZodString>;
3980
4069
  grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3981
4070
  token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3982
4071
  response_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -3992,12 +4081,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
3992
4081
  forward_audience_on_refresh: z.ZodOptional<z.ZodNever>;
3993
4082
  }, "strip", z.ZodTypeAny, {
3994
4083
  authorization_url?: string | undefined;
4084
+ scope?: string | undefined;
4085
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3995
4086
  token_url?: string | undefined;
3996
4087
  client_id?: string | undefined;
3997
4088
  client_secret?: string | undefined;
3998
- scope?: string | undefined;
3999
4089
  redirect_uri?: string | undefined;
4000
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4001
4090
  grant_types_supported?: string[] | undefined;
4002
4091
  token_endpoint_auth_methods_supported?: string[] | undefined;
4003
4092
  response_types_supported?: string[] | undefined;
@@ -4009,12 +4098,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4009
4098
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4010
4099
  }, {
4011
4100
  authorization_url?: string | undefined;
4101
+ scope?: string | undefined;
4102
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4012
4103
  token_url?: string | undefined;
4013
4104
  client_id?: string | undefined;
4014
4105
  client_secret?: string | undefined;
4015
- scope?: string | undefined;
4016
4106
  redirect_uri?: string | undefined;
4017
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4018
4107
  grant_types_supported?: string[] | undefined;
4019
4108
  token_endpoint_auth_methods_supported?: string[] | undefined;
4020
4109
  response_types_supported?: string[] | undefined;
@@ -4026,12 +4115,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4026
4115
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4027
4116
  }>, {
4028
4117
  authorization_url?: string | undefined;
4118
+ scope?: string | undefined;
4119
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4029
4120
  token_url?: string | undefined;
4030
4121
  client_id?: string | undefined;
4031
4122
  client_secret?: string | undefined;
4032
- scope?: string | undefined;
4033
4123
  redirect_uri?: string | undefined;
4034
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4035
4124
  grant_types_supported?: string[] | undefined;
4036
4125
  token_endpoint_auth_methods_supported?: string[] | undefined;
4037
4126
  response_types_supported?: string[] | undefined;
@@ -4043,12 +4132,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4043
4132
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4044
4133
  }, {
4045
4134
  authorization_url?: string | undefined;
4135
+ scope?: string | undefined;
4136
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4046
4137
  token_url?: string | undefined;
4047
4138
  client_id?: string | undefined;
4048
4139
  client_secret?: string | undefined;
4049
- scope?: string | undefined;
4050
4140
  redirect_uri?: string | undefined;
4051
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4052
4141
  grant_types_supported?: string[] | undefined;
4053
4142
  token_endpoint_auth_methods_supported?: string[] | undefined;
4054
4143
  response_types_supported?: string[] | undefined;
@@ -4075,10 +4164,10 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4075
4164
  [x: string]: z.ZodTypeAny;
4076
4165
  [x: number]: z.ZodTypeAny;
4077
4166
  oauth: z.ZodOptional<z.ZodEffects<z.ZodObject<{
4078
- client_id: z.ZodOptional<z.ZodString>;
4079
- client_secret: z.ZodOptional<z.ZodString>;
4080
4167
  scope: z.ZodOptional<z.ZodString>;
4081
4168
  token_exchange_method: z.ZodOptional<z.ZodNativeEnum<typeof TokenExchangeMethodEnum>>;
4169
+ client_id: z.ZodOptional<z.ZodString>;
4170
+ client_secret: z.ZodOptional<z.ZodString>;
4082
4171
  grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4083
4172
  token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4084
4173
  response_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -4094,12 +4183,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4094
4183
  forward_audience_on_refresh: z.ZodOptional<z.ZodNever>;
4095
4184
  }, "strip", z.ZodTypeAny, {
4096
4185
  authorization_url?: string | undefined;
4186
+ scope?: string | undefined;
4187
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4097
4188
  token_url?: string | undefined;
4098
4189
  client_id?: string | undefined;
4099
4190
  client_secret?: string | undefined;
4100
- scope?: string | undefined;
4101
4191
  redirect_uri?: string | undefined;
4102
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4103
4192
  grant_types_supported?: string[] | undefined;
4104
4193
  token_endpoint_auth_methods_supported?: string[] | undefined;
4105
4194
  response_types_supported?: string[] | undefined;
@@ -4111,12 +4200,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4111
4200
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4112
4201
  }, {
4113
4202
  authorization_url?: string | undefined;
4203
+ scope?: string | undefined;
4204
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4114
4205
  token_url?: string | undefined;
4115
4206
  client_id?: string | undefined;
4116
4207
  client_secret?: string | undefined;
4117
- scope?: string | undefined;
4118
4208
  redirect_uri?: string | undefined;
4119
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4120
4209
  grant_types_supported?: string[] | undefined;
4121
4210
  token_endpoint_auth_methods_supported?: string[] | undefined;
4122
4211
  response_types_supported?: string[] | undefined;
@@ -4128,12 +4217,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4128
4217
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4129
4218
  }>, {
4130
4219
  authorization_url?: string | undefined;
4220
+ scope?: string | undefined;
4221
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4131
4222
  token_url?: string | undefined;
4132
4223
  client_id?: string | undefined;
4133
4224
  client_secret?: string | undefined;
4134
- scope?: string | undefined;
4135
4225
  redirect_uri?: string | undefined;
4136
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4137
4226
  grant_types_supported?: string[] | undefined;
4138
4227
  token_endpoint_auth_methods_supported?: string[] | undefined;
4139
4228
  response_types_supported?: string[] | undefined;
@@ -4145,12 +4234,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4145
4234
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4146
4235
  }, {
4147
4236
  authorization_url?: string | undefined;
4237
+ scope?: string | undefined;
4238
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4148
4239
  token_url?: string | undefined;
4149
4240
  client_id?: string | undefined;
4150
4241
  client_secret?: string | undefined;
4151
- scope?: string | undefined;
4152
4242
  redirect_uri?: string | undefined;
4153
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4154
4243
  grant_types_supported?: string[] | undefined;
4155
4244
  token_endpoint_auth_methods_supported?: string[] | undefined;
4156
4245
  response_types_supported?: string[] | undefined;
@@ -4180,10 +4269,10 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4180
4269
  [x: string]: z.ZodTypeAny;
4181
4270
  [x: number]: z.ZodTypeAny;
4182
4271
  oauth: z.ZodOptional<z.ZodEffects<z.ZodObject<{
4183
- client_id: z.ZodOptional<z.ZodString>;
4184
- client_secret: z.ZodOptional<z.ZodString>;
4185
4272
  scope: z.ZodOptional<z.ZodString>;
4186
4273
  token_exchange_method: z.ZodOptional<z.ZodNativeEnum<typeof TokenExchangeMethodEnum>>;
4274
+ client_id: z.ZodOptional<z.ZodString>;
4275
+ client_secret: z.ZodOptional<z.ZodString>;
4187
4276
  grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4188
4277
  token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4189
4278
  response_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -4199,12 +4288,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4199
4288
  forward_audience_on_refresh: z.ZodOptional<z.ZodNever>;
4200
4289
  }, "strip", z.ZodTypeAny, {
4201
4290
  authorization_url?: string | undefined;
4291
+ scope?: string | undefined;
4292
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4202
4293
  token_url?: string | undefined;
4203
4294
  client_id?: string | undefined;
4204
4295
  client_secret?: string | undefined;
4205
- scope?: string | undefined;
4206
4296
  redirect_uri?: string | undefined;
4207
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4208
4297
  grant_types_supported?: string[] | undefined;
4209
4298
  token_endpoint_auth_methods_supported?: string[] | undefined;
4210
4299
  response_types_supported?: string[] | undefined;
@@ -4216,12 +4305,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4216
4305
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4217
4306
  }, {
4218
4307
  authorization_url?: string | undefined;
4308
+ scope?: string | undefined;
4309
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4219
4310
  token_url?: string | undefined;
4220
4311
  client_id?: string | undefined;
4221
4312
  client_secret?: string | undefined;
4222
- scope?: string | undefined;
4223
4313
  redirect_uri?: string | undefined;
4224
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4225
4314
  grant_types_supported?: string[] | undefined;
4226
4315
  token_endpoint_auth_methods_supported?: string[] | undefined;
4227
4316
  response_types_supported?: string[] | undefined;
@@ -4233,12 +4322,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4233
4322
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4234
4323
  }>, {
4235
4324
  authorization_url?: string | undefined;
4325
+ scope?: string | undefined;
4326
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4236
4327
  token_url?: string | undefined;
4237
4328
  client_id?: string | undefined;
4238
4329
  client_secret?: string | undefined;
4239
- scope?: string | undefined;
4240
4330
  redirect_uri?: string | undefined;
4241
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4242
4331
  grant_types_supported?: string[] | undefined;
4243
4332
  token_endpoint_auth_methods_supported?: string[] | undefined;
4244
4333
  response_types_supported?: string[] | undefined;
@@ -4250,12 +4339,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4250
4339
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4251
4340
  }, {
4252
4341
  authorization_url?: string | undefined;
4342
+ scope?: string | undefined;
4343
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4253
4344
  token_url?: string | undefined;
4254
4345
  client_id?: string | undefined;
4255
4346
  client_secret?: string | undefined;
4256
- scope?: string | undefined;
4257
4347
  redirect_uri?: string | undefined;
4258
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4259
4348
  grant_types_supported?: string[] | undefined;
4260
4349
  token_endpoint_auth_methods_supported?: string[] | undefined;
4261
4350
  response_types_supported?: string[] | undefined;