@mastra/mcp 1.3.0-alpha.1 → 1.3.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 CHANGED
@@ -1,5 +1,40 @@
1
1
  # @mastra/mcp
2
2
 
3
+ ## 1.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Added new MCP client APIs for per-server control and diagnostics. ([#14377](https://github.com/mastra-ai/mastra/pull/14377))
8
+ - Added `reconnectServer(serverName)` to reconnect a single MCP server without restarting all servers.
9
+ - Added `listToolsetsWithErrors()` to return both toolsets and per-server errors.
10
+ - Added `getServerStderr(serverName)` to inspect piped stderr for stdio servers.
11
+
12
+ **Example**
13
+
14
+ ```ts
15
+ const { toolsets, errors } = await mcpClient.listToolsetsWithErrors();
16
+ await mcpClient.reconnectServer('slack');
17
+ const stderr = mcpClient.getServerStderr('slack');
18
+ ```
19
+
20
+ ### Patch Changes
21
+
22
+ - **Improved** ([#14260](https://github.com/mastra-ai/mastra/pull/14260))
23
+ - Updated `@modelcontextprotocol/sdk` from `^1.17.5` to `^1.27.1`.
24
+
25
+ **Deprecated**
26
+ - Deprecated prompt `version` usage in `@mastra/mcp`.
27
+ - Prompt versions are not part of MCP protocol behavior and will be removed.
28
+
29
+ **Migration**
30
+ - Use unique prompt names instead of prompt versions.
31
+ - Before: `client.prompts.get({ name: 'explain-code', version: 'v1', args })`
32
+ - After: `client.prompts.get({ name: 'explain-code-v1', args })`
33
+ - `MastraPrompt` is available for migration and is also deprecated.
34
+
35
+ - Updated dependencies [[`51970b3`](https://github.com/mastra-ai/mastra/commit/51970b3828494d59a8dd4df143b194d37d31e3f5), [`4444280`](https://github.com/mastra-ai/mastra/commit/444428094253e916ec077e66284e685fde67021e), [`085e371`](https://github.com/mastra-ai/mastra/commit/085e3718a7d0fe9a210fe7dd1c867b9bdfe8d16b), [`b77aa19`](https://github.com/mastra-ai/mastra/commit/b77aa1981361c021f2c881bee8f0c703687f00da), [`dbb879a`](https://github.com/mastra-ai/mastra/commit/dbb879af0b809c668e9b3a9d8bac97d806caa267), [`8b4ce84`](https://github.com/mastra-ai/mastra/commit/8b4ce84aed0808b9805cc4fd7147c1f8a2ef7a36), [`8d4cfe6`](https://github.com/mastra-ai/mastra/commit/8d4cfe6b9a7157d3876206227ec9f04cde6dbc4a), [`dd6ca1c`](https://github.com/mastra-ai/mastra/commit/dd6ca1cdea3b8b6182f4cf61df41070ba0cc0deb), [`ce26fe2`](https://github.com/mastra-ai/mastra/commit/ce26fe2166dd90254f8bee5776e55977143e97de), [`68a019d`](https://github.com/mastra-ai/mastra/commit/68a019d30d22251ddd628a2947d60215c03c350a), [`4cb4edf`](https://github.com/mastra-ai/mastra/commit/4cb4edf3c909d197ec356c1790d13270514ffef6), [`8de3555`](https://github.com/mastra-ai/mastra/commit/8de355572c6fd838f863a3e7e6fe24d0947b774f), [`b26307f`](https://github.com/mastra-ai/mastra/commit/b26307f050df39629511b0e831b8fc26973ce8b1), [`68a019d`](https://github.com/mastra-ai/mastra/commit/68a019d30d22251ddd628a2947d60215c03c350a)]:
36
+ - @mastra/core@1.14.0
37
+
3
38
  ## 1.3.0-alpha.1
4
39
 
5
40
  ### Minor Changes
@@ -3,7 +3,7 @@ name: mastra-mcp
3
3
  description: Documentation for @mastra/mcp. Use when working with @mastra/mcp APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/mcp"
6
- version: "1.3.0-alpha.1"
6
+ version: "1.3.0"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.0-alpha.1",
2
+ "version": "1.3.0",
3
3
  "package": "@mastra/mcp",
4
4
  "exports": {
5
5
  "UnauthorizedError": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp",
3
- "version": "1.3.0-alpha.1",
3
+ "version": "1.3.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -52,10 +52,10 @@
52
52
  "vitest": "4.0.18",
53
53
  "zod": "^4.3.6",
54
54
  "zod-to-json-schema": "^3.25.1",
55
- "@internal/lint": "0.0.71",
56
- "@internal/types-builder": "0.0.46",
57
- "@mastra/core": "1.14.0-alpha.2",
58
- "@mastra/schema-compat": "1.2.5-alpha.0"
55
+ "@internal/lint": "0.0.72",
56
+ "@internal/types-builder": "0.0.47",
57
+ "@mastra/core": "1.14.0",
58
+ "@mastra/schema-compat": "1.2.5"
59
59
  },
60
60
  "homepage": "https://mastra.ai",
61
61
  "repository": {