@mastra/mcp 0.6.0-alpha.1 → 0.10.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.
@@ -1,23 +1,23 @@
1
1
 
2
- > @mastra/mcp@0.6.0-alpha.1 build /home/runner/work/mastra/mastra/packages/mcp
2
+ > @mastra/mcp@0.10.0-alpha.1 build /home/runner/work/mastra/mastra/packages/mcp
3
3
  > tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting
4
4
 
5
5
  CLI Building entry: src/index.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.4.0
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 14597ms
9
+ TSC ⚡️ Build success in 16704ms
10
10
  DTS Build start
11
11
  CLI Target: es2022
12
12
  Analysis will use the bundled TypeScript version 5.8.3
13
13
  Writing package typings: /home/runner/work/mastra/mastra/packages/mcp/dist/_tsup-dts-rollup.d.ts
14
14
  Analysis will use the bundled TypeScript version 5.8.3
15
15
  Writing package typings: /home/runner/work/mastra/mastra/packages/mcp/dist/_tsup-dts-rollup.d.cts
16
- DTS ⚡️ Build success in 12874ms
16
+ DTS ⚡️ Build success in 13376ms
17
17
  CLI Cleaning output folder
18
18
  ESM Build start
19
19
  CJS Build start
20
20
  CJS dist/index.cjs 36.96 KB
21
- CJS ⚡️ Build success in 1226ms
21
+ CJS ⚡️ Build success in 1440ms
22
22
  ESM dist/index.js 36.64 KB
23
- ESM ⚡️ Build success in 1226ms
23
+ ESM ⚡️ Build success in 1440ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @mastra/mcp
2
2
 
3
+ ## 0.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 83da932: Move @mastra/core to peerdeps
8
+
9
+ ### Patch Changes
10
+
11
+ - 0a3ae6d: Fixed a bug where tool input schema properties that were optional became required
12
+ - 23f258c: Add new list and get routes for mcp servers. Changed route make-up for more consistency with existing API routes. Lastly, added in a lot of extra detail that can be optionally passed to the mcp server per the mcp spec.
13
+ - 2672a05: Add MCP servers and tool call execution to playground
14
+ - Updated dependencies [b3a3d63]
15
+ - Updated dependencies [344f453]
16
+ - Updated dependencies [0a3ae6d]
17
+ - Updated dependencies [95911be]
18
+ - Updated dependencies [f53a6ac]
19
+ - Updated dependencies [5eb5a99]
20
+ - Updated dependencies [7e632c5]
21
+ - Updated dependencies [1e9fbfa]
22
+ - Updated dependencies [eabdcd9]
23
+ - Updated dependencies [90be034]
24
+ - Updated dependencies [99f050a]
25
+ - Updated dependencies [d0ee3c6]
26
+ - Updated dependencies [b2ae5aa]
27
+ - Updated dependencies [23f258c]
28
+ - Updated dependencies [a7292b0]
29
+ - Updated dependencies [0dcb9f0]
30
+ - Updated dependencies [2672a05]
31
+ - @mastra/core@0.10.0
32
+
3
33
  ## 0.6.0-alpha.1
4
34
 
5
35
  ### Minor 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
@@ -23,6 +23,6 @@
23
23
  "@mastra/core": "workspace:*"
24
24
  },
25
25
  "peerDependencies": {
26
- "@mastra/core": "^0.9.4"
26
+ "@mastra/core": "^0.10.0"
27
27
  }
28
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp",
3
- "version": "0.6.0-alpha.1",
3
+ "version": "0.10.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "peerDependencies": {
34
34
  "zod": "^3.0.0",
35
- "@mastra/core": "^0.9.4"
35
+ "@mastra/core": "^0.10.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@ai-sdk/anthropic": "^1.1.15",
@@ -49,8 +49,8 @@
49
49
  "vitest": "^3.1.2",
50
50
  "zod": "^3.24.3",
51
51
  "zod-to-json-schema": "^3.24.5",
52
- "@internal/lint": "0.0.5",
53
- "@mastra/core": "0.10.0-alpha.1"
52
+ "@internal/lint": "0.0.6",
53
+ "@mastra/core": "0.10.0"
54
54
  },
55
55
  "scripts": {
56
56
  "build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting",