@mastra/mcp-docs-server 0.12.0 → 0.13.1-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.
Files changed (64) hide show
  1. package/.docs/organized/changelogs/%40internal%2Fstorage-test-utils.md +26 -0
  2. package/.docs/organized/changelogs/%40mastra%2Fagui.md +14 -0
  3. package/.docs/organized/changelogs/%40mastra%2Fastra.md +21 -21
  4. package/.docs/organized/changelogs/%40mastra%2Fchroma.md +33 -33
  5. package/.docs/organized/changelogs/%40mastra%2Fclickhouse.md +35 -35
  6. package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +48 -48
  7. package/.docs/organized/changelogs/%40mastra%2Fcloud.md +14 -14
  8. package/.docs/organized/changelogs/%40mastra%2Fcloudflare-d1.md +26 -26
  9. package/.docs/organized/changelogs/%40mastra%2Fcloudflare.md +33 -33
  10. package/.docs/organized/changelogs/%40mastra%2Fcore.md +52 -52
  11. package/.docs/organized/changelogs/%40mastra%2Fcouchbase.md +32 -0
  12. package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloudflare.md +70 -70
  13. package/.docs/organized/changelogs/%40mastra%2Fdeployer-netlify.md +64 -64
  14. package/.docs/organized/changelogs/%40mastra%2Fdeployer-vercel.md +54 -54
  15. package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +77 -77
  16. package/.docs/organized/changelogs/%40mastra%2Fdynamodb.md +40 -0
  17. package/.docs/organized/changelogs/%40mastra%2Fevals.md +36 -36
  18. package/.docs/organized/changelogs/%40mastra%2Ffirecrawl.md +43 -43
  19. package/.docs/organized/changelogs/%40mastra%2Fgithub.md +36 -36
  20. package/.docs/organized/changelogs/%40mastra%2Flance.md +35 -0
  21. package/.docs/organized/changelogs/%40mastra%2Flibsql.md +39 -39
  22. package/.docs/organized/changelogs/%40mastra%2Floggers.md +23 -23
  23. package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +59 -59
  24. package/.docs/organized/changelogs/%40mastra%2Fmcp-registry-registry.md +37 -37
  25. package/.docs/organized/changelogs/%40mastra%2Fmcp.md +35 -35
  26. package/.docs/organized/changelogs/%40mastra%2Fmem0.md +37 -37
  27. package/.docs/organized/changelogs/%40mastra%2Fmemory.md +46 -46
  28. package/.docs/organized/changelogs/%40mastra%2Fmongodb.md +37 -37
  29. package/.docs/organized/changelogs/%40mastra%2Fopensearch.md +32 -0
  30. package/.docs/organized/changelogs/%40mastra%2Fpg.md +48 -48
  31. package/.docs/organized/changelogs/%40mastra%2Fpinecone.md +21 -21
  32. package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +91 -91
  33. package/.docs/organized/changelogs/%40mastra%2Fqdrant.md +33 -33
  34. package/.docs/organized/changelogs/%40mastra%2Frag.md +43 -43
  35. package/.docs/organized/changelogs/%40mastra%2Fragie.md +36 -36
  36. package/.docs/organized/changelogs/%40mastra%2Fschema-compat.md +7 -0
  37. package/.docs/organized/changelogs/%40mastra%2Fserver.md +43 -43
  38. package/.docs/organized/changelogs/%40mastra%2Fturbopuffer.md +33 -33
  39. package/.docs/organized/changelogs/%40mastra%2Fupstash.md +27 -27
  40. package/.docs/organized/changelogs/%40mastra%2Fvectorize.md +23 -23
  41. package/.docs/organized/changelogs/%40mastra%2Fvoice-azure.md +34 -34
  42. package/.docs/organized/changelogs/%40mastra%2Fvoice-cloudflare.md +38 -38
  43. package/.docs/organized/changelogs/%40mastra%2Fvoice-deepgram.md +38 -38
  44. package/.docs/organized/changelogs/%40mastra%2Fvoice-elevenlabs.md +38 -38
  45. package/.docs/organized/changelogs/%40mastra%2Fvoice-google.md +38 -38
  46. package/.docs/organized/changelogs/%40mastra%2Fvoice-murf.md +37 -37
  47. package/.docs/organized/changelogs/%40mastra%2Fvoice-openai-realtime.md +14 -14
  48. package/.docs/organized/changelogs/%40mastra%2Fvoice-openai.md +38 -38
  49. package/.docs/organized/changelogs/%40mastra%2Fvoice-playai.md +36 -36
  50. package/.docs/organized/changelogs/%40mastra%2Fvoice-sarvam.md +36 -36
  51. package/.docs/organized/changelogs/%40mastra%2Fvoice-speechify.md +38 -38
  52. package/.docs/organized/changelogs/create-mastra.md +28 -28
  53. package/.docs/organized/changelogs/mastra.md +94 -94
  54. package/.docs/organized/code-examples/agent.md +4 -1
  55. package/.docs/raw/course/02-agent-tools-mcp/02-installing-mcp.md +1 -1
  56. package/.docs/raw/course/02-agent-tools-mcp/03-setting-up-mcp-configuration.md +2 -2
  57. package/.docs/raw/course/02-agent-tools-mcp/09-updating-mcp-config-zapier.md +1 -1
  58. package/.docs/raw/course/02-agent-tools-mcp/26-updating-mcp-config-filesystem.md +1 -1
  59. package/.docs/raw/course/02-agent-tools-mcp/31-enhancing-memory-configuration.md +12 -3
  60. package/.docs/raw/reference/observability/providers/index.mdx +1 -0
  61. package/.docs/raw/reference/observability/providers/langwatch.mdx +1 -1
  62. package/.docs/raw/workflows/overview.mdx +1 -1
  63. package/dist/stdio.js +0 -5
  64. package/package.json +15 -15
