@mastra/mcp-docs-server 0.0.8-alpha.0 → 0.0.8
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/%40mastra%2Fcloudflare.md +6 -0
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloudflare.md +8 -8
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-netlify.md +8 -8
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-vercel.md +8 -8
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +7 -7
- package/.docs/organized/changelogs/create-mastra.md +7 -7
- package/.docs/organized/changelogs/mastra.md +9 -9
- package/.docs/organized/code-examples/ai-sdk-useChat.md +1 -2
- package/.docs/organized/code-examples/memory-with-mem0.md +0 -1
- package/.docs/raw/memory/overview.mdx +1 -2
- package/.docs/raw/memory/semantic-recall.mdx +2 -2
- package/dist/_tsup-dts-rollup.d.ts +84 -18
- package/dist/{chunk-J7WZZETH.js → chunk-QWYMT5LP.js} +3 -0
- package/dist/prepare-docs/prepare.js +1 -1
- package/dist/stdio.js +252 -90
- package/package.json +5 -6
- package/.docs/organized/code-examples/mcp-configuration.md +0 -341
- package/.docs/raw/guides/ai-recruiter.mdx +0 -187
- package/.docs/raw/guides/chef-michel.mdx +0 -242
- package/.docs/raw/guides/research-assistant.mdx +0 -297
- package/.docs/raw/guides/stock-agent.mdx +0 -182
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/deployer-cloudflare
|
|
2
2
|
|
|
3
|
+
## 0.1.17-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [94cd5c1]
|
|
8
|
+
- @mastra/deployer@0.2.8-alpha.1
|
|
9
|
+
|
|
3
10
|
## 0.1.17-alpha.0
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -291,12 +298,5 @@
|
|
|
291
298
|
- Updated dependencies [05ef3e0]
|
|
292
299
|
- Updated dependencies [95c5745]
|
|
293
300
|
- Updated dependencies [b56a681]
|
|
294
|
-
- Updated dependencies [248cb07]
|
|
295
|
-
- @mastra/deployer@0.2.4-alpha.0
|
|
296
|
-
- @mastra/core@0.6.4-alpha.0
|
|
297
|
-
|
|
298
|
-
## 0.1.12
|
|
299
|
-
|
|
300
|
-
### Patch Changes
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 1391 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/deployer-netlify
|
|
2
2
|
|
|
3
|
+
## 0.1.17-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [94cd5c1]
|
|
8
|
+
- @mastra/deployer@0.2.8-alpha.1
|
|
9
|
+
|
|
3
10
|
## 0.1.17-alpha.0
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -291,12 +298,5 @@
|
|
|
291
298
|
- @mastra/deployer@0.2.4-alpha.0
|
|
292
299
|
- @mastra/core@0.6.4-alpha.0
|
|
293
300
|
|
|
294
|
-
## 0.1.12
|
|
295
|
-
|
|
296
|
-
### Patch Changes
|
|
297
|
-
|
|
298
|
-
- 404640e: AgentNetwork changeset
|
|
299
|
-
- Updated dependencies [404640e]
|
|
300
|
-
- Updated dependencies [3bce733]
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 1361 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/deployer-vercel
|
|
2
2
|
|
|
3
|
+
## 0.1.17-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [94cd5c1]
|
|
8
|
+
- @mastra/deployer@0.2.8-alpha.1
|
|
9
|
+
|
|
3
10
|
## 0.1.17-alpha.0
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -291,12 +298,5 @@
|
|
|
291
298
|
- @mastra/deployer@0.2.4-alpha.0
|
|
292
299
|
- @mastra/core@0.6.4-alpha.0
|
|
293
300
|
|
|
294
|
-
## 0.1.12
|
|
295
|
-
|
|
296
|
-
### Patch Changes
|
|
297
|
-
|
|
298
|
-
- 404640e: AgentNetwork changeset
|
|
299
|
-
- Updated dependencies [404640e]
|
|
300
|
-
- Updated dependencies [3bce733]
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 1361 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @mastra/deployer
|
|
2
2
|
|
|
3
|
+
## 0.2.8-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 94cd5c1: Fix yarn workspace isolation
|
|
8
|
+
|
|
3
9
|
## 0.2.8-alpha.0
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -292,11 +298,5 @@
|
|
|
292
298
|
|
|
293
299
|
### Patch Changes
|
|
294
300
|
|
|
295
|
-
- e764fd1: Fix telemetry when side-effects are added to the mastra file
|
|
296
|
-
- e764fd1: Fix deployer when side-effects are added to the mastra file
|
|
297
|
-
- 05ef3e0: Support voice for mastra client
|
|
298
|
-
- 95c5745: Fix symlink resolving and externals
|
|
299
|
-
- Updated dependencies [fb68a80]
|
|
300
|
-
- Updated dependencies [b56a681]
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 1298 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# create-mastra
|
|
2
2
|
|
|
3
|
+
## 0.2.7-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- df5989d: Correct playground model setting maxSteps reset value
|
|
8
|
+
|
|
3
9
|
## 0.2.7-alpha.0
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -292,11 +298,5 @@
|
|
|
292
298
|
### Patch Changes
|
|
293
299
|
|
|
294
300
|
- 7a64aff: playground-ui lib package to enhance dev/cloud ui unification
|
|
295
|
-
- bb4f447: Add support for commonjs
|
|
296
|
-
|
|
297
|
-
## 0.1.6
|
|
298
|
-
|
|
299
|
-
### Patch Changes
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 409 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# mastra
|
|
2
2
|
|
|
3
|
+
## 0.4.8-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- df5989d: Correct playground model setting maxSteps reset value
|
|
8
|
+
- Updated dependencies [94cd5c1]
|
|
9
|
+
- @mastra/deployer@0.2.8-alpha.1
|
|
10
|
+
|
|
3
11
|
## 0.4.8-alpha.0
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -291,12 +299,4 @@
|
|
|
291
299
|
|
|
292
300
|
### Patch Changes
|
|
293
301
|
|
|
294
|
-
|
|
295
|
-
- Updated dependencies [b3b34f5]
|
|
296
|
-
- Updated dependencies [a4686e8]
|
|
297
|
-
- @mastra/core@0.7.0-alpha.3
|
|
298
|
-
- @mastra/deployer@0.2.5-alpha.3
|
|
299
|
-
|
|
300
|
-
## 0.4.4-alpha.2
|
|
301
|
-
|
|
302
|
-
... 2450 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 2458 more lines hidden. See full changelog in package directory.
|
|
@@ -29,8 +29,7 @@
|
|
|
29
29
|
"postcss": "^8.5.3",
|
|
30
30
|
"tailwindcss": "^3.4.17",
|
|
31
31
|
"typescript": "^5.8.2"
|
|
32
|
-
}
|
|
33
|
-
"packageManager": "pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0"
|
|
32
|
+
}
|
|
34
33
|
}
|
|
35
34
|
|
|
36
35
|
```
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
"license": "ISC",
|
|
15
15
|
"description": "",
|
|
16
16
|
"type": "module",
|
|
17
|
-
"packageManager": "pnpm@10.5.2+sha512.da9dc28cd3ff40d0592188235ab25d3202add8a207afbedc682220e4a0029ffbff4562102b9e6e46b4e3f9e8bd53e6d05de48544b0c57d4b0179e22c76d1199b",
|
|
18
17
|
"dependencies": {
|
|
19
18
|
"@ai-sdk/openai": "latest",
|
|
20
19
|
"@mastra/core": "workspace:*",
|
|
@@ -116,5 +116,4 @@ const agent = new Agent({
|
|
|
116
116
|
|
|
117
117
|
Now that you understand the core concepts, continue to [semantic recall](./semantic-recall.mdx) to learn how to add RAG memory to your Mastra agents.
|
|
118
118
|
|
|
119
|
-
Alternatively you can visit the [configuration reference](
|
|
120
|
-
|
|
119
|
+
Alternatively you can visit the [configuration reference](../../reference/memory/Memory.mdx) for available options, or browse [usage examples](../../examples/memory/use-chat.mdx).
|
|
@@ -54,7 +54,7 @@ const agent = new Agent({
|
|
|
54
54
|
|
|
55
55
|
### Storage configuration
|
|
56
56
|
|
|
57
|
-
Semantic recall relies on a [storage and vector db](/
|
|
57
|
+
Semantic recall relies on a [storage and vector db](/reference/memory/Memory#parameters) to store messages and their embeddings.
|
|
58
58
|
|
|
59
59
|
```ts {8-17}
|
|
60
60
|
import { Memory } from "@mastra/memory";
|
|
@@ -86,7 +86,7 @@ const agent = new Agent({
|
|
|
86
86
|
|
|
87
87
|
### Embedder configuration
|
|
88
88
|
|
|
89
|
-
Semantic recall relies an [embedding model](/
|
|
89
|
+
Semantic recall relies an [embedding model](/reference/memory/Memory#embedder) to convert messages into embeddings. By default Mastra uses FastEmbed but you can specify another [embedding model](https://sdk.vercel.ai/docs/ai-sdk-core/embeddings).
|
|
90
90
|
|
|
91
91
|
```ts {7}
|
|
92
92
|
import { Memory } from "@mastra/memory";
|
|
@@ -1,27 +1,35 @@
|
|
|
1
|
-
import { FastMCP } from 'tylerbarnes-fastmcp-fix';
|
|
2
1
|
import { MCPConfiguration } from '@mastra/mcp';
|
|
2
|
+
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
3
3
|
import { ServerType } from '@hono/node-server/.';
|
|
4
|
-
import type { Tool } from 'tylerbarnes-fastmcp-fix';
|
|
5
4
|
import { z } from 'zod';
|
|
6
5
|
|
|
6
|
+
export declare type BlogInput = z.infer<typeof blogInputSchema>;
|
|
7
|
+
|
|
8
|
+
export declare const blogInputSchema: z.ZodObject<{
|
|
9
|
+
url: z.ZodString;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
url: string;
|
|
12
|
+
}, {
|
|
13
|
+
url: string;
|
|
14
|
+
}>;
|
|
15
|
+
|
|
7
16
|
export declare const blogTool: {
|
|
8
17
|
name: string;
|
|
9
18
|
description: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
19
|
+
execute: (args: BlogInput) => Promise<{
|
|
20
|
+
content: {
|
|
21
|
+
type: string;
|
|
22
|
+
text: string;
|
|
23
|
+
}[];
|
|
24
|
+
isError: boolean;
|
|
16
25
|
}>;
|
|
17
|
-
execute: (args: {
|
|
18
|
-
url: string;
|
|
19
|
-
}) => Promise<string>;
|
|
20
26
|
};
|
|
21
27
|
|
|
22
28
|
export declare function callTool(tool: any, args: any): Promise<string>;
|
|
23
29
|
|
|
24
|
-
declare
|
|
30
|
+
export declare type ChangesInput = z.infer<typeof changesInputSchema>;
|
|
31
|
+
|
|
32
|
+
export declare const changesInputSchema: z.ZodObject<{
|
|
25
33
|
package: z.ZodOptional<z.ZodString>;
|
|
26
34
|
}, "strip", z.ZodTypeAny, {
|
|
27
35
|
package?: string | undefined;
|
|
@@ -29,11 +37,23 @@ declare const changesSchema: z.ZodObject<{
|
|
|
29
37
|
package?: string | undefined;
|
|
30
38
|
}>;
|
|
31
39
|
|
|
32
|
-
export declare const changesTool:
|
|
40
|
+
export declare const changesTool: {
|
|
41
|
+
name: string;
|
|
42
|
+
description: string;
|
|
43
|
+
execute: (args: ChangesInput) => Promise<{
|
|
44
|
+
content: {
|
|
45
|
+
type: string;
|
|
46
|
+
text: string;
|
|
47
|
+
}[];
|
|
48
|
+
isError: boolean;
|
|
49
|
+
}>;
|
|
50
|
+
};
|
|
33
51
|
|
|
34
52
|
export declare function copyRaw(): Promise<void>;
|
|
35
53
|
|
|
36
|
-
declare
|
|
54
|
+
export declare type DocsInput = z.infer<typeof docsInputSchema>;
|
|
55
|
+
|
|
56
|
+
export declare const docsInputSchema: z.ZodObject<{
|
|
37
57
|
paths: z.ZodArray<z.ZodString, "many">;
|
|
38
58
|
}, "strip", z.ZodTypeAny, {
|
|
39
59
|
paths: string[];
|
|
@@ -41,9 +61,21 @@ declare const docsSchema: z.ZodObject<{
|
|
|
41
61
|
paths: string[];
|
|
42
62
|
}>;
|
|
43
63
|
|
|
44
|
-
export declare const docsTool:
|
|
64
|
+
export declare const docsTool: {
|
|
65
|
+
name: string;
|
|
66
|
+
description: string;
|
|
67
|
+
execute: (args: DocsInput) => Promise<{
|
|
68
|
+
content: {
|
|
69
|
+
type: string;
|
|
70
|
+
text: string;
|
|
71
|
+
}[];
|
|
72
|
+
isError: boolean;
|
|
73
|
+
}>;
|
|
74
|
+
};
|
|
45
75
|
|
|
46
|
-
declare
|
|
76
|
+
export declare type ExamplesInput = z.infer<typeof examplesInputSchema>;
|
|
77
|
+
|
|
78
|
+
export declare const examplesInputSchema: z.ZodObject<{
|
|
47
79
|
example: z.ZodOptional<z.ZodString>;
|
|
48
80
|
}, "strip", z.ZodTypeAny, {
|
|
49
81
|
example?: string | undefined;
|
|
@@ -51,7 +83,17 @@ declare const examplesSchema: z.ZodObject<{
|
|
|
51
83
|
example?: string | undefined;
|
|
52
84
|
}>;
|
|
53
85
|
|
|
54
|
-
export declare const examplesTool:
|
|
86
|
+
export declare const examplesTool: {
|
|
87
|
+
name: string;
|
|
88
|
+
description: string;
|
|
89
|
+
execute: (args: ExamplesInput) => Promise<{
|
|
90
|
+
content: {
|
|
91
|
+
type: string;
|
|
92
|
+
text: string;
|
|
93
|
+
}[];
|
|
94
|
+
isError: boolean;
|
|
95
|
+
}>;
|
|
96
|
+
};
|
|
55
97
|
|
|
56
98
|
export declare function fromPackageRoot(relative: string): string;
|
|
57
99
|
|
|
@@ -76,7 +118,31 @@ export declare function prepareCodeExamples(): Promise<void>;
|
|
|
76
118
|
*/
|
|
77
119
|
export declare function preparePackageChanges(): Promise<void>;
|
|
78
120
|
|
|
79
|
-
export declare
|
|
121
|
+
export declare function runServer(): Promise<void>;
|
|
122
|
+
|
|
123
|
+
export declare const server: Server<{
|
|
124
|
+
method: string;
|
|
125
|
+
params?: {
|
|
126
|
+
[x: string]: unknown;
|
|
127
|
+
_meta?: {
|
|
128
|
+
[x: string]: unknown;
|
|
129
|
+
progressToken?: string | number | undefined;
|
|
130
|
+
} | undefined;
|
|
131
|
+
} | undefined;
|
|
132
|
+
}, {
|
|
133
|
+
method: string;
|
|
134
|
+
params?: {
|
|
135
|
+
[x: string]: unknown;
|
|
136
|
+
_meta?: {
|
|
137
|
+
[x: string]: unknown;
|
|
138
|
+
} | undefined;
|
|
139
|
+
} | undefined;
|
|
140
|
+
}, {
|
|
141
|
+
[x: string]: unknown;
|
|
142
|
+
_meta?: {
|
|
143
|
+
[x: string]: unknown;
|
|
144
|
+
} | undefined;
|
|
145
|
+
}>;
|
|
80
146
|
|
|
81
147
|
export declare const server_alias_1: ServerType;
|
|
82
148
|
|
|
@@ -75,7 +75,9 @@ function getFileType(filePath) {
|
|
|
75
75
|
return "";
|
|
76
76
|
}
|
|
77
77
|
var DOCS_SOURCE = fromRepoRoot("docs/src/content/docs");
|
|
78
|
+
var REFERENCE_SOURCE = fromRepoRoot("docs/src/content/reference");
|
|
78
79
|
var DOCS_DEST = fromPackageRoot(".docs/raw");
|
|
80
|
+
var REFERENCE_DEST = path4.join(DOCS_DEST, "reference");
|
|
79
81
|
async function copyDir(src, dest) {
|
|
80
82
|
await fs.mkdir(dest, { recursive: true });
|
|
81
83
|
const entries = await fs.readdir(src, { withFileTypes: true });
|
|
@@ -96,6 +98,7 @@ async function copyRaw() {
|
|
|
96
98
|
} catch {
|
|
97
99
|
}
|
|
98
100
|
await copyDir(DOCS_SOURCE, DOCS_DEST);
|
|
101
|
+
await copyDir(REFERENCE_SOURCE, REFERENCE_DEST);
|
|
99
102
|
log("\u2705 Documentation files copied successfully");
|
|
100
103
|
} catch (error) {
|
|
101
104
|
console.error("\u274C Failed to copy documentation files:", error);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { prepare } from '../chunk-
|
|
1
|
+
export { prepare } from '../chunk-QWYMT5LP.js';
|