@mastra/mcp 0.10.1-alpha.0 → 0.10.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.
@@ -6,18 +6,18 @@
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.4.0
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 18112ms
9
+ TSC ⚡️ Build success in 19924ms
10
10
  DTS Build start
11
11
  CLI Target: es2022
12
- CLI Cleaning output folder
13
- ESM Build start
14
- CJS Build start
15
12
  Analysis will use the bundled TypeScript version 5.8.3
16
13
  Writing package typings: /home/runner/work/mastra/mastra/packages/mcp/dist/_tsup-dts-rollup.d.ts
17
14
  Analysis will use the bundled TypeScript version 5.8.3
18
15
  Writing package typings: /home/runner/work/mastra/mastra/packages/mcp/dist/_tsup-dts-rollup.d.cts
19
- DTS ⚡️ Build success in 19611ms
20
- CJS dist/index.cjs 58.38 KB
21
- CJS ⚡️ Build success in 20895ms
16
+ DTS ⚡️ Build success in 19192ms
17
+ CLI Cleaning output folder
18
+ ESM Build start
19
+ CJS Build start
22
20
  ESM dist/index.js 58.17 KB
23
- ESM ⚡️ Build success in 20903ms
21
+ ESM ⚡️ Build success in 1820ms
22
+ CJS dist/index.cjs 58.38 KB
23
+ CJS ⚡️ Build success in 1820ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @mastra/mcp
2
2
 
3
+ ## 0.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - ab89d6a: Adds support for the full resources spec for MCP in the MCPClient and MCPServer classes. Includes resources/list, resources/read, resources/templates/list, resources/subscribe, resources/unsubscribe, notifications/resources/list_changed, and notifications/resources/updated APIs.
8
+ - bf5f17b: Adds ability to pass workflows into MCPServer to generate tools from the workflows. Each workflow will become a tool that can start the workflow run.
9
+ - 38aee50: Adds ability to pass an agents into an MCPServer instance to automatically generate tools from them.
10
+ - Updated dependencies [d70b807]
11
+ - Updated dependencies [6d16390]
12
+ - Updated dependencies [1e4a421]
13
+ - Updated dependencies [200d0da]
14
+ - Updated dependencies [bf5f17b]
15
+ - Updated dependencies [5343f93]
16
+ - Updated dependencies [38aee50]
17
+ - Updated dependencies [5c41100]
18
+ - Updated dependencies [d6a759b]
19
+ - Updated dependencies [6015bdf]
20
+ - @mastra/core@0.10.1
21
+
3
22
  ## 0.10.1-alpha.0
4
23
 
5
24
  ### Patch Changes
@@ -0,0 +1,21 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/home/runner/work/mastra/mastra/packages/cli/dist/node_modules:/home/runner/work/mastra/mastra/packages/cli/node_modules:/home/runner/work/mastra/mastra/packages/node_modules:/home/runner/work/mastra/mastra/node_modules:/home/runner/work/mastra/node_modules:/home/runner/work/node_modules:/home/runner/node_modules:/home/node_modules:/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/home/runner/work/mastra/mastra/packages/cli/dist/node_modules:/home/runner/work/mastra/mastra/packages/cli/node_modules:/home/runner/work/mastra/mastra/packages/node_modules:/home/runner/work/mastra/mastra/node_modules:/home/runner/work/mastra/node_modules:/home/runner/work/node_modules:/home/runner/node_modules:/home/node_modules:/node_modules:/home/runner/work/mastra/mastra/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../mastra/dist/index.js" "$@"
19
+ else
20
+ exec node "$basedir/../mastra/dist/index.js" "$@"
21
+ fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp",
3
- "version": "0.10.1-alpha.0",
3
+ "version": "0.10.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -50,8 +50,8 @@
50
50
  "vitest": "^3.1.2",
51
51
  "zod": "^3.24.3",
52
52
  "zod-to-json-schema": "^3.24.5",
53
- "@internal/lint": "0.0.6",
54
- "@mastra/core": "0.10.1-alpha.1"
53
+ "@internal/lint": "0.0.7",
54
+ "@mastra/core": "0.10.1"
55
55
  },
56
56
  "scripts": {
57
57
  "build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting",