mcp-use 1.6.1-canary.2 → 1.6.1

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.
@@ -149,59 +149,26 @@ export declare abstract class BaseConnector {
149
149
  * @param options - Request options
150
150
  * @returns Resource list with optional nextCursor for pagination
151
151
  */
152
- listResources(cursor?: string, options?: RequestOptions): Promise<import("zod").objectOutputType<{
153
- _meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
154
- } & {
155
- nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
156
- } & {
157
- resources: import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
158
- name: import("zod").ZodString;
159
- title: import("zod").ZodOptional<import("zod").ZodString>;
160
- }, {
161
- uri: import("zod").ZodString;
162
- description: import("zod").ZodOptional<import("zod").ZodString>;
163
- mimeType: import("zod").ZodOptional<import("zod").ZodString>;
164
- _meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
165
- }>, {
166
- icons: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
167
- src: import("zod").ZodString;
168
- mimeType: import("zod").ZodOptional<import("zod").ZodString>;
169
- sizes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
170
- }, "strip", import("zod").ZodTypeAny, {
171
- src: string;
172
- mimeType?: string | undefined;
173
- sizes?: string[] | undefined;
174
- }, {
175
- src: string;
176
- mimeType?: string | undefined;
177
- sizes?: string[] | undefined;
178
- }>, "many">>;
179
- }>, "strip", import("zod").ZodTypeAny, {
180
- name: string;
152
+ listResources(cursor?: string, options?: RequestOptions): Promise<{
153
+ [x: string]: unknown;
154
+ resources: {
181
155
  uri: string;
182
- _meta?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
183
- mimeType?: string | undefined;
184
- icons?: {
185
- src: string;
186
- mimeType?: string | undefined;
187
- sizes?: string[] | undefined;
188
- }[] | undefined;
189
- title?: string | undefined;
190
- description?: string | undefined;
191
- }, {
192
156
  name: string;
193
- uri: string;
194
- _meta?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
157
+ description?: string | undefined;
195
158
  mimeType?: string | undefined;
159
+ _meta?: {
160
+ [x: string]: unknown;
161
+ } | undefined;
196
162
  icons?: {
197
163
  src: string;
198
164
  mimeType?: string | undefined;
199
165
  sizes?: string[] | undefined;
200
166
  }[] | undefined;
201
167
  title?: string | undefined;
202
- description?: string | undefined;
203
- }>, "many">;
204
- }, import("zod").ZodTypeAny, "passthrough">>;
168
+ }[];
169
+ _meta?: Record<string, unknown> | undefined;
170
+ nextCursor?: string | undefined;
171
+ }>;
205
172
  /**
206
173
  * List all resources from the server, automatically handling pagination
207
174
  *
@@ -217,97 +184,42 @@ export declare abstract class BaseConnector {
217
184
  * @param options - Request options
218
185
  * @returns List of available resource templates
219
186
  */
220
- listResourceTemplates(options?: RequestOptions): Promise<import("zod").objectOutputType<{
221
- _meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
222
- } & {
223
- nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
224
- } & {
225
- resourceTemplates: import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
226
- name: import("zod").ZodString;
227
- title: import("zod").ZodOptional<import("zod").ZodString>;
228
- }, {
229
- uriTemplate: import("zod").ZodString;
230
- description: import("zod").ZodOptional<import("zod").ZodString>;
231
- mimeType: import("zod").ZodOptional<import("zod").ZodString>;
232
- _meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
233
- }>, {
234
- icons: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
235
- src: import("zod").ZodString;
236
- mimeType: import("zod").ZodOptional<import("zod").ZodString>;
237
- sizes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
238
- }, "strip", import("zod").ZodTypeAny, {
239
- src: string;
240
- mimeType?: string | undefined;
241
- sizes?: string[] | undefined;
242
- }, {
243
- src: string;
244
- mimeType?: string | undefined;
245
- sizes?: string[] | undefined;
246
- }>, "many">>;
247
- }>, "strip", import("zod").ZodTypeAny, {
248
- name: string;
187
+ listResourceTemplates(options?: RequestOptions): Promise<{
188
+ [x: string]: unknown;
189
+ resourceTemplates: {
249
190
  uriTemplate: string;
250
- _meta?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
251
- mimeType?: string | undefined;
252
- icons?: {
253
- src: string;
254
- mimeType?: string | undefined;
255
- sizes?: string[] | undefined;
256
- }[] | undefined;
257
- title?: string | undefined;
258
- description?: string | undefined;
259
- }, {
260
191
  name: string;
261
- uriTemplate: string;
262
- _meta?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
192
+ description?: string | undefined;
263
193
  mimeType?: string | undefined;
194
+ _meta?: {
195
+ [x: string]: unknown;
196
+ } | undefined;
264
197
  icons?: {
265
198
  src: string;
266
199
  mimeType?: string | undefined;
267
200
  sizes?: string[] | undefined;
268
201
  }[] | undefined;
269
202
  title?: string | undefined;
270
- description?: string | undefined;
271
- }>, "many">;
272
- }, import("zod").ZodTypeAny, "passthrough">>;
203
+ }[];
204
+ _meta?: Record<string, unknown> | undefined;
205
+ nextCursor?: string | undefined;
206
+ }>;
273
207
  /** Read a resource by URI. */
