mcp-use 1.6.1 → 1.6.2-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -149,26 +149,59 @@ 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<{
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
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, {
|
|
156
180
|
name: string;
|
|
181
|
+
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;
|
|
157
190
|
description?: string | undefined;
|
|
191
|
+
}, {
|
|
192
|
+
name: string;
|
|
193
|
+
uri: string;
|
|
194
|
+
_meta?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
158
195
|
mimeType?: string | undefined;
|
|
159
|
-
_meta?: {
|
|
160
|
-
[x: string]: unknown;
|
|
161
|
-
} | undefined;
|
|
162
196
|
icons?: {
|
|
163
197
|
src: string;
|
|
164
198
|
mimeType?: string | undefined;
|
|
165
199
|
sizes?: string[] | undefined;
|
|
166
200
|
}[] | undefined;
|
|
167
201
|
title?: string | undefined;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
}>;
|
|
202
|
+
description?: string | undefined;
|
|
203
|
+
}>, "many">;
|
|
204
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
172
205
|
/**
|
|
173
206
|
* List all resources from the server, automatically handling pagination
|
|
174
207
|
*
|
|
@@ -184,42 +217,97 @@ export declare abstract class BaseConnector {
|
|
|
184
217
|
* @param options - Request options
|
|
185
218
|
* @returns List of available resource templates
|
|
186
219
|
*/
|
|
187
|
-
listResourceTemplates(options?: RequestOptions): Promise<{
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
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, {
|
|
191
248
|
name: string;
|
|
249
|
+
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;
|
|
192
258
|
description?: string | undefined;
|
|
259
|
+
}, {
|
|
260
|
+
name: string;
|
|
261
|
+
uriTemplate: string;
|
|
262
|
+
_meta?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
193
263
|
mimeType?: string | undefined;
|
|
194
|
-
_meta?: {
|
|
195
|
-
[x: string]: unknown;
|
|
196
|
-
} | undefined;
|
|
197
264
|
icons?: {
|
|
198
265
|
src: string;
|
|
199
266
|
mimeType?: string | undefined;
|
|
200
267
|
sizes?: string[] | undefined;
|
|
201
268
|
}[] | undefined;
|
|
202
269
|
title?: string | undefined;
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
}>;
|
|
270
|
+
description?: string | undefined;
|
|
271
|
+
}>, "many">;
|
|
272
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
207
273
|
/** Read a resource by URI. */
|
|
208
|
-
readResource(uri: string, options?: RequestOptions): Promise<{
|
|
209
|
-
|
|
210
|
-
|
|
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, {
|
|
211
284
|
uri: string;
|
|
212
285
|
text: string;
|
|
286
|
+
_meta?: Record<string, unknown> | undefined;
|
|
213
287
|
mimeType?: string | undefined;
|
|
288
|
+
}, {
|
|
289
|
+
uri: string;
|
|
290
|
+
text: string;
|
|
214
291
|
_meta?: Record<string, unknown> | undefined;
|
|
215
|
-
|
|
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, {
|
|
216
300
|
uri: string;
|
|
217
301
|
blob: string;
|
|
302
|
+
_meta?: Record<string, unknown> | undefined;
|
|
218
303
|
mimeType?: string | undefined;
|
|
304
|
+
}, {
|
|
305
|
+
uri: string;
|
|
306
|
+
blob: string;
|
|
219
307
|
_meta?: Record<string, unknown> | undefined;
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
}
|
|
308
|
+
mimeType?: string | undefined;
|
|
309
|
+
}>]>, "many">;
|
|
310
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
223
311
|
/**
|
|
224
312
|
* Subscribe to resource updates
|
|
225
313
|
*
|
|
@@ -238,32 +326,240 @@ export declare abstract class BaseConnector {
|
|
|
238
326
|
unsubscribeFromResource(uri: string, options?: RequestOptions): Promise<{
|
|
239
327
|
_meta?: Record<string, unknown> | undefined;
|
|
240
328
|
}>;
|
|
241
|
-
listPrompts(): Promise<{
|
|
242
|
-
|
|
243
|
-
|
|
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, {
|
|
244
368
|
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;
|
|
245
376
|
description?: string | undefined;
|
|
246
377
|
arguments?: {
|
|
247
378
|
name: string;
|
|
248
379
|
description?: string | undefined;
|
|
249
380
|
required?: boolean | undefined;
|
|
250
381
|
}[] | undefined;
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
} | undefined;
|
|
382
|
+
}, {
|
|
383
|
+
name: string;
|
|
384
|
+
_meta?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
254
385
|
icons?: {
|
|
255
386
|
src: string;
|
|
256
387
|
mimeType?: string | undefined;
|
|
257
388
|
sizes?: string[] | undefined;
|
|
258
389
|
}[] | undefined;
|
|
259
390
|
title?: string | undefined;
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
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, {
|
|
267
563
|
role: "user" | "assistant";
|
|
268
564
|
content: {
|
|
269
565
|
type: "text";
|
|
@@ -284,35 +580,77 @@ export declare abstract class BaseConnector {
|
|
|
284
580
|
resource: {
|
|
285
581
|
uri: string;
|
|
286
582
|
text: string;
|
|
287
|
-
mimeType?: string | undefined;
|
|
288
583
|
_meta?: Record<string, unknown> | undefined;
|
|
584
|
+
mimeType?: string | undefined;
|
|
289
585
|
} | {
|
|
290
586
|
uri: string;
|
|
291
587
|
blob: string;
|
|
292
|
-
mimeType?: string | undefined;
|
|
293
588
|
_meta?: Record<string, unknown> | undefined;
|
|
589
|
+
mimeType?: string | undefined;
|
|
294
590
|
};
|
|
295
591
|
_meta?: Record<string, unknown> | undefined;
|
|
296
592
|
} | {
|
|
297
|
-
uri: string;
|
|
298
|
-
name: string;
|
|
299
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;
|
|
300
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
|
+
} | {
|
|
632
|
+
uri: string;
|
|
633
|
+
blob: string;
|
|
634
|
+
_meta?: Record<string, unknown> | undefined;
|
|
635
|
+
mimeType?: string | undefined;
|
|
636
|
+
};
|
|
637
|
+
_meta?: Record<string, unknown> | undefined;
|
|
638
|
+
} | {
|
|
639
|
+
type: "resource_link";
|
|
640
|
+
name: string;
|
|
641
|
+
uri: string;
|
|
642
|
+
_meta?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
301
643
|
mimeType?: string | undefined;
|
|
302
|
-
_meta?: {
|
|
303
|
-
[x: string]: unknown;
|
|
304
|
-
} | undefined;
|
|
305
644
|
icons?: {
|
|
306
645
|
src: string;
|
|
307
646
|
mimeType?: string | undefined;
|
|
308
647
|
sizes?: string[] | undefined;
|
|
309
648
|
}[] | undefined;
|
|
310
649
|
title?: string | undefined;
|
|
650
|
+
description?: string | undefined;
|
|
311
651
|
};
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
description?: string | undefined;
|
|
315
|
-
}>;
|
|
652
|
+
}>, "many">;
|
|
653
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
316
654
|
/** Send a raw request through the client. */
|
|
317
655
|
request(method: string, params?: Record<string, any> | null, options?: RequestOptions): Promise<any>;
|
|
318
656
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{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AAC;qBAGd,CAAH;;4BACqB,CAAC;;oBAGrB,6CAA6C;oBAC7C,CAFF;;qBAGY,CAAC;2BAC6B,CAAC;;;;;;;qBAO2B,CAAC;;;;;qBASjC,CAAA;;;;;qBAOrB,CAAC;;;;;;yBAOZ,CAAA;4BAKM,CAAC;;;;yBAIyB,CAAC;4BAEtB,CAAC;;qBAEkB,CAAC;;;;;qBAUtB,CAAC;wBAA0F,CAAC;qBAA2C,CAAC;;4BAAiE,CAAC;yBAA+C,CAAC;;qBAA8E,CAAC;2BAAiD,CAAC;;;;IAxDxY,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.
|
|
4
|
+
"version": "1.6.2-canary.0",
|
|
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.
|
|
96
|
+
"@modelcontextprotocol/sdk": "1.22.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.
|
|
119
|
-
"@mcp-use/inspector": "0.8.
|
|
118
|
+
"@mcp-use/cli": "2.4.2-canary.0",
|
|
119
|
+
"@mcp-use/inspector": "0.8.2-canary.0"
|
|
120
120
|
},
|
|
121
121
|
"optionalDependencies": {
|
|
122
122
|
"@tailwindcss/vite": "^4.1.15",
|