@mastra/mcp-docs-server 1.2.14-alpha.3 → 1.2.14

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 (34) hide show
  1. package/.docs/docs/agents/processors.md +25 -1
  2. package/.docs/docs/workflows/agents-and-tools.md +29 -0
  3. package/.docs/docs/workflows/stored-workflows.md +146 -0
  4. package/.docs/models/environment-variables.md +1 -1
  5. package/.docs/models/gateways/neon.md +71 -0
  6. package/.docs/models/gateways/vercel.md +1 -1
  7. package/.docs/models/gateways.md +1 -0
  8. package/.docs/models/index.md +1 -1
  9. package/.docs/models/providers/ambient.md +1 -1
  10. package/.docs/models/providers/cortecs.md +112 -66
  11. package/.docs/models/providers/hyper.md +6 -6
  12. package/.docs/models/providers/kilo.md +1 -1
  13. package/.docs/models/providers/llmgateway.md +1 -1
  14. package/.docs/models/providers/minimax.md +23 -25
  15. package/.docs/models/providers/nano-gpt.md +1 -1
  16. package/.docs/models/providers/openai.md +26 -28
  17. package/.docs/models/providers/perplexity-agent.md +24 -24
  18. package/.docs/models/providers.md +0 -1
  19. package/.docs/reference/client-js/workflows.md +92 -0
  20. package/.docs/reference/core/addStoredWorkflow.md +62 -0
  21. package/.docs/reference/core/addStoredWorkflows.md +40 -0
  22. package/.docs/reference/index.md +5 -0
  23. package/.docs/reference/processors/processor-interface.md +121 -10
  24. package/.docs/reference/server/routes.md +13 -0
  25. package/.docs/reference/storage/overview.md +9 -8
  26. package/.docs/reference/streaming/workflows/observeStream.md +1 -1
  27. package/.docs/reference/streaming/workflows/resumeStream.md +1 -1
  28. package/.docs/reference/streaming/workflows/stream.md +1 -1
  29. package/.docs/reference/workflows/stored-workflow-definition.md +292 -0
  30. package/.docs/reference/workflows/workflow-methods/agent.md +62 -0
  31. package/.docs/reference/workflows/workflow-methods/tool.md +43 -0
  32. package/CHANGELOG.md +14 -0
  33. package/package.json +5 -5
  34. package/.docs/models/providers/neon.md +0 -109
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @mastra/mcp-docs-server
2
2
 