@@ -3,7 +3,16 @@
3
3
  Finally, let's enhance our memory configuration to make our agent even more helpful:
4
4
 
5
5
  ```typescript
6
+ import { LibSQLStore, LibSQLVector } from "@mastra/libsql";
7
+
6
8
  const memory = new Memory({
9
+ storage: new LibSQLStore({
10
+ url: "file:../../memory.db",
11
+ }),
12
+ vector: new LibSQLVector({
13
+ connectionUrl: "file:../../memory.db",
14
+ }),
15
+ embedder: openai.embedding("text-embedding-3-small"),
7
16
  options: {
8
17
  // Keep last 20 messages in context
9
18
  lastMessages: 20,
@@ -18,14 +27,14 @@ const memory = new Memory({
18
27
  // Enable working memory to remember user information
19
28
  workingMemory: {
20
29
  enabled: true,
21
- template: `<user>
30
+ template: `
31
+ <user>
22
32
  <first_name></first_name>
23
33
  <username></username>
24
34
  <preferences></preferences>
25
35
  <interests></interests>
26
36
  <conversation_style></conversation_style>
27
37
  </user>`,
28
- use: "tool-call",
29
38
  },
30
39
  },
31
40
  });
@@ -60,7 +69,7 @@ This enhanced memory configuration gives your agent more sophisticated memory ca
60
69
 
61
70
  1. **Conversation History**: The `lastMessages` option keeps the last 20 messages in context, allowing your agent to reference recent conversations.
62
71
 
63
- 2. **Semantic Recall**: The `semanticRecall` option enables your agent to find relevant past conversations using semantic search, even if they happened a long time ago.
72
+ 2. **Semantic Recall**: The `semanticRecall` option enables your agent to find relevant past conversations using semantic search, even if they happened a long time ago. For `semanticRecall` to work, you need to have a vector store and an embedder configured
64
73
 
65
74
  3. **Working Memory**: The `workingMemory` option allows your agent to remember specific information about users, such as their preferences and interests, and use that information to provide more personalized responses.
66
75
 