274
- readResource(uri: string, options?: RequestOptions): Promise<import("zod").objectOutputType<{
275
- _meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
276
- } & {
277
- contents: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodObject<import("zod").objectUtil.extendShape<{
278
- uri: import("zod").ZodString;
279
- mimeType: import("zod").ZodOptional<import("zod").ZodString>;
280
- _meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
281
- }, {
282
- text: import("zod").ZodString;
283
- }>, "strip", import("zod").ZodTypeAny, {
208
+ readResource(uri: string, options?: RequestOptions): Promise<{
209
+ [x: string]: unknown;
210
+ contents: ({
284
211
  uri: string;
285
212
  text: string;
286
- _meta?: Record<string, unknown> | undefined;
287
213
  mimeType?: string | undefined;
288
- }, {
289
- uri: string;
290
- text: string;
291
214
  _meta?: Record<string, unknown> | undefined;
292
- mimeType?: string | undefined;
293
- }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<{
294
- uri: import("zod").ZodString;
295
- mimeType: import("zod").ZodOptional<import("zod").ZodString>;
296
- _meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
297
- }, {
298
- blob: import("zod").ZodEffects<import("zod").ZodString, string, string>;
299
- }>, "strip", import("zod").ZodTypeAny, {
215
+ } | {
300
216
  uri: string;
301
217
  blob: string;
302
- _meta?: Record<string, unknown> | undefined;
303
218
  mimeType?: string | undefined;
304
- }, {
305
- uri: string;
306
- blob: string;
307
219
  _meta?: Record<string, unknown> | undefined;
308
- mimeType?: string | undefined;
309
- }>]>, "many">;
310
- }, import("zod").ZodTypeAny, "passthrough">>;
220
+ })[];
221
+ _meta?: Record<string, unknown> | undefined;
222
+ }>;
311
223
  /**
312
224
  * Subscribe to resource updates
313
225
  *
@@ -326,240 +238,32 @@ export declare abstract class BaseConnector {
326
238
  unsubscribeFromResource(uri: string, options?: RequestOptions): Promise<{
327
239
  _meta?: Record<string, unknown> | undefined;
328
240
  }>;
329
- listPrompts(): Promise<import("zod").objectOutputType<{
330
- _meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
331
- } & {
332
- nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
333
- } & {
334
- prompts: import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
335
- name: import("zod").ZodString;
336
- title: import("zod").ZodOptional<import("zod").ZodString>;
337
- }, {
338
- description: import("zod").ZodOptional<import("zod").ZodString>;
339
- arguments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
340
- name: import("zod").ZodString;
341
- description: import("zod").ZodOptional<import("zod").ZodString>;
342
- required: import("zod").ZodOptional<import("zod").ZodBoolean>;
343
- }, "strip", import("zod").ZodTypeAny, {
344
- name: string;
345
- description?: string | undefined;
346
- required?: boolean | undefined;
347
- }, {
348
- name: string;
349
- description?: string | undefined;
350
- required?: boolean | undefined;
351
- }>, "many">>;
352
- _meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
353
- }>, {
354
- icons: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
355
- src: import("zod").ZodString;
356
- mimeType: import("zod").ZodOptional<import("zod").ZodString>;
357
- sizes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
358
- }, "strip", import("zod").ZodTypeAny, {
359
- src: string;
360
- mimeType?: string | undefined;
361
- sizes?: string[] | undefined;
362
- }, {
363
- src: string;
364
- mimeType?: string | undefined;
365
- sizes?: string[] | undefined;
366
- }>, "many">>;
367
- }>, "strip", import("zod").ZodTypeAny, {
241
+ listPrompts(): Promise<{
242
+ [x: string]: unknown;
243
+ prompts: {
368
244
  name: string;
369
- _meta?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
370
- icons?: {
371
- src: string;
372
- mimeType?: string | undefined;
373
- sizes?: string[] | undefined;
374
- }[] | undefined;
375
- title?: string | undefined;
376
245
  description?: string | undefined;
377
246
  arguments?: {
378
247
  name: string;
379
248
  description?: string | undefined;
380
249
  required?: boolean | undefined;
381
250
  }[] | undefined;
382
- }, {
383
- name: string;
384
- _meta?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
251
+ _meta?: {
252
+ [x: string]: unknown;
253
+ } | undefined;
385
254
  icons?: {
386
255
  src: string;
387
256
  mimeType?: string | undefined;
388
257
  sizes?: string[] | undefined;
389
258
  }[] | undefined;
390
259
  title?: string | undefined;
391
- description?: string | undefined;
392
- arguments?: {
393
- name: string;
394
- description?: string | undefined;
395
- required?: boolean | undefined;
396
- }[] | undefined;
397
- }>, "many">;
398
- }, import("zod").ZodTypeAny, "passthrough">>;
399
- getPrompt(name: string, args: Record<string, any>): Promise<import("zod").objectOutputType<{
400
- _meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
401
- } & {
402
- description: import("zod").ZodOptional<import("zod").ZodString>;
403
- messages: import("zod").ZodArray<import("zod").ZodObject<{
404
- role: import("zod").ZodEnum<["user", "assistant"]>;
405
- content: import("zod").ZodUnion<[import("zod").ZodObject<{
406
- type: import("zod").ZodLiteral<"text">;
407
- text: import("zod").ZodString;
408
- _meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
409
- }, "strip", import("zod").ZodTypeAny, {
410
- type: "text";
411
- text: string;
412
- _meta?: Record<string, unknown> | undefined;
413
- }, {
414
- type: "text";
415
- text: string;
416
- _meta?: Record<string, unknown> | undefined;
417
- }>, import("zod").ZodObject<{
418
- type: import("zod").ZodLiteral<"image">;
419
- data: import("zod").ZodEffects<import("zod").ZodString, string, string>;
420
- mimeType: import("zod").ZodString;
421
- _meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
422
- }, "strip", import("zod").ZodTypeAny, {
423
- type: "image";
424
- data: string;
425
- mimeType: string;
426
- _meta?: Record<string, unknown> | undefined;
427
- }, {
428
- type: "image";
429
- data: string;
430
- mimeType: string;
431
- _meta?: Record<string, unknown> | undefined;
432
- }>, import("zod").ZodObject<{
433
- type: import("zod").ZodLiteral<"audio">;
434
- data: import("zod").ZodEffects<import("zod").ZodString, string, string>;
435
- mimeType: import("zod").ZodString;
436
- _meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
437
- }, "strip", import("zod").ZodTypeAny, {
438
- type: "audio";
439
- data: string;
440
- mimeType: string;
441
- _meta?: Record<string, unknown> | undefined;
442
- }, {
443
- type: "audio";
444
- data: string;
445
- mimeType: string;
446
- _meta?: Record<string, unknown> | undefined;
447
- }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
448
- name: import("zod").ZodString;
449
- title: import("zod").ZodOptional<import("zod").ZodString>;
450
- }, {
451
- uri: import("zod").ZodString;
452
- description: import("zod").ZodOptional<import("zod").ZodString>;
453
- mimeType: import("zod").ZodOptional<import("zod").ZodString>;
454
- _meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
455
- }>, {
456
- icons: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
457
- src: import("zod").ZodString;
458
- mimeType: import("zod").ZodOptional<import("zod").ZodString>;
459
- sizes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
460
- }, "strip", import("zod").ZodTypeAny, {
461
- src: string;
462
- mimeType?: string | undefined;
463
- sizes?: string[] | undefined;
464
- }, {
465
- src: string;
466
- mimeType?: string | undefined;
467
- sizes?: string[] | undefined;
468
- }>, "many">>;
469
- }>, {
470
- type: import("zod").ZodLiteral<"resource_link">;
471
- }>, "strip", import("zod").ZodTypeAny, {
472
- type: "resource_link";
473
- name: string;
474
- uri: string;
475
- _meta?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
476
- mimeType?: string | undefined;
477
- icons?: {
478
- src: string;
479
- mimeType?: string | undefined;
480
- sizes?: string[] | undefined;
481
- }[] | undefined;
482
- title?: string | undefined;
483
- description?: string | undefined;
484
- }, {
485
- type: "resource_link";
486
- name: string;
487
- uri: string;
488
- _meta?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
489
- mimeType?: string | undefined;
490
- icons?: {
491
- src: string;
492
- mimeType?: string | undefined;
493
- sizes?: string[] | undefined;
494
- }[] | undefined;
495
- title?: string | undefined;
496
- description?: string | undefined;
497
- }>, import("zod").ZodObject<{
498
- type: import("zod").ZodLiteral<"resource">;
499
- resource: import("zod").ZodUnion<[import("zod").ZodObject<import("zod").objectUtil.extendShape<{
500
- uri: import("zod").ZodString;
501
- mimeType: import("zod").ZodOptional<import("zod").ZodString>;
502
- _meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
503
- }, {
504
- text: import("zod").ZodString;
505
- }>, "strip", import("zod").ZodTypeAny, {
506
- uri: string;
507
- text: string;
508
- _meta?: Record<string, unknown> | undefined;
509
- mimeType?: string | undefined;
510
- }, {
511
- uri: string;
512
- text: string;
513
- _meta?: Record<string, unknown> | undefined;
514
- mimeType?: string | undefined;
515
- }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<{
516
- uri: import("zod").ZodString;
517
- mimeType: import("zod").ZodOptional<import("zod").ZodString>;
518
- _meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
519
- }, {
520
- blob: import("zod").ZodEffects<import("zod").ZodString, string, string>;
521
- }>, "strip", import("zod").ZodTypeAny, {
522
- uri: string;
523
- blob: string;
524
- _meta?: Record<string, unknown> | undefined;
525
- mimeType?: string | undefined;
526
- }, {
527
- uri: string;
528
- blob: string;
529
- _meta?: Record<string, unknown> | undefined;
530
- mimeType?: string | undefined;
531
- }>]>;
532
- _meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
533
- }, "strip", import("zod").ZodTypeAny, {
534
- type: "resource";
535
- resource: {
536
- uri: string;
537
- text: string;
538
- _meta?: Record<string, unknown> | undefined;
539
- mimeType?: string | undefined;
540
- } | {
541
- uri: string;
542
- blob: string;
543
- _meta?: Record<string, unknown> | undefined;
544
- mimeType?: string | undefined;
545
- };
546
- _meta?: Record<string, unknown> | undefined;
547
- }, {
548
- type: "resource";
549
- resource: {
550
- uri: string;
551
- text: string;
552
- _meta?: Record<string, unknown> | undefined;
553
- mimeType?: string | undefined;
554
- } | {
555
- uri: string;
556
- blob: string;
557
- _meta?: Record<string, unknown> | undefined;
558
- mimeType?: string | undefined;
559
- };
560
- _meta?: Record<string, unknown> | undefined;
561
- }>]>;
562
- }, "strip", import("zod").ZodTypeAny, {
260
+ }[];
261
+ _meta?: Record<string, unknown> | undefined;
262
+ nextCursor?: string | undefined;
263
+ }>;
264
+ getPrompt(name: string, args: Record<string, any>): Promise<{
265
+ [x: string]: unknown;
266
+ messages: {
563
267
  role: "user" | "assistant";
564
268
  content: {
565
269
  type: "text";
@@ -580,77 +284,35 @@ export declare abstract class BaseConnector {
580
284
  resource: {
581
285
  uri: string;
582
286
  text: string;
583
- _meta?: Record<string, unknown> | undefined;
584
287
  mimeType?: string | undefined;
585
- } | {
586
- uri: string;
587
- blob: string;
588
288
  _meta?: Record<string, unknown> | undefined;
589
- mimeType?: string | undefined;
590
- };
591
- _meta?: Record<string, unknown> | undefined;
592
- } | {
593
- type: "resource_link";
594
- name: string;
595
- uri: string;
596
- _meta?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
597
- mimeType?: string | undefined;
598
- icons?: {
599
- src: string;
600
- mimeType?: string | undefined;
601
- sizes
602
- /** Send a raw request through the client. */
603
- ?: string[] | undefined;
604
- }[] | undefined;
605
- title?: string | undefined;
606
- description?: string | undefined;
607
- };
608
- }, {
609
- role: "user" | "assistant";
610
- content: {
611
- type: "text";
612
- text: string;
613
- _meta?: Record<string, unknown> | undefined;
614
- } | {
615
- type: "image";
616
- data: string;
617
- mimeType: string;
618
- _meta?: Record<string, unknown> | undefined;
619
- } | {
620
- type: "audio";
621
- data: string;
622
- mimeType: string;
623
- _meta?: Record<string, unknown> | undefined;
624
- } | {
625
- type: "resource";
626
- resource: {
627
- uri: string;
628
- text: string;
629
- _meta?: Record<string, unknown> | undefined;
630
- mimeType?: string | undefined;
631
289
  } | {
632
290
  uri: string;
633
291
  blob: string;
634
- _meta?: Record<string, unknown> | undefined;
635
292
  mimeType?: string | undefined;
293
+ _meta?: Record<string, unknown> | undefined;
636
294
  };
637
295
  _meta?: Record<string, unknown> | undefined;
638
296
  } | {
639
- type: "resource_link";
640
- name: string;
641
297
  uri: string;
642
- _meta?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
298
+ name: string;
299
+ type: "resource_link";
300
+ description?: string | undefined;
643
301
  mimeType?: string | undefined;
302
+ _meta?: {
303
+ [x: string]: unknown;
304
+ } | undefined;
644
305
  icons?: {
645
306
  src: string;
646
307
  mimeType?: string | undefined;
647
308
  sizes?: string[] | undefined;
648
309
  }[] | undefined;
649
310
  title?: string | undefined;
650
- description?: string | undefined;
651
311
  };
652
- }>, "many">;
653
- }, import("zod").ZodTypeAny, "passthrough">>;
312
+ }[];
313
+ _meta?: Record<string, unknown> | undefined;
314
+ description?: string | undefined;
315
+ }>;
654
316
  /** Send a raw request through the client. */
655
317
  request(method: string, params?: Record<string, any> | null, options?: RequestOptions): Promise<any>;
656
318
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../src/connectors/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,aAAa,EACd,MAAM,2CAA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;;iBAEd,CAAC;;;;;IAuMT,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;;;;;qBA9QnD,CAAC;;;;;qBAKK,CAAC;;;;;qBAKA,CAAC;;;;;;4BASX,CAAD;yBAA+C,CAAC;;;;4BAIhB,CAAC;yBAEE,CAAA;;qBAElB,CAAC;;;;;2BAGsC,CAAC;wBAKvC,CAAA;qBAClB,CAAC;;;qBAGa,CAAC;;4BAEK,CAAC;yBACI,CAAC;;qBAEa,CAAC;;;;;;IA2OxC,6CAA6C;IACvC,OAAO,CACX,MAAM,EAAE,MAAM,EACd,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAW,EACzC,OAAO,CAAC,EAAE,cAAc;IAc1B;;OAEG;cACa,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;CAkClD"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mcp-use",
3
3
  "type": "module",
4
- "version": "1.6.1-canary.2",
4
+ "version": "1.6.1",
5
5
  "description": "Opinionated MCP Framework for TypeScript (@modelcontextprotocol/sdk compatible) - Build MCP Agents and Clients + MCP Servers with support for MCP-UI.",
6
6
  "author": "mcp-use, Inc.",
7
7
  "license": "MIT",
@@ -93,7 +93,7 @@
93
93
  "@hono/node-server": "^1.13.0",
94
94
  "@langchain/core": "^1.0.1",
95
95
  "@mcp-ui/server": "^5.12.0",
96
- "@modelcontextprotocol/sdk": "1.22.0",
96
+ "@modelcontextprotocol/sdk": "1.23.0",
97
97
  "@scarf/scarf": "^1.4.0",
98
98
  "ai": "^4.3.19",
99
99
  "chalk": "^5.6.2",
@@ -115,8 +115,8 @@
115
115
  "ws": "^8.18.2",
116
116
  "zod": "^3.25.48",
117
117
  "zod-to-json-schema": "^3.24.6",
118
- "@mcp-use/cli": "2.4.1-canary.2",
119
- "@mcp-use/inspector": "0.8.1-canary.2"
118
+ "@mcp-use/cli": "2.4.1",
119
+ "@mcp-use/inspector": "0.8.1"
120
120
  },
121
121
  "optionalDependencies": {
122
122
  "@tailwindcss/vite": "^4.1.15",