3
+ ## 1.2.14
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`8d2399b`](https://github.com/mastra-ai/mastra/commit/8d2399b638f8e0945cf2cda0187dbea8dcf0b784), [`c8002da`](https://github.com/mastra-ai/mastra/commit/c8002da7775c468e2965b6ff5f82045450fa8cb9), [`92be47f`](https://github.com/mastra-ai/mastra/commit/92be47fbd26ffccec0e2131ef7c1d9e70dd5ef4a), [`89200ba`](https://github.com/mastra-ai/mastra/commit/89200bafa05444bb7949b363ce7b743e29867561), [`c950138`](https://github.com/mastra-ai/mastra/commit/c950138e72e4f317a40187e3800588731ab790ce), [`810c7e7`](https://github.com/mastra-ai/mastra/commit/810c7e74929989d8b8b5db52cd3af22cd0998af4), [`063c8b2`](https://github.com/mastra-ai/mastra/commit/063c8b2eb14e4e5ca021779bc33e8c3c031c8604), [`f9f9884`](https://github.com/mastra-ai/mastra/commit/f9f98848ee194dc71a787a709ec430b065cdc41b), [`e0904dc`](https://github.com/mastra-ai/mastra/commit/e0904dc538792e54e1806b70172e5900ac49bff4), [`9672fab`](https://github.com/mastra-ai/mastra/commit/9672fabfbcadb961a35c22a2d6722e077f7b24b9), [`f4e964c`](https://github.com/mastra-ai/mastra/commit/f4e964cad57057301d6bed5c55bcdd730175b941), [`1f7bbd7`](https://github.com/mastra-ai/mastra/commit/1f7bbd7785a8d230aad02454ecabeb4a0b2cc96f), [`e47ff36`](https://github.com/mastra-ai/mastra/commit/e47ff36945720f4ee4caa09f6e83514d7d188608), [`64d6781`](https://github.com/mastra-ai/mastra/commit/64d67814bccddd314f7e09643243821e57cb87b6), [`fb9a6ac`](https://github.com/mastra-ai/mastra/commit/fb9a6ac11c9560518742ece60b49d6b062845fd3), [`aa2cec8`](https://github.com/mastra-ai/mastra/commit/aa2cec8501f634d51c2f3ebfb3dd3aa7af8d2ca2), [`c848e65`](https://github.com/mastra-ai/mastra/commit/c848e655a64ff10331a8ceafafe7f18e70a0f092), [`2adf8eb`](https://github.com/mastra-ai/mastra/commit/2adf8eb4a70ed2b6cff2dd39281496ea0e025fac), [`0494489`](https://github.com/mastra-ai/mastra/commit/049448906e4c3d2d615bbe865b073a0d890ddb7c), [`8d1aeb8`](https://github.com/mastra-ai/mastra/commit/8d1aeb8acf7c20c4bb8e4d8e4bdc6569c83ac561), [`8264611`](https://github.com/mastra-ai/mastra/commit/8264611510e421b818bc7395dc2ae4d9c2d518b2), [`d8fa243`](https://github.com/mastra-ai/mastra/commit/d8fa2430d21113e330c4e676ac65e1235cf44f81), [`44fc98b`](https://github.com/mastra-ai/mastra/commit/44fc98b9d1242aa87a3ab44bdce9e9f12c44d8c9), [`f933ba3`](https://github.com/mastra-ai/mastra/commit/f933ba32700e1d0bf143311c1a08f88300b840b6), [`83065bf`](https://github.com/mastra-ai/mastra/commit/83065bfee9e47c3c6f09132a9034501f6cfb69cf), [`0f2ef41`](https://github.com/mastra-ai/mastra/commit/0f2ef4118da022e4f30dac4e9856cc3a8c97671c), [`01b162f`](https://github.com/mastra-ai/mastra/commit/01b162fe435295881aa7ea55f1759407ad5175ad)]:
8
+ - @mastra/core@1.57.0
9
+
10
+ ## 1.2.14-alpha.4
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`810c7e7`](https://github.com/mastra-ai/mastra/commit/810c7e74929989d8b8b5db52cd3af22cd0998af4), [`f9f9884`](https://github.com/mastra-ai/mastra/commit/f9f98848ee194dc71a787a709ec430b065cdc41b), [`e0904dc`](https://github.com/mastra-ai/mastra/commit/e0904dc538792e54e1806b70172e5900ac49bff4), [`64d6781`](https://github.com/mastra-ai/mastra/commit/64d67814bccddd314f7e09643243821e57cb87b6), [`c848e65`](https://github.com/mastra-ai/mastra/commit/c848e655a64ff10331a8ceafafe7f18e70a0f092), [`0494489`](https://github.com/mastra-ai/mastra/commit/049448906e4c3d2d615bbe865b073a0d890ddb7c), [`8d1aeb8`](https://github.com/mastra-ai/mastra/commit/8d1aeb8acf7c20c4bb8e4d8e4bdc6569c83ac561), [`83065bf`](https://github.com/mastra-ai/mastra/commit/83065bfee9e47c3c6f09132a9034501f6cfb69cf), [`01b162f`](https://github.com/mastra-ai/mastra/commit/01b162fe435295881aa7ea55f1759407ad5175ad)]:
15
+ - @mastra/core@1.57.0-alpha.2
16
+
3
17
  ## 1.2.14-alpha.2
4
18
 
5
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp-docs-server",
3
- "version": "1.2.14-alpha.3",
3
+ "version": "1.2.14",
4
4
  "description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -28,7 +28,7 @@
28
28
  "jsdom": "^26.1.0",
29
29
  "local-pkg": "^1.1.2",
30
30
  "zod": "^4.4.3",
31
- "@mastra/core": "1.57.0-alpha.1",
31
+ "@mastra/core": "1.57.0",
32
32
  "@mastra/mcp": "^1.15.1"
33
33
  },
34
34
  "devDependencies": {
@@ -45,9 +45,9 @@
45
45
  "tsx": "^4.23.1",
46
46
  "typescript": "^6.0.3",
47
47
  "vitest": "4.1.10",
48
- "@internal/types-builder": "0.0.95",
49
- "@internal/lint": "0.0.120",
50
- "@mastra/core": "1.57.0-alpha.1"
48
+ "@internal/lint": "0.0.121",
49
+ "@mastra/core": "1.57.0",
50
+ "@internal/types-builder": "0.0.96"
51
51
  },
52
52
  "homepage": "https://mastra.ai",