@@ -12,6 +12,7 @@ Observability providers include:
12
12
  - [Laminar](./providers/laminar.mdx)
13
13
  - [Langfuse](./providers/langfuse.mdx)
14
14
  - [Langsmith](./providers/langsmith.mdx)
15
+ - [LangWatch](./providers/langwatch.mdx)
15
16
  - [New Relic](./providers/new-relic.mdx)
16
17
  - [SigNoz](./providers/signoz.mdx)
17
18
  - [Traceloop](./providers/traceloop.mdx)
@@ -26,7 +26,7 @@ import { LangWatchExporter } from "langwatch";
26
26
  export const mastra = new Mastra({
27
27
  // ... other config
28
28
  telemetry: {
29
- serviceName: "your-service-name",
29
+ serviceName: "ai", // this must be set to "ai" so that the LangWatchExporter thinks it's an AI SDK trace
30
30
  enabled: true,
31
31
  export: {
32
32
  type: "custom",
@@ -224,7 +224,7 @@ for await (const chunk of result.stream) {
224
224
  }
225
225
  ```
226
226
 
227
- > See [stream](/reference/workflows/stream) and [messages](reference/workflows/stream#messages) for more information.
227
+ > See [stream](/reference/workflows/stream) and [messages](/reference/workflows/stream#messages) for more information.
228
228
 
229
229
  ### Watch Workflow
230
230
 
package/dist/stdio.js CHANGED
@@ -238,11 +238,6 @@ https://github.com/mastra-ai/mastra
238
238
 
239
239
  This helps the project grow and reach more developers like you!
240
240
 
241
- ## Introduction Video
242
-
243
- You can watch the 1-minute introduction video here:
244
- https://www.youtube.com/watch?v=1234567890
245
-
246
241
  ## How This Course Works
247
242
 
248
243
  - Each lesson is broken into multiple steps
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp-docs-server",
3
- "version": "0.12.0",
3
+ "version": "0.13.1-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",
@@ -24,31 +24,31 @@
24
24
  "author": "",
25
25
  "license": "Elastic-2.0",
26
26
  "dependencies": {
27
- "@modelcontextprotocol/sdk": "^1.9.0",
27
+ "@modelcontextprotocol/sdk": "^1.12.1",
28
28
  "date-fns": "^4.1.0",
29
29
  "exit-hook": "^4.0.0",
30
- "jsdom": "^26.0.0",
31
- "turndown": "^7.1.2",
30
+ "jsdom": "^26.1.0",
31
+ "turndown": "^7.2.0",
32
32
  "uuid": "^11.1.0",
33
- "zod": "^3.25.56",
33
+ "zod": "^3.25.57",
34
34
  "zod-to-json-schema": "^3.24.5",
35
- "@mastra/mcp": "^0.10.3"
35
+ "@mastra/mcp": "^0.10.4-alpha.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@hono/node-server": "^1.13.8",
38
+ "@hono/node-server": "^1.14.4",
39
39
  "@types/jsdom": "^21.1.7",
40
- "@types/node": "^20.17.57",
40
+ "@types/node": "^20.19.0",
41
41
  "@types/turndown": "^5.0.5",
42
- "@wong2/mcp-cli": "^1.6.0",
42
+ "@wong2/mcp-cli": "^1.10.0",
43
43
  "cross-env": "^7.0.3",
44
44
  "eslint": "^9.28.0",
45
- "hono": "^4.7.4",
45
+ "hono": "^4.7.11",
46
46
  "tsup": "^8.5.0",
47
- "tsx": "^4.19.3",
48
- "typescript": "^5.3.3",
49
- "vitest": "^3.2.2",
50
- "@internal/lint": "0.0.11",
51
- "@mastra/core": "0.10.4"
47
+ "tsx": "^4.19.4",
48
+ "typescript": "^5.8.3",
49
+ "vitest": "^3.2.3",
50
+ "@mastra/core": "0.10.6-alpha.0",
51
+ "@internal/lint": "0.0.12"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "@mastra/core": "^0.10.0-alpha.0"