@mastra/mcp 1.17.1 → 1.17.2-alpha.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.
- package/CHANGELOG.md +9 -0
- package/dist/client/client.d.ts +24 -0
- package/dist/client/client.d.ts.map +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/index.cjs +43 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +41 -8
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/mcp
|
|
2
2
|
|
|
3
|
+
## 1.17.2-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fixed MCP tool results with structured output dropping the result-level `_meta` from the server's CallToolResult. The metadata (for example `_meta.ui.resourceUri`, which MCP Apps hosts use to detect and render an app) is now preserved on the returned structured result and can be read with the new `getMcpCallToolMeta` helper. The existing hidden MCP content channel is also now readable via the exported `getMcpCallToolContent` helper. Fixes https://github.com/mastra-ai/mastra/issues/21278 ([#22102](https://github.com/mastra-ai/mastra/pull/22102))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`2c85f42`](https://github.com/mastra-ai/mastra/commit/2c85f428e04ccd63ea31a7ec80b5b327afdad555), [`11bbeb9`](https://github.com/mastra-ai/mastra/commit/11bbeb9b108ef2264e05acefc6dafb9cbb342921), [`1a485f3`](https://github.com/mastra-ai/mastra/commit/1a485f3538f5ec64d58bd8b5e1e99de0c695c87b), [`0d37487`](https://github.com/mastra-ai/mastra/commit/0d37487d9f349388a3f1cef6a536cf9dcc4b6273), [`8661d7d`](https://github.com/mastra-ai/mastra/commit/8661d7d7179f0a024456aabdd8679bcecd09ac28), [`575e343`](https://github.com/mastra-ai/mastra/commit/575e343900451021d96110916497d334af7bc252), [`cacb839`](https://github.com/mastra-ai/mastra/commit/cacb8392d9e74189b56d857290b0615f98a2683d), [`b47b26e`](https://github.com/mastra-ai/mastra/commit/b47b26e6fe95cb8a3482be2c5e52de157fe59d0b), [`0d37487`](https://github.com/mastra-ai/mastra/commit/0d37487d9f349388a3f1cef6a536cf9dcc4b6273), [`c46eb09`](https://github.com/mastra-ai/mastra/commit/c46eb09ce4987509af57a0ac582c61241a6dd2f1), [`30ed33e`](https://github.com/mastra-ai/mastra/commit/30ed33ee14084a26019aba15fceadda6d6ddefaf), [`91ad69d`](https://github.com/mastra-ai/mastra/commit/91ad69d64994c89199b0c55399e64ed91c61df2f), [`8dc408d`](https://github.com/mastra-ai/mastra/commit/8dc408d34438f9e13297f792c11a5cfd6cf952e1), [`c92def1`](https://github.com/mastra-ai/mastra/commit/c92def10a13c822972c96f0a4ca6ffc1f4258aed), [`c5eaec5`](https://github.com/mastra-ai/mastra/commit/c5eaec5a860d80d0e3805e67db0414b87ac8cbed), [`e66b2ba`](https://github.com/mastra-ai/mastra/commit/e66b2ba100db63eaeab6e21e1ea34b113f2ec781)]:
|
|
10
|
+
- @mastra/core@1.62.0-alpha.3
|
|
11
|
+
|
|
3
12
|
## 1.17.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/client/client.d.ts
CHANGED
|
@@ -21,8 +21,32 @@ export type MCPServerAuthState = 'needs-auth' | 'authorized';
|
|
|
21
21
|
/**
|
|
22
22
|
* Non-enumerable metadata attached to structured tool execute results so
|
|
23
23
|
* `toModelOutput` can read MCP `content` without changing the execute return shape.
|
|
24
|
+
*
|
|
25
|
+
* When a tool has an `outputSchema` and the server returns `structuredContent`,
|
|
26
|
+
* `execute()` returns that structured value directly. The rest of the
|
|
27
|
+
* CallToolResult envelope is preserved on non-enumerable symbols:
|
|
28
|
+
* - {@link MCP_CALL_TOOL_CONTENT} holds the MCP `content` blocks (model-facing text).
|
|
29
|
+
* - {@link MCP_CALL_TOOL_META} holds the result-level `_meta` (e.g. `ui.resourceUri`
|
|
30
|
+
* used by MCP Apps hosts), with `ui.serverId` stamped by the client.
|
|
31
|
+
*
|
|
32
|
+
* Read them with {@link getMcpCallToolContent} and {@link getMcpCallToolMeta}.
|
|
33
|
+
* Note: scalar or `null` structured results cannot carry properties, so these
|
|
34
|
+
* channels are only available when `structuredContent` is an object or array.
|
|
24
35
|
*/
|
|
25
36
|
export declare const MCP_CALL_TOOL_CONTENT: unique symbol;
|
|
37
|
+
/** Non-enumerable result-level `_meta` attached to structured tool execute results. */
|
|
38
|
+
export declare const MCP_CALL_TOOL_META: unique symbol;
|
|
39
|
+
/**
|
|
40
|
+
* Read the MCP `content` blocks preserved on a structured tool execute result.
|
|
41
|
+
* Returns `undefined` for scalar results or results without a hidden content channel.
|
|
42
|
+
*/
|
|
43
|
+
export declare function getMcpCallToolContent(output: unknown): unknown;
|
|
44
|
+
/**
|
|
45
|
+
* Read the result-level `_meta` preserved on a structured tool execute result
|
|
46
|
+
* (e.g. `_meta.ui.resourceUri` for MCP Apps detection). Returns `undefined` for
|
|
47
|
+
* scalar results or results whose CallToolResult had no `_meta`.
|
|
48
|
+
*/
|
|
49
|
+
export declare function getMcpCallToolMeta(output: unknown): Record<string, unknown> | undefined;
|
|
26
50
|
/**
|
|
27
51
|
* Internal MCP client implementation for connecting to a single MCP server.
|
|
28
52
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client/client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAI/C,OAAO,KAAK,EAAmB,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAUhE,OAAO,KAAK,EAEV,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,2BAA2B,EAE3B,kBAAkB,EAEnB,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EAAE,wBAAwB,EAAE,MAAM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AAC,OAAO,EAAE,MAAM,IAAI,GAAG,IAAI;IAOhE,qCAAqC,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,GAAG,IAAI;IAO3E,yCAAyC,CAAC,OAAO,EAAE,MAAM,IAAI,GAAG,IAAI;IAOpE,4BAA4B,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI;IAyB/D,8BAA8B,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;IAO9D,OAAO,CAAC,kBAAkB;IAM1B;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAc3B;;;;;;OAMG;IACG,eAAe,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,6BAA6B,CAAC,CAAC;IAY/E;;;OAGG;IACH,OAAO,CAAC,wBAAwB;IAmBhC;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,UAAU,EAAE,EAAE;QAAE,UAAU,EAAE,6BAA6B,CAAA;KAAE,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IA6BrG,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;IAmBhE;;;;;;;OAOG;IACH,OAAO,CAAC,sBAAsB;IA0M9B,OAAO,CAAC,mBAAmB;CAQ5B"}
|
package/dist/docs/SKILL.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -21231,20 +21231,53 @@ function extractModelTextFromToolContent(content) {
|
|
|
21231
21231
|
/**
|
|
21232
21232
|
* Non-enumerable metadata attached to structured tool execute results so
|
|
21233
21233
|
* `toModelOutput` can read MCP `content` without changing the execute return shape.
|
|
21234
|
+
*
|
|
21235
|
+
* When a tool has an `outputSchema` and the server returns `structuredContent`,
|
|
21236
|
+
* `execute()` returns that structured value directly. The rest of the
|
|
21237
|
+
* CallToolResult envelope is preserved on non-enumerable symbols:
|
|
21238
|
+
* - {@link MCP_CALL_TOOL_CONTENT} holds the MCP `content` blocks (model-facing text).
|
|
21239
|
+
* - {@link MCP_CALL_TOOL_META} holds the result-level `_meta` (e.g. `ui.resourceUri`
|
|
21240
|
+
* used by MCP Apps hosts), with `ui.serverId` stamped by the client.
|
|
21241
|
+
*
|
|
21242
|
+
* Read them with {@link getMcpCallToolContent} and {@link getMcpCallToolMeta}.
|
|
21243
|
+
* Note: scalar or `null` structured results cannot carry properties, so these
|
|
21244
|
+
* channels are only available when `structuredContent` is an object or array.
|
|
21234
21245
|
*/
|
|
21235
21246
|
const MCP_CALL_TOOL_CONTENT = Symbol.for("mastra.mcp.callToolContent");
|
|
21236
|
-
|
|
21237
|
-
|
|
21238
|
-
|
|
21239
|
-
|
|
21240
|
-
|
|
21241
|
-
|
|
21247
|
+
/** Non-enumerable result-level `_meta` attached to structured tool execute results. */
|
|
21248
|
+
const MCP_CALL_TOOL_META = Symbol.for("mastra.mcp.callToolMeta");
|
|
21249
|
+
function attachMcpCallToolContent(structuredContent, content, _meta) {
|
|
21250
|
+
if (structuredContent !== null && typeof structuredContent === "object") {
|
|
21251
|
+
Object.defineProperty(structuredContent, MCP_CALL_TOOL_CONTENT, {
|
|
21252
|
+
value: content,
|
|
21253
|
+
enumerable: false,
|
|
21254
|
+
configurable: true
|
|
21255
|
+
});
|
|
21256
|
+
if (_meta !== void 0) Object.defineProperty(structuredContent, MCP_CALL_TOOL_META, {
|
|
21257
|
+
value: _meta,
|
|
21258
|
+
enumerable: false,
|
|
21259
|
+
configurable: true
|
|
21260
|
+
});
|
|
21261
|
+
}
|
|
21242
21262
|
return structuredContent;
|
|
21243
21263
|
}
|
|
21264
|
+
/**
|
|
21265
|
+
* Read the MCP `content` blocks preserved on a structured tool execute result.
|
|
21266
|
+
* Returns `undefined` for scalar results or results without a hidden content channel.
|
|
21267
|
+
*/
|
|
21244
21268
|
function getMcpCallToolContent(output) {
|
|
21245
21269
|
if (output === null || typeof output !== "object") return void 0;
|
|
21246
21270
|
return output[MCP_CALL_TOOL_CONTENT];
|
|
21247
21271
|
}
|
|
21272
|
+
/**
|
|
21273
|
+
* Read the result-level `_meta` preserved on a structured tool execute result
|
|
21274
|
+
* (e.g. `_meta.ui.resourceUri` for MCP Apps detection). Returns `undefined` for
|
|
21275
|
+
* scalar results or results whose CallToolResult had no `_meta`.
|
|
21276
|
+
*/
|
|
21277
|
+
function getMcpCallToolMeta(output) {
|
|
21278
|
+
if (output === null || typeof output !== "object") return void 0;
|
|
21279
|
+
return output[MCP_CALL_TOOL_META];
|
|
21280
|
+
}
|
|
21248
21281
|
function createStructuredToolToModelOutput() {
|
|
21249
21282
|
return (output) => {
|
|
21250
21283
|
const modelText = extractModelTextFromToolContent(getMcpCallToolContent(output));
|
|
@@ -22151,7 +22184,7 @@ var InternalMastraMCPClient = class extends _mastra_core_base.MastraBase {
|
|
|
22151
22184
|
});
|
|
22152
22185
|
}
|
|
22153
22186
|
this.log("debug", `Tool executed successfully: ${tool.name}`);
|
|
22154
|
-
if (res.structuredContent !== void 0) return attachMcpCallToolContent(res.structuredContent, res.content);
|
|
22187
|
+
if (res.structuredContent !== void 0) return attachMcpCallToolContent(res.structuredContent, res.content, res._meta ? this.stampServerIdInMeta(res._meta) : void 0);
|
|
22155
22188
|
return res;
|
|
22156
22189
|
};
|
|
22157
22190
|
const failedTransport = this.transport;
|
|
@@ -27155,6 +27188,7 @@ exports.MCPClientServerProxy = MCPClientServerProxy;
|
|
|
27155
27188
|
exports.MCPOAuthClientProvider = MCPOAuthClientProvider;
|
|
27156
27189
|
exports.MCPServer = MCPServer;
|
|
27157
27190
|
exports.MCP_CALL_TOOL_CONTENT = MCP_CALL_TOOL_CONTENT;
|
|
27191
|
+
exports.MCP_CALL_TOOL_META = MCP_CALL_TOOL_META;
|
|
27158
27192
|
Object.defineProperty(exports, "UnauthorizedError", {
|
|
27159
27193
|
enumerable: true,
|
|
27160
27194
|
get: function() {
|
|
@@ -27212,6 +27246,8 @@ Object.defineProperty(exports, "extractResourceMetadataUrl", {
|
|
|
27212
27246
|
exports.generateProtectedResourceMetadata = generateProtectedResourceMetadata;
|
|
27213
27247
|
exports.generateWWWAuthenticateHeader = generateWWWAuthenticateHeader;
|
|
27214
27248
|
exports.getCallbackUrlCandidates = getCallbackUrlCandidates;
|
|
27249
|
+
exports.getMcpCallToolContent = getMcpCallToolContent;
|
|
27250
|
+
exports.getMcpCallToolMeta = getMcpCallToolMeta;
|
|
27215
27251
|
Object.defineProperty(exports, "parseErrorResponse", {
|
|
27216
27252
|
enumerable: true,
|
|
27217
27253
|
get: function() {
|