53
53
  "repository": {
@@ -1,109 +0,0 @@
1
- > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
-
3
- # ![Neon logo](https://models.dev/logos/neon.svg)Neon
4
-
5
- Access 36 Neon models through Mastra's model router. Authentication is handled automatically using the `NEON_AI_GATEWAY_TOKEN` environment variable. Configure `NEON_AI_GATEWAY_BASE_URL` as well.
6
-
7
- Learn more in the [Neon documentation](https://neon.com/docs).
8
-
9
- ```bash
10
- NEON_AI_GATEWAY_BASE_URL=your-value
11
- NEON_AI_GATEWAY_TOKEN=your-api-token
12
- ```
13
-
14
- ```typescript
15
- import { Agent } from "@mastra/core/agent";
16
-
17
- const agent = new Agent({
18
- id: "my-agent",
19
- name: "My Agent",
20
- instructions: "You are a helpful assistant",
21
- model: "neon/claude-haiku-4-5"
22
- });
23
-
24
- // Generate a response
25
- const response = await agent.generate("Hello!");
26
-
27
- // Stream a response
28
- const stream = await agent.stream("Tell me a story");
29
- for await (const chunk of stream) {
30
- console.log(chunk);
31
- }
32
- ```
33
-
34
- > **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [Neon documentation](https://neon.com/docs) for details.
35
-
36
- ## Models
37
-
38
- | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
39
- | ---------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
40
- | `neon/claude-haiku-4-5` | 200K | | | | | | $1 | $5 |
41
- | `neon/claude-opus-4-1` | 200K | | | | | | $15 | $75 |
42
- | `neon/claude-opus-4-5` | 200K | | | | | | $5 | $25 |
43
- | `neon/claude-opus-4-6` | 1.0M | | | | | | $5 | $25 |
44
- | `neon/claude-opus-4-7` | 1.0M | | | | | | $5 | $25 |
45
- | `neon/claude-opus-4-8` | 1.0M | | | | | | $5 | $25 |
46
- | `neon/claude-sonnet-4` | 200K | | | | | | $3 | $15 |
47
- | `neon/claude-sonnet-4-5` | 200K | | | | | | $3 | $15 |
48
- | `neon/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
49
- | `neon/gemini-2-5-flash` | 1.0M | | | | | | $0.30 | $3 |
50
- | `neon/gemini-2-5-pro` | 1.0M | | | | | | $1 | $10 |
51
- | `neon/gemini-3-1-flash-lite` | 1.0M | | | | | | $0.25 | $2 |
52
- | `neon/gemini-3-1-pro` | 1.0M | | | | | | $2 | $12 |
53
- | `neon/gemini-3-5-flash` | 1.0M | | | | | | $2 | $9 |
54
- | `neon/gemini-3-flash` | 1.0M | | | | | | $0.50 | $3 |
55
- | `neon/gemini-3-pro` | 1.0M | | | | | | $2 | $12 |
56
- | `neon/gemma-3-12b` | 131K | | | | | | $0.15 | $0.50 |
57
- | `neon/gpt-5` | 400K | | | | | | $1 | $10 |
58
- | `neon/gpt-5-1` | 400K | | | | | | $1 | $10 |
59
- | `neon/gpt-5-1-codex-max` | 400K | | | | | | $1 | $10 |
60
- | `neon/gpt-5-1-codex-mini` | 400K | | | | | | $0.25 | $2 |
61
- | `neon/gpt-5-2` | 400K | | | | | | $2 | $14 |
62
- | `neon/gpt-5-2-codex` | 400K | | | | | | $2 | $14 |
63
- | `neon/gpt-5-3-codex` | 400K | | | | | | $2 | $14 |
64
- | `neon/gpt-5-4` | 1.1M | | | | | | $3 | $15 |
65
- | `neon/gpt-5-4-mini` | 400K | | | | | | $0.75 | $5 |
66
- | `neon/gpt-5-4-nano` | 400K | | | | | | $0.20 | $1 |
67
- | `neon/gpt-5-mini` | 400K | | | | | | $0.25 | $2 |
68
- | `neon/gpt-5-nano` | 400K | | | | | | $0.05 | $0.40 |
69
- | `neon/gpt-oss-120b` | 131K | | | | | | $0.07 | $0.28 |
70
- | `neon/gpt-oss-20b` | 131K | | | | | | $0.05 | $0.20 |
71
- | `neon/llama-4-maverick` | 1.0M | | | | | | $0.50 | $2 |
72
- | `neon/meta-llama-3-1-8b-instruct` | 131K | | | | | | $0.15 | $0.45 |
73
- | `neon/meta-llama-3-3-70b-instruct` | 128K | | | | | | $0.50 | $2 |
74
- | `neon/qwen3-next-80b-a3b-instruct` | 131K | | | | | | $0.15 | $1 |
75
- | `neon/qwen35-122b-a10b` | 262K | | | | | | $0.22 | $2 |
76
-
77
- ## Advanced configuration
78
-
79
- ### Custom headers
80
-
81
- ```typescript
82
- const agent = new Agent({
83
- id: "custom-agent",
84
- name: "custom-agent",
85
- model: {
86
- url: "${NEON_AI_GATEWAY_BASE_URL}/v1",
87
- id: "neon/claude-haiku-4-5",
88
- apiKey: process.env.NEON_AI_GATEWAY_TOKEN,
89
- headers: {
90
- "X-Custom-Header": "value"
91
- }
92
- }
93
- });
94
- ```
95
-
96
- ### Dynamic model selection
97
-
98
- ```typescript
99
- const agent = new Agent({
100
- id: "dynamic-agent",
101
- name: "Dynamic Agent",
102
- model: ({ requestContext }) => {
103
- const useAdvanced = requestContext.task === "complex";
104
- return useAdvanced
105
- ? "neon/qwen35-122b-a10b"
106
- : "neon/claude-haiku-4-5";
107
- }
108
- });
109
- ```