@mastra/mcp-docs-server 0.13.18-alpha.1 → 0.13.19-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/.docs/organized/changelogs/%40internal%2Fstorage-test-utils.md +17 -17
- package/.docs/organized/changelogs/%40internal%2Ftypes-builder.md +2 -0
- package/.docs/organized/changelogs/%40mastra%2Fagent-builder.md +29 -0
- package/.docs/organized/changelogs/%40mastra%2Fai-sdk.md +16 -0
- package/.docs/organized/changelogs/%40mastra%2Fastra.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fchroma.md +19 -19
- package/.docs/organized/changelogs/%40mastra%2Fclickhouse.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +29 -29
- package/.docs/organized/changelogs/%40mastra%2Fcloud.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare-d1.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +46 -46
- package/.docs/organized/changelogs/%40mastra%2Fcouchbase.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +31 -0
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloudflare.md +28 -28
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-netlify.md +30 -30
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-vercel.md +33 -33
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +43 -43
- package/.docs/organized/changelogs/%40mastra%2Fdynamodb.md +22 -22
- package/.docs/organized/changelogs/%40mastra%2Fevals.md +26 -26
- package/.docs/organized/changelogs/%40mastra%2Ffirecrawl.md +19 -19
- package/.docs/organized/changelogs/%40mastra%2Fgithub.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Flance.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Flibsql.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Floggers.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +26 -26
- package/.docs/organized/changelogs/%40mastra%2Fmcp-registry-registry.md +18 -18
- package/.docs/organized/changelogs/%40mastra%2Fmcp.md +30 -30
- package/.docs/organized/changelogs/%40mastra%2Fmem0.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fmemory.md +34 -34
- package/.docs/organized/changelogs/%40mastra%2Fmongodb.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Fmssql.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Fopensearch.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fpg.md +30 -30
- package/.docs/organized/changelogs/%40mastra%2Fpinecone.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +35 -35
- package/.docs/organized/changelogs/%40mastra%2Fqdrant.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Frag.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fragie.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fs3vectors.md +10 -0
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +30 -30
- package/.docs/organized/changelogs/%40mastra%2Fturbopuffer.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fupstash.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Fvectorize.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fvoice-azure.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fvoice-cloudflare.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fvoice-deepgram.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fvoice-elevenlabs.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fvoice-gladia.md +16 -0
- package/.docs/organized/changelogs/%40mastra%2Fvoice-google-gemini-live.md +16 -0
- package/.docs/organized/changelogs/%40mastra%2Fvoice-google.md +18 -18
- package/.docs/organized/changelogs/%40mastra%2Fvoice-murf.md +18 -18
- package/.docs/organized/changelogs/%40mastra%2Fvoice-openai-realtime.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fvoice-openai.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fvoice-playai.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fvoice-sarvam.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fvoice-speechify.md +17 -17
- package/.docs/organized/changelogs/create-mastra.md +21 -21
- package/.docs/organized/changelogs/mastra.md +44 -44
- package/.docs/organized/code-examples/ai-sdk-v5.md +8 -8
- package/.docs/organized/code-examples/heads-up-game.md +5 -5
- package/.docs/raw/rag/retrieval.mdx +19 -2
- package/.docs/raw/rag/vector-databases.mdx +39 -3
- package/.docs/raw/reference/observability/providers/arize-ax.mdx +81 -0
- package/.docs/raw/reference/observability/providers/arize-phoenix.mdx +120 -0
- package/.docs/raw/reference/observability/providers/index.mdx +3 -1
- package/.docs/raw/reference/rag/metadata-filters.mdx +15 -0
- package/.docs/raw/reference/rag/s3vectors.mdx +386 -0
- package/.docs/raw/reference/tools/mcp-server.mdx +27 -26
- package/.docs/raw/tools-mcp/mcp-overview.mdx +5 -6
- package/CHANGELOG.md +25 -0
- package/package.json +5 -5
|
@@ -341,23 +341,22 @@ When a tool includes an `outputSchema`, its `execute` function **must** return a
|
|
|
341
341
|
Here's an example of a tool with an `outputSchema`:
|
|
342
342
|
|
|
343
343
|
```typescript filename="src/tools/structured-tool.ts"
|
|
344
|
-
import {
|
|
344
|
+
import { createTool } from '@mastra/core/tools';
|
|
345
345
|
import { z } from 'zod';
|
|
346
346
|
|
|
347
|
-
export const structuredTool =
|
|
348
|
-
id: 'structuredTool',
|
|
347
|
+
export const structuredTool = createTool({
|
|
349
348
|
description: 'A test tool that returns structured data.',
|
|
350
|
-
|
|
349
|
+
parameters: z.object({
|
|
351
350
|
input: z.string().describe('Some input string.'),
|
|
352
351
|
}),
|
|
353
352
|
outputSchema: z.object({
|
|
354
353
|
processedInput: z.string().describe('The processed input string.'),
|
|
355
354
|
timestamp: z.string().describe('An ISO timestamp.'),
|
|
356
355
|
}),
|
|
357
|
-
execute: async (
|
|
356
|
+
execute: async ({ input }) => {
|
|
358
357
|
// When outputSchema is defined, you must return an object
|
|
359
358
|
return {
|
|
360
|
-
processedInput: `processed: ${
|
|
359
|
+
processedInput: `processed: ${input}`,
|
|
361
360
|
timestamp: new Date().toISOString(),
|
|
362
361
|
};
|
|
363
362
|
},
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 0.13.19-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`0662d02`](https://github.com/mastra-ai/mastra/commit/0662d02ef16916e67531890639fcd72c69cfb6e2), [`6189844`](https://github.com/mastra-ai/mastra/commit/61898448e65bda02bb814fb15801a89dc6476938), [`d7a8f59`](https://github.com/mastra-ai/mastra/commit/d7a8f59154b0621aec4f41a6b2ea2b3882f03cb7), [`4dda259`](https://github.com/mastra-ai/mastra/commit/4dda2593b6343f9258671de5fb237aeba3ef6bb7), [`defed1c`](https://github.com/mastra-ai/mastra/commit/defed1ca8040cc8d42e645c5a50a1bc52a4918d7), [`79b39c1`](https://github.com/mastra-ai/mastra/commit/79b39c1def3bbd5d6ee2d2cc1e89ea378a940477), [`6991ced`](https://github.com/mastra-ai/mastra/commit/6991cedcb5a44a49d9fe58ef67926e1f96ba55b1), [`9cb9c42`](https://github.com/mastra-ai/mastra/commit/9cb9c422854ee81074989dd2d8dccc0500ba8d3e), [`8334859`](https://github.com/mastra-ai/mastra/commit/83348594d4f37b311ba4a94d679c5f8721d796d4)]:
|
|
8
|
+
- @mastra/core@0.16.1-alpha.0
|
|
9
|
+
- @mastra/mcp@0.12.0-alpha.0
|
|
10
|
+
|
|
11
|
+
## 0.13.18
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [8fbf79e]
|
|
16
|
+
- Updated dependencies [fd83526]
|
|
17
|
+
- Updated dependencies [d0b90ab]
|
|
18
|
+
- Updated dependencies [6f5eb7a]
|
|
19
|
+
- Updated dependencies [a01cf14]
|
|
20
|
+
- Updated dependencies [a9e50ee]
|
|
21
|
+
- Updated dependencies [5397eb4]
|
|
22
|
+
- Updated dependencies [376913a]
|
|
23
|
+
- Updated dependencies [c9f4e4a]
|
|
24
|
+
- Updated dependencies [0acbc80]
|
|
25
|
+
- @mastra/core@0.16.0
|
|
26
|
+
- @mastra/mcp@0.11.4
|
|
27
|
+
|
|
3
28
|
## 0.13.18-alpha.1
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-docs-server",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.19-alpha.0",
|
|
4
4
|
"description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"uuid": "^11.1.0",
|
|
34
34
|
"zod": "^3.25.76",
|
|
35
35
|
"zod-to-json-schema": "^3.24.6",
|
|
36
|
-
"@mastra/
|
|
37
|
-
"@mastra/
|
|
36
|
+
"@mastra/core": "0.16.1-alpha.0",
|
|
37
|
+
"@mastra/mcp": "^0.12.0-alpha.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@hono/node-server": "^1.17.1",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"tsx": "^4.19.4",
|
|
50
50
|
"typescript": "^5.8.3",
|
|
51
51
|
"vitest": "^3.2.4",
|
|
52
|
-
"@internal/lint": "0.0.
|
|
53
|
-
"@mastra/core": "0.16.
|
|
52
|
+
"@internal/lint": "0.0.36",
|
|
53
|
+
"@mastra/core": "0.16.1-alpha.0"
|
|
54
54
|
},
|
|
55
55
|
"homepage": "https://mastra.ai",
|
|
56
56
|
"repository": {